Skip to content

Sections

Overview

The key feature of ezglossary is that you can define multiple glossary sections. Like described in the definition documentation, every term is assigned to a section.

This allows printing individual summaries for each section.

Predefining sections

By default, you don't need to predefine the sections you use in your documentation. However, in order to avoid spelling errors, you can enable the strict mode

If strict mode is activated, you also need to configure sections.

Configuration

strict

If set to true, ezglossary prints warnings if you - define a - or - refer to - a term for a undefined section:

plugins:
    - search
    - ezglossary:
        strict: true
sections

Defines a list of sections that are recognized by ezglossary.

If strict mode is enabled, only definitions and references for a defined sections are processed by ezglossary:

plugins:
    - search
    - ezglossary:
        strict: true
        sections:
            - terms
            - configuration
            - demo