BookStackApp / BookStack

A platform to create documentation/wiki content built with PHP & Laravel
https://www.bookstackapp.com/
MIT License
15.15k stars 1.89k forks source link

Table of Contents as Home Page #616

Open jdrews opened 6 years ago

jdrews commented 6 years ago

For Feature Requests

Desired Feature: Looking for a table of contents that we can set as the home page. The use case is to allow for a jump point for new visitors. They may not know what they're looking for so a search doesn't always work.

Shackelford-Arden commented 6 years ago

@jdrews

Are you looking for a table of contents to be auto-generated or are you simply looking for a way to set a custom home page that you've put together yourself?

You can already set any page as the home page for your bookstack instance by doing the following:

Would that help with what you're trying to do or are you looking for something else?

jdrews commented 6 years ago

I am looking for a table of contents to be generated. This is similar to the /books display, however I am looking for the contents of the books to be displayed as well (both chapters and pages).

After we can generate a table of contents, I'd like to place that as the home page.

jdrews commented 6 years ago

Thinking further, I could see a use case where there are so many pages that it could get unwieldy to display them on a table of contents. But for a smaller deployment it would be useful to see books, chapters, and pages on a table of contents.

Could the inclusion of pages be a configuration item?

AbijeetP commented 6 years ago

I'm assuming you are looking for something similar to this but across books,

screenshot-2017-12-14 sort book the book of books bookstack 1

jdrews commented 6 years ago

Yes Please!

aljawaid commented 6 years ago

Having a Table of Contents (just like creating and auto cross-referencing the same from Microsoft Word) would make the BookStack book very printer/pdf friendly too. If there was an ability to show or hide the page numbers, then the final generated offline paper version of the book would be a lot more professional.

Just sharing my opinion.

My use case: for certain business terms and policies in particular books, there is no user access, just a printed paper version. At the moment, there is no company logo, header/footer, or table of contents/index. Having that stuff would make the online/offline same copies of the books awesome-r! :)

Wookbert commented 5 years ago

@ssddanbrown @jdrews @littlebrighter

I am voting also for a full-fledged Table of Contents (ToC)/Index on the Homepage, and already spent some serious thoughts on this. Here’s a quick 'n dirty mockup:

BookStack Inhaltsverzeichnis

Wookbert commented 5 years ago

The following screenshot shows a BookStack Table of Contents Hack my partner has coded. It's live, generated on-the-fly from the actual books and fully working – but of course is a separate HTML page not implemented into BookStack. Our current implementation work-around: We've created a book in BookStack named „Table of contents“, which we are redirecting using the Apache server to our HTML page.

Bildschirmfoto 2019-10-10 um 16 32 12

nathlx commented 1 year ago

The following screenshot shows a BookStack Table of Contents Hack my partner has coded. It's live, generated on-the-fly from the actual books and fully working – but of course is a separate HTML page not implemented into BookStack. Our current implementation work-around: We've created a book in BookStack named „Table of contents“, which we are redirecting using the Apache server to our HTML page.

Bildschirmfoto 2019-10-10 um 16 32 12

This looks great, did you publish this anywhere? or is it tied tightly to your implementation?

jefry7 commented 1 year ago

Any progress on this feature? is there any way to get it?

ccarlo88 commented 11 months ago

You are probably looking for something like this: #2477