Skip to content

Enhance YAML Documentation with Examples #1

Description

@fladmorty1987

Proposal

The current README provides an overview of the YAML format used for defining chapters and sections, but it could greatly benefit from more detailed examples, especially for new users who may not be familiar with YAML syntax.

Suggested Changes

  1. Detailed Examples: Include a full example of a chapter written in YAML format. This should cover various elements such as narrative text, location markers, and dialogs.

    Here's a suggested addition:

    title: My First Visual Novel
    sections:
      - 'This is the opening narration.'
      - '€A Beautiful Park – Afternoon€'
      - '#Character: What a lovely day!#'
      - '€A Quick Thought – Moment of Reflection€'
      - '#Character: I wonder what lies ahead...#'
  2. Explanatory Notes: Consider adding brief explanations or comments alongside each section in the examples to clarify how they are rendered in the visual novel.

  3. Common Mistakes: A section highlighting common mistakes in YAML format could help users troubleshoot issues quickly.

Benefits

Adding these enhancements will make the project more accessible to newcomers, improve user experience, and encourage more contributions. It will also help avoid potential bugs due to misformatted YAML files.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions