Skip to content

Doc: :option: directives link to incorrect pages #14670

@geographika

Description

@geographika

What is the bug?

Noticed in #14639, but is an issue elsewhere, for example at https://gdal.org/en/latest/programs/gdal_raster_info.html#cmdoption-crs-format the --output-format links to https://gdal.org/en/latest/programs/gdal_dataset_identify.html#cmdoption-f

Raw RST is:

    .. note::

        :option:`--crs-format` can only be set when :option:`--output-format`
        is set to ``text``.  The JSON text format includes both WKT2 and PROJJSON.

I guess only one link is created per unique :option:?

cc @dbaston

Steps to reproduce the issue

Click the link at https://gdal.org/en/latest/programs/gdal_raster_info.html#cmdoption-crs-format

Image

Versions and provenance

All Sphinx docs

Additional context

No response

Metadata

Metadata

Assignees

Labels

bugdocumentationIssues and contributions to the documentation contentnot for AI loversSee https://gdal.org/en/stable/community/ai_tool_policy.html

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions