Skip to content

manpage builder doesn't put title in external references #10269

@CendioOssman

Description

@CendioOssman

Describe the bug

If I put references in a page that references another page then the produced man page will have the internal identifier rather than the title of the reference.

How to Reproduce

E.g.

Too see more details about this please see :ref:`foobar`.

This currently renders as Too see more details about this please see foobar..

Expected behavior

At the very least the title should replace the reference Too see more details about this please see "Foo bar feature".

Your project

N/A

Screenshots

No response

OS

Linux

Python version

3.6.12

Sphinx version

4.2.0

Sphinx extensions

No response

Extra tools

No response

Additional context

Given that the rest of the document isn't available, even more control would be nice. E.g. something like
numfig_format where you can give an expression for how external references should be handled.

You could then get something like: Too see more details about this please see "Foo bar feature" (in the System Manual).

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions