Skip to content

Commit

Permalink
Fix sphinx-doc#10269: manpage: Failed to resolve the title of :ref: c…
Browse files Browse the repository at this point in the history
…ross references
  • Loading branch information
tk0miya committed Mar 21, 2022
1 parent 1e1f8e2 commit 5f9f43f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGES
Expand Up @@ -42,6 +42,7 @@ Bugs fixed
variables/structure members
* #10175: LaTeX: named footnote reference is linked to an incorrect footnote if
the name is also used in the different document
* #10269: manpage: Failed to resolve the title of :ref: cross references
* #10179: i18n: suppress "rST localization" warning
* #10181: napoleon: attributes are displayed like class attributes for google
style docstrings when :confval:`napoleon_use_ivar` is enabled
Expand Down
4 changes: 1 addition & 3 deletions sphinx/builders/manpage.py
Expand Up @@ -41,9 +41,7 @@ def get_outdated_docs(self) -> Union[str, List[str]]:
return 'all manpages' # for now

def get_target_uri(self, docname: str, typ: str = None) -> str:
if typ == 'token':
return ''
raise NoUri(docname, typ)
return ''

@progress_message(__('writing'))
def write(self, *ignored: Any) -> None:
Expand Down

0 comments on commit 5f9f43f

Please sign in to comment.