Skip to content

Commit

Permalink
Close sphinx-doc#7996: manpage: Make a section directory on build man…
Browse files Browse the repository at this point in the history
…page by default
  • Loading branch information
tk0miya committed Oct 4, 2020
1 parent 598b85d commit 0ff5fa5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGES
Expand Up @@ -16,6 +16,8 @@ Incompatible changes
MathJax configuration may have to set the old MathJax path or update their
configuration for version 3. See :mod:`sphinx.ext.mathjax`.
* #7784: i18n: The msgid for alt text of image is changed
* #7996: manpage: Make a section directory on build manpage by default (see
:confval:`man_make_section_directory`)

Deprecated
----------
Expand Down
3 changes: 2 additions & 1 deletion doc/usage/configuration.rst
Expand Up @@ -2248,9 +2248,10 @@ These options influence manual page output.

.. confval:: man_make_section_directory

If true, make a section directory on build man page. Default is False.
If true, make a section directory on build man page. Default is True.

.. versionadded:: 3.3
.. versionchanged:: 4.0


.. _texinfo-options:
Expand Down
2 changes: 1 addition & 1 deletion sphinx/builders/manpage.py
Expand Up @@ -120,7 +120,7 @@ def setup(app: Sphinx) -> Dict[str, Any]:

app.add_config_value('man_pages', default_man_pages, None)
app.add_config_value('man_show_urls', False, None)
app.add_config_value('man_make_section_directory', False, None)
app.add_config_value('man_make_section_directory', True, None)

return {
'version': 'builtin',
Expand Down

0 comments on commit 0ff5fa5

Please sign in to comment.