sphinx.ext.autosectionlabel – Allow reference sections using its title — Sphinx 1.4 documentation

- Home
- Get it
- Docs
- Extend/Develop

# `sphinx.ext.autosectionlabel` – Allow reference sections using its title

New in version 1.4.

This extension allows you to refer sections its title. This affects to the reference role (`ref`).

For example:

    A Plain Title
    -------------

    This is the text of the section.

    It refers to the section title, see :ref:`A Plain Title`.

Internally, this extension generates the labels for each section. If same section names are used in whole of document, any one is used for a target.