Skip to content

Commit

Permalink
Improve clarity for master_doc and root_doc
Browse files Browse the repository at this point in the history
  • Loading branch information
AA-Turner committed Oct 11, 2024
1 parent 36ec140 commit c46abc4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 15 deletions.
17 changes: 5 additions & 12 deletions doc/development/html_themes/templating.rst
Original file line number Diff line number Diff line change
Expand Up @@ -308,20 +308,13 @@ in the future.
.. versionadded:: 4.0

.. data:: master_doc
root_doc

Same as :data:`root_doc`.
The value of :confval:`master_doc` or :confval:`root_doc` (aliases),
for usage with :func:`pathto`.

.. versionchanged:: 4.0

Renamed to ``root_doc``.

.. data:: root_doc

The value of :confval:`root_doc`, for usage with :func:`pathto`.

.. versionchanged:: 4.0

Renamed from ``master_doc``.
.. versionadded:: 4.0
The :data:`!root_doc` template variable.

.. data:: pagename

Expand Down
4 changes: 1 addition & 3 deletions doc/glossary.rst
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,8 @@ Glossary
For more information, refer to :doc:`/usage/extensions/index`.

master document
The document that contains the root :rst:dir:`toctree` directive.

root document
Same as :term:`master document`.
The document that contains the root :rst:dir:`toctree` directive.

object
The basic building block of Sphinx documentation. Every "object
Expand Down

0 comments on commit c46abc4

Please sign in to comment.