Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
xml
xml
<menu name="Commons Common">
  <item ... />
</menu>

<menu name="Commons Specifics" inherit="bottom">
  <item ... />
</menu>

Using Submenus

We have the collapse="true" element that can be added to a (sub)menu to indicate whether it is only expanded when inside that part of the navigation. We would need to add collapse="inherit" to use the parent behaviour.

Symmetric generation

When generating within the top level, content will be generated into the target/site location of the subproject, then copied into the right place within the target/site of the top level project, using the difference between the top level URL and the subproject's URL as the relative path to use (which will default to artifactId).

...