BookStack icon indicating copy to clipboard operation
BookStack copied to clipboard

Support more sublevel in chapters

Open ducheneo opened this issue 10 years ago • 65 comments

It should be interesting if we could use at least one more level of sub-chapter in a book. Collapsible sections are also interesting.

ducheneo avatar Apr 06 '16 12:04 ducheneo

Just to provide an update, I'm coming to the final steps of the build of this in #947, Just have to implement some testing. I'm hoping I can get this done and then wrap up the next release by the end of this weekend.

Please note the initial release with bookshelves will be focused on the core functionality as in my proposal above, Most of the design and UI is simply copied from the 'Book' UI.

I plan on doing a UI update soon after which should provide bookshelves a slightly more unique & focused design & user-experience. This will also aim to improve the efficiency of the UI in many areas so may align it closer to what you are thinking about @guyinpv.

I'll have a think about having pages within a BookShelf. If this is something you want please create a new issue for it for more focused discussion.

ssddanbrown avatar Sep 20 '18 19:09 ssddanbrown

#947 has now been merged into master so I will now close this pull request. As my message above, Expect a new release soon with Bookshelves included.

ssddanbrown avatar Sep 21 '18 14:09 ssddanbrown

It looks like Shelves were implemented since this thread was closed, and that puts BookStack on par with OneNote as far as levels of categorization/organization go (not that we need to compare this to OneNote, necessarily).

But after using this app for a few days and starting to port over years of content from OneNote, I am thinking that just one more level of depth (sub chapters) would make a huge positive impact on being able to organize everything just so.

I don't think it needs to become a slippery slope towards supporting/coding infinite levels of content. But based on all the comments and support for just one more level above, I think it would be a really good feature to have.

willc avatar Dec 02 '18 04:12 willc

When I go to my library, there are so many books with nested chapters (not only subchapters), and many of them are great books. I was looking for writing software, which does not dictate organizational logic.

phylogram avatar Apr 13 '20 14:04 phylogram

I was looking for writing software, which does not dictate organizational logic.

@phylogram Then, to be bluntly honestly, BookStack is probably not the platform you're looking for. An opinionated structure is at the core of the platform.

ssddanbrown avatar Apr 13 '20 16:04 ssddanbrown

Just to throw my hat in on the issue. I think Subchapters would provide added benefit to Bookstack for the reason of Permissions management.

I am currently documenting our systems using Bookstack. Each department is given a Shelf, with each App or Topic existing as a Book. If multiple departments use an app we can share it in multiple shelfs. Using JumpCloud as an example (We use it for account management), we have the book set to be viewable by everyone. It includes information on resetting passwords and how to access the user portal.

I then have a chapter explaining LDAP, and how to enable a user in the LDAP directory. This chapter can be viewed by Managers. In the same chapter it would be good to then go one more level for system configuration. This information should only be viewable by Admins. The additional level would give us the flexibility of documenting very large interconnected systems with complex permission structures easily and from everything I have documented so far, one additional level would solve a lot of the issues.

Another example is License Servers for an app. I could break it out into another book, but ideally I would be able to document the License Server for app A, in the app A book. The additional level would give more control of that very large topic.

I've seen some talk of Sections in these discussions and think that could work well as a way to maintain the link to books and this additional level. Some very long or varied books include sections of chapters. This could provide the same function as a sub-chapter, but instead placed above a chapter giving you:

  • Shelf
    • Book
      • Section
        • Chapter
          • Page

I have opened another issue (#3167) As a potential work around for not having another layer but still getting the same permission control of content, although that would also be a nice feature on its own.

JoeIzzard avatar Jan 14 '22 13:01 JoeIzzard

I'd also like one additional level, as outlined above by JoeIzzard. This structure can actually be found in many paper books.

tvogt avatar May 04 '22 07:05 tvogt

has anyone suggested "non-collapsable chapter separators which can be nested?" simply being a grouping mechanism for chapters that is seen on the Book level without needing a whole page dedicated to displaying chapters within this sublevel. I mean the Book>Chapter>Page makes sense for novels but for manuals it would help to be able to group chapters by subject.

Right now I'm running into an issue where I have a "Lore Encyclopedia" Book for and I want a chapter for "Items" and within it would be categories of items like "Weapons & Tools", "Miscellaneous", and "Equipment", though ideally these would also be chapters unless I want a single bloated page containing every "Weapon And Tool" across my entire project, which I don't.


As the outermost level of categorization I'd rather dedicate shelves to specific projects I'm working on:

  • Project i'm working on (Shelf):
    • Documentation specific to each profession in the project (Art, Writing, Programming, Marketing) (Books)
      • Broad categorization (Coding Languages) (chapter seperators.)
        • Specific categorization (PHP, C++, HTML, etc...) (Chapters)
          • information in regards to that specific categorization that is in a digestible step by step format across several pages (Pages)

It would be annoying to have books for specific parts of the encyclopedia.

The only way around this that I can see is to add a prefix to define the chapter category like "Items- Weapons & Tools" and "Items- Miscellaneous". Though it would probably be better to split up my encyclopedia into different books since I wouldn't need to add this ugly prefix as much for my 3 broad categories.

KnightNine avatar Mar 28 '23 03:03 KnightNine

Yes, i'm sure that having one more level will play a very good role in wiki organization

baevga avatar Apr 16 '23 16:04 baevga

i'd also like if bookstack have one additional level like sub-chapters / section / other.

i'm using bookstack for my project in applications government wiki, it's used by two user there is public (like user of my apps for access on apps user guides) and private user (techincal user like technical witers, PM and others for acces on technical documents).

it will be great if have one level like sub chapters / section / other, because in my old user guides and tech docs (it's using PDFs) its have leves like book -> chapter -> sub chapter -> pages, and current bookstack book -> chapter -> pages, i would be greatly appreciate if the current bookstack hace more at least one sub-chapters

Or if it's cannot be done because all reasons above, can you suggest bookstack hack if i will add some chaptes, please?

thank you

eskapdk avatar Jun 15 '23 03:06 eskapdk

7 years after this topic was opened (and almost 3 years after I switched to Linux), I stumbled upon BookStack in my until now endless search for a FOSS alternative to OneNote. It is wonderful, it ticks almost all my checkboxes, however, the possibility of adding more nesting levels is something that I also consider extremely useful. My current workaround is to add a chapter without pages as a "section title" to be able to more easily follow the structure, but the multiple nesting function would make it a lot easier to sort your articles.

Thank you!

komoricodrutz avatar Jun 20 '23 09:06 komoricodrutz

It would be so helpful to have an additional layer of organization. I am migrating an entire Confluence Space to BookStack and am having extreme difficulties. I cannot create links in the chapter descriptions (as you can link to headings, other pages, etc on pages themselves) and simply being able to create a chapter index would be helpful. Honestly, it should automatically do this as you add pages to a chapter. A section or a sub-chapter would be really helpful as well. Also...a link list that can be sorted containing all books on a shelf, or chapters in a book, or pages within a chapter that occurs automatically and can be sorted OR at least the ability to put links in the description section of these. As well as having just one more level of organization...

MKHIII avatar Sep 25 '23 18:09 MKHIII

+1 for one more level.

The Shelf > Book > Section > Chapter > Page would be a perfect fit for many users.

jinjaghost avatar Oct 18 '23 23:10 jinjaghost

Hello :)

Given that we are in the context of a 'book', why not simply add:

Library => Shelf => Book => Chapter => Pages

This sequence outlines the hierarchical organization of books within a library, starting from the broadest category (the library itself) and narrowing down to the individual pages within a book.

yblis avatar Nov 07 '23 10:11 yblis

As this Topic has been discussed a lot already - why not give an option to Enable another Layer (Like Sections/Subchapters) etc. This has to be done and isn't enabled by default, therefore it wouldn't contradict the general mindset of keeping it simple except for when the User has the special need to make it more complicated.

I really don't get why even after Shelves have been introduced, this optional setting for more Layers isn't available yet. Obviously people will continue to ask for it.

canklamassono avatar Dec 20 '23 14:12 canklamassono

I wouldn't want to add an option that changes the core structure and focus of BookStack, especially just for only when users have a "special need" for it. I generally avoid making things options in that manner due to the eventual complexity they introduce.

Generally my view on extra layers remains much unchanged from my original comment in this thread. I specifically built to a fixed level system for the usability/UX/design goals of BookStack, and each layer impacts those goals while adding complexity. Therefore I don't really have any intent to expand on this within the official project. That's not to say there's not a desire or need in some use-cases, it's just that I don't want to alter/maintain BookStack with this specific change to meet those desires/use-cases and, as demonstrated above, adding another layer will likely still result in a request here for just one extra level.

ssddanbrown avatar Dec 20 '23 15:12 ssddanbrown

Thank you for the quick reply and reasonable answer. Even though you're not going to add this to the core, is there a possibility for you to disclose how this could be achieved (if there actually is a straightforward way) if someone wanted to implement this by themselves?

canklamassono avatar Dec 21 '23 07:12 canklamassono

@ssddanbrown I don't understand how it could be seen as a "special need", it is quite natural that you'd want an extra layer of categorization to pages mirroring how many categories and sub-categories of information (how much depth) the subject you're trying to document has.

the solution you provided for this extended categorization functionality doesn't seem to be relevant to organizing the branches of a subject which I believe this is on the topic of. Tags are more for labeling the relationships between pages/chapters/shelves.

I still suggest infinite categorization at the Chapter level but in a simplified way that is title only and non-collapsible, so that there isn't any folder bloat and it's all visible at once. People will always be asking for another layer of categorization, so the only solution I see is to give them infinite categorization in a way that isn't overly complex. On the back end it can simply function the same way as tags but only relevant to the layer the page exists on, where you add the category as a label of the page without actually nesting the data and then displaying it as if it were nested.

KnightNine avatar Dec 22 '23 21:12 KnightNine

I'm trying to move team's knowledge share docs from other system (showdoc) to BookStack, but the old system has much deeper structures so it's very hard to do the migration, it will be much more helpful if BookStack can support recursive nested chapters

Lbsl avatar Jan 10 '24 02:01 Lbsl

+1

UAnton avatar Jan 18 '24 16:01 UAnton