documentation:config_submenu:start

This is an old revision of the document!


Configuring the submenu

The submenu is the gray container underneath the topbar. It can contain the title and subtitle of the page as well as some additional links.

To create a submenu for a namespace, one has to create a page called submenu in the namespace.

An unorderd list (with links as items) will be converted into a navigation bar at the bottom of the submenu. The subitems of a nested list such as

  * [[item 1]] 
  * [[item 2]] 
      * [[subitem 1]] 
      * [[subitem 2]] 

will be shown when hoverd over the parent item.

For example, the submenu of this page was created by first adding a new page with [[submenu]] and then filling it with content:

====== Submenu ======
===== Subtitle of Submenu =====
  * [[just]]
  * [[some]]
  * [[items]]
      * [[some]]
      * [[with]]
      * [[subitems]]

   root namespace (always present)
     │
     └── 'a' namespace
          │
          └── 'b' namespace
               │
               └── 'c' pagename

- -each namespace can have it's own submenu -structured loading: scheme like with files which explains which submenu is used in which namespace