-
Notifications
You must be signed in to change notification settings - Fork 0
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
Need a different hierarchy available #72
Comments
Thinking we might just label the chapters. Everything is a 'page' but we also have 'chapters' and those are what the TOC looks for. This might mean changing the URI to use Would it be ok to have everything as |
This would mean:
|
That sounds like it would work well, and solve the ToC problem at the same time. |
@pjudge also had some good suggestions when we were discussing this in Slack
|
Whatever is simplest. I think the URLs and navigation would be nice-to-haves eventually, but not required. |
Nice! Yes, I think the sidebar ToC should match the main ToC. I don't think we need page numbers in ToC, just the chapter numbers. Since they're all clickable, page numbers aren't that useful in this context. I'll get the chapter breakdowns for the others soon. |
@jazzdrive3 note that I'm still looking for the chapter breakdowns for
These currently don't have a TOC in the associated pull request #75 |
Right now, every single page is a "chapter" with a chapter title like "Chapter 4." But that's not how the content of most of these ebooks is organized.
For example on the "5 Signs You’ve Over-structured Your Content" ebook.
https://ebooks.lullabot.com/ebooks/over-structured-content/chapters/chapter-8/ This is something a full container of the following items. The H2 for the H3s.
The following pages fall under that container, and aren't really complete thoughts in and of themselves.
https://ebooks.lullabot.com/ebooks/over-structured-content/chapters/chapter-9/
https://ebooks.lullabot.com/ebooks/over-structured-content/chapters/chapter-10/
https://ebooks.lullabot.com/ebooks/over-structured-content/chapters/chapter-11/
https://ebooks.lullabot.com/ebooks/over-structured-content/chapters/chapter-12/
https://ebooks.lullabot.com/ebooks/over-structured-content/chapters/chapter-13/
So while those are pages, they shouldn't necessarily be full "chapters". Everything being flat sort of muddles things all together and you lose the natural hierarchy established by the headings in the original document.
This ebook, hierarchically, should only have 4 chapters.
Possible solution. A new layout instead of the chapter, where there is a new property in the metadata to set the parent so that it would appear above the heading for its children. I'm not sure what that would mean for the Table of Contents.
It would also be helpful to be able to hide the chapter heading altogether to avoid redundancies. For example, on the latest, we have numbers before the items, and it will be awkward to have
Chapter 3
Four: The project has an unrealistic timeline
The text was updated successfully, but these errors were encountered: