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

Thanks Dan for creating bookstack,

It's a great tool and I'm impressed by how well it runs and been thought out.

Background

I've been trialing Bookstack for use as the wiki for my company, specifically in scope for the engineering department. The main shortfall I'm seeing is the hierarchy depth feels like a bad fit for my use case.

  1. Company level data department/project/function organisation takes up 3 layers of hierarchy by itself.
  2. Larger engineering designs lends themself to creating hierarchy that matches the system breakdown, which can go 3 deep before getting to the main content pages.
  3. Then another 2 layers of hierarchy to organize the various documents.

The regular hierarchy is: Department->Projects->Discipline Teams->Major System Components->Sub-components->Sub-Sub-Components->Document Category->Documents

Attempt at mapping Hierarchy to Bookstack

In an attempt to organize the data, I've been adding the additional hierarchy levels into the name of books, chapters and pages. It's been okay at the book level, as the first 3 layers of hierarchy are organisational and not useful for everyday work. However, it's a rather messy outcome at the chapter and page level. It's difficult to find the information you want within the large number of chapters and pages and their long names.

This is our current layout, when trying to map it to Bookstack: Shelves -> Department: (IT department, Engineering Department, Company Policies, etc) Books -> Projects: (Various paid customer projects) Books (Artificial naming) -> Discipline Teams: (Artificial naming of books to avoid chapters for this) (Software, Hardware, Firmware, etc) Chapters -> Major components: (Interfaces, Digitial Signal Processing, Peripheral Chips, Formal Verification Testing) Chapters (Artificial naming) -> Sub-components: (Ethernet Interface, Chip Configurations, User Interface) Pages -> Sub-component (Overview, Design Descriptions, Sub-component interfaces, Sub-Sub-Components) Pages (Artificial naming) -> Sub-Sub-Components (Overview, Design Descriptions, Sub-Sub-component interfaces) Pages (Artificial naming) -> Document Category (legacy pages, test data, design exploration, test setup) Pages (Artificial naming) -> Documents (Individual instances of the categories)

Discussion

My observations while trying to flatten the hierarchy. The organizational/company hierarchy isn't useful day to day. However, it needs to be there to avoid different teams and departments from tripping over each other. I think it could be replaced by a simple top level jump page, to different groupings of shelves or to specific books.

However, the organizational/company separation also needs to be kept separate otherwise the listing of shelves and books would end up very cluttered.

The 3 levels of hierarchy for system components I think is critical for documentation of my engineering work. The problem is the short page names often are misleading about what the contents contain. Often times there's a page named "Decoder .... ....", which is a correct description of what it is, but there's actually 3 different parts of the system that also match that description. The most important bit of information is what is the major component or function the decoder is part of, which is part of the heirarchy. Similarly staff will often make a page called "verification test results" or something with similar naming, which can be around 20 A4 pages of content. The length of the content requires it's separated into its own page, and the naming of the page requires some hierarchical information about what it relates to.

This common problem of similar names being used for different parts of the system also degrades search capability, making hierarchy more important. Tagging pages sounds like an alternative solution, but our systems are large and complex enough that it's difficult to know what tag to look for. Stepping down through the hierarchy from the high system level down to the detail of components is more intuitive. Furthermore, the hierarchy sometimes needs to change names, to help differentiate between components that were originally similarly named. Hierarchy changes makes that quick, updating all the tags on every page would be very slow.

Reading your prior thoughts on hierarchy, I feel the different perspectives are related to use-case:

  1. Larger organisations require large parts of the hierarchy dedicated to purely staff organisational separation.
  2. Larger project scope creates more content, and more content drives the need for more hierarchy. The last project I worked on in Confluence, it ran for only 1.5 years (a short time frame and smaller project), and my team produced +200 confluence pages, which if printed out in non-verbose proper print formatting would be around +1000 A4 pages.
  3. Finally, I think wikis when they reach a certain data density need curating. Someone needs to act as the Librarian. As the lead of my team, part of my role was acting as the Librarian to organise the pages, so that it is easy to find information. It didn't take that long, 10hrs total for the whole 1.5 years, but made a big difference in how easy it was to use our knowledge base.

Seeking and Advice

Do you have any advice on how to better organise our pages on bookstack? Trying to add artificial extra levels of hierarchy as part of the naming convention has been very awkward.

Suggestion

Two potential suggestions.

I think if the staff organisational separation could be done as a separate hierarchy system. That would leave the engineering teams to start at the shelves level. Using Bookstack's 3 levels purely for the system design, would be doable. The engineering team requirement is around 4 levels, so only minor inconvenience would be experienced bringing that down to 3 levels.

The other suggestion is to allow for around 4 depth hierarchy between pages. I agree there are many situations, where having the deep hierarchy is just letting people shoot themselves in the foot. This is especially the case where the wiki is being used at the small scale. However, it is limiting the scale that Bookstack can be used in, for the reasons I explained above.

Best Regards,

John Shield

JohnShield avatar Mar 06 '24 01:03 JohnShield

Hi Dan,

Another suggestion. In theory, you could get some artificial "Visual Hierarchy" simply with how you display the pages and chapters, by adding a simple option to indent the chapter/page colored bar. See the image below.

Visually it can provide the understanding of a level or two of extra hierarchy to the reader.

This has the drawback that if you move the parent page it doesn't move the subpages, so the content producers need to be conscious of page relationships when they move pages. It also can become confusing when there are 2 or more levels of visual hierarchy with 7 or more pages involved, as you can't minimize the visual hierarchy to reduce the page clutter.

image

Best Regards,

John

JohnShield avatar Mar 06 '24 05:03 JohnShield

This is definitely something I would love to see and is really the only thing holding me back from migrating to bookstack, otherwise the app looks and feels great and I would love to adopt it.

Regardless of what the levels are called the classic hierarchical approach to storing knowledge works extremely well, confluence is popular for a reason, some people get a little page-nest-happy but I've also seen a lot of spaces with 10+ layers that are all appropriate.

In one of my current use-cases I'm looking at documenting a large set of SOPs for which the current nesting limits simply won't work, really in every usecase I have in mind I'd likely need to go have more layers than bookstack supports.

WirtsLegs avatar Mar 13 '25 17:03 WirtsLegs

Come on! You should enable multiple levels this is really a must, then unwilling people don't have to use it. This is not a developers or system designers issue, it's content editors issue.

hakancunier avatar Apr 10 '25 19:04 hakancunier

At least one or more level would really be necessary. The presentation of the navigation is a design problem that can be solved.

Without wanting to diminish the valuable / great work of the developer of this tool, the current basic layout of the navigation still has potential for improvement (e.g. why does the number of subpages have to be displayed as a separate menu item)?

zib-ctrl avatar May 21 '25 13:05 zib-ctrl