Name

$index-on-role, $index-on-type — Make distinct indexes based on role and type?

Parameter:
{}index-on-type
{}index-on-role
Defined in:
param.xsl (2)
Used in:
parameter-maps.xsl, modules/index.xsl
Used by:
t:generate-index

Synopsis

$index-on-role := 'true'
$index-on-type := 'true'

Description

DocBook supports the creation of different types of index. A book that documents an API might have a general index, for example, and also an index of functions, an index of variables, etc.

Typed indexes are created by specifying the index type in the type or role attribute. If $index-on-type is true, then separate indexes will be generated based on type values. If $index-on-role is true, then separate indexes will be generated based on role values.