Index terms identify text which should be used for the generation of an index. By default, index terms are created from page labels. However, the Scroll Exporters also come with the {Index-term}-macro, which allows you to more granular specify the location of the index term within a page and to define primary, secondary and tertiary index terms.
In the following sections we describe how to mark index terms in your documentation using the {Index-term}-macro.
Step 1 - Setup the index in the export template
Following the steps will allow you to add a basic, un-styled index page.
Create a *.vm file named keyword-index.vm and add the following code:
add the keyword-index.vm to the scroll-html directory (/K15t-scroll-webhelp-theme-a61717c96039/src/main/resources/com/k15t/scroll/scroll-webhelp-theme/scroll-html)
within the atlassian-plugin.xml file add the following code (after line 128):
Following the steps below will allow you to define index terms that will be displayed in the index file within the export.
Click in front of the term you want to index.
Enter {scroll indexterm and press Enter. The screen Insert 'Scroll Indexterm' Macro is displayed.
Enter the primary index term in the field Primary. You must at least define the primary parameter.
Optional, you can add a secondary and tertiary index term in the field Secondary, respectively Tertiary.
Optional, enter a title of the keyword to be displayed in the index in the field Title. If your export content as context-sensitive help, this title will be displayed in a list, when multiple link targets for a keyword are available.
Optional, define the significance of the index term.
Click Insert.
You have now successfully indexed the wanted terms. In your exports the macro will insert the defined terms in your index.
Cookie Notice
We use cookies to create a secure and effective browsing experience for our website visitors and to understand how you use our site (i.e. Google Analytics). For more information: Click Here