Improve outline configuration #2

Closed
opened 2020-02-05 11:16:39 +00:00 by liska · 0 comments
Owner

I think the reading of the project outline can be improved by assuming that a first book with the name main is the main book. There will never be the need for a custom name, especially since this particular name will not be used as a path segment.

We use oyaml so we have ordered dictionaries, so I suggest the following syntax for the outline.yml file:

main:
  title: "The great book"
intro:
  title: "Introduction"
api:
  title: "API documentation"

This will result in a site with main book and two subbooks with the path segments intro and api

I think the reading of the project outline can be improved by assuming that a *first* book with the name `main` *is* the main book. There will never be the need for a custom name, especially since this particular name will *not* be used as a path segment. We use `oyaml` so we have ordered dictionaries, so I suggest the following syntax for the `outline.yml` file: ```yaml main: title: "The great book" intro: title: "Introduction" api: title: "API documentation" ``` This will result in a site *with* main book and two subbooks with the path segments `intro` and `api`
liska self-assigned this 2020-02-05 11:16:45 +00:00
liska closed this issue 2020-02-05 13:16:14 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: GLAREAN-Doku/glarean-books#2
No description provided.