Skip to content

How to configure single pages shown before folders with "generateSite" #1095

Answered by rdmueller
FreyAtGit asked this question in Q&A
Discussion options

You must be logged in to vote

first, the news section uses a special template - it uses hte blog feature of jBake. As a result, it is not a good example for normal documentation.

but here is the solution to your question:

Create a folder structure like this one...

it is currently important that you use the _ and not - to separate the number from the file name. The number will determine the order of the elments. For an .adoc file, you can also use the :jbake-order: attribute to override this, but not for a folder.

This structure will then be rendered like to following screen:

See also https://doctoolchain.org/docToolchain/v2.0.x/015_tasks/03_task_generateSite.html#_menu

Does this help?

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@FreyAtGit
Comment options

@rdmueller
Comment options

Answer selected by FreyAtGit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants