onIndex
attribute allowing to define if the menu items will be added to the index article only or to all the articles.menuItem
children as there are additional menu items in the menu:itemInternalRef
child for items refering to articles or other interwiki links,itemExternalRef
child for items refering to external web pages,itemGlossaryRef
child for items refering to the glossary[1]
linksFromRef
child for the item refering to the "What links here" content for each article<leftMenu onIndex="true"> <menuItem desc="Website" > <itemExternalRef url="http://sourceforge.net/projects/docjgenerator/" /> </menuItem> <menuItem desc="What links here" > <linksFromRef /> </menuItem> <menuItem desc="License" > <itemInternalRef id="License" /> </menuItem> </leftMenu>
hasDefaultContent
attribute on the left menu allows to completly change the content of the left menu, if its value is false
. In that case the elements will be those defined in the xml file:defaultMenuItem
element will add a default itemmenuItem
element will add a custom itemdefaultMenuItem
element specifies a default menu item. This element has the following attributes:type
attribute specifies the type of the item, which can be:desc
attribute for the item text<leftMenu hasDefaultContent="false"> <defaultMenuItem type="home" > <menuItem desc="License" > <itemInternalRef id="License" /> </menuItem> </leftMenu>We will have the following menu on the index article:
docJGenerator Copyright (c) 2016-2023 Herve Girod. All rights reserved.