mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge pull request #10284 from tk0miya/10269_manpage_resolving_refuri
Fix #10269: manpage: Failed to resolve the title of :ref: cross references
This commit is contained in:
commit
dfa742a99b
1
CHANGES
1
CHANGES
@ -43,6 +43,7 @@ Bugs fixed
|
|||||||
variables/structure members
|
variables/structure members
|
||||||
* #10175: LaTeX: named footnote reference is linked to an incorrect footnote if
|
* #10175: LaTeX: named footnote reference is linked to an incorrect footnote if
|
||||||
the name is also used in the different document
|
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
|
* #10179: i18n: suppress "rST localization" warning
|
||||||
* #10118: imgconverter: Unnecessary availablity check is called for remote URIs
|
* #10118: imgconverter: Unnecessary availablity check is called for remote URIs
|
||||||
* #10181: napoleon: attributes are displayed like class attributes for google
|
* #10181: napoleon: attributes are displayed like class attributes for google
|
||||||
|
@ -10,7 +10,6 @@ from sphinx import addnodes
|
|||||||
from sphinx.application import Sphinx
|
from sphinx.application import Sphinx
|
||||||
from sphinx.builders import Builder
|
from sphinx.builders import Builder
|
||||||
from sphinx.config import Config
|
from sphinx.config import Config
|
||||||
from sphinx.errors import NoUri
|
|
||||||
from sphinx.locale import __
|
from sphinx.locale import __
|
||||||
from sphinx.util import logging, progress_message
|
from sphinx.util import logging, progress_message
|
||||||
from sphinx.util.console import darkgreen # type: ignore
|
from sphinx.util.console import darkgreen # type: ignore
|
||||||
@ -41,9 +40,7 @@ class ManualPageBuilder(Builder):
|
|||||||
return 'all manpages' # for now
|
return 'all manpages' # for now
|
||||||
|
|
||||||
def get_target_uri(self, docname: str, typ: str = None) -> str:
|
def get_target_uri(self, docname: str, typ: str = None) -> str:
|
||||||
if typ == 'token':
|
|
||||||
return ''
|
return ''
|
||||||
raise NoUri(docname, typ)
|
|
||||||
|
|
||||||
@progress_message(__('writing'))
|
@progress_message(__('writing'))
|
||||||
def write(self, *ignored: Any) -> None:
|
def write(self, *ignored: Any) -> None:
|
||||||
|
Loading…
Reference in New Issue
Block a user