Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Navigation/Book #6

Open
chaoxu opened this issue Dec 6, 2022 · 0 comments
Open

Navigation/Book #6

chaoxu opened this issue Dec 6, 2022 · 0 comments

Comments

@chaoxu
Copy link
Owner

chaoxu commented Dec 6, 2022

We want the system to be flexible enough so it can be either used to write a book, or a website.

We want to support some arbitrary navigation system. here are 4 types I was thinking about

  1. All posts are completely independent: tag based navigation/reverse chronology blog post like navigation.
  2. Some posts are related some are not, some categorization might be useful: The user can specify the navigation tree related to each post.
  3. The posts are VERY related: then make this into a book.

This is completely inherent from the folder: in each folder there is a navigation.yaml which would specify which form it is. If non-exists, it defaults to reverse chronology based.

A book is a linearly ordered list of chapters. Occasionally, maybe allowing parts.
Here, we want each "post" to be the same as a chapter.
One issue might be a single chapter is too long for a post, it could also be just a section.
This should be something user can decide.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant