Skip to content

Commit

Permalink
Fix sphinx 'manpage' role
Browse files Browse the repository at this point in the history
Building the documentation with manpages fails with sphinx >= 1.6
because of an internal change [1]. By explicitly setting the domain to
'None' when translating the 'manpage' node into a 'doc' node, sphinx's own
transformation to handle this change is triggered.

[1] sphinx-doc/sphinx#3698
  • Loading branch information
Andre Liebigt committed Jun 26, 2020
1 parent 758850b commit 388c0b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/build/sphinx_ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,7 @@ def _ManPageNodeClass(*args, **kwargs):

# Force custom title
kwargs["refexplicit"] = True
kwargs["refdomain"] = None

return sphinx.addnodes.pending_xref(*args, **kwargs)

Expand Down

0 comments on commit 388c0b6

Please sign in to comment.