Skip to content

Use canonical URL for RFCs #14659

Description

@kesara

Describe the bug

Spinx uses https://datatracker.ietf.org/doc/html/ as the base URL for RFCs1.
But the canonical URLs for RFCs should point to https://www.rfc-editor.org/ where RFCs are officially published.
Datatracker recently started to include a canonical meta link to https://www.rfc-editor.org/ for the RFCs under https://datatracker.ietf.org/doc/html/ as well2.

How to Reproduce

RFC URL Test
============

Test URL: :rfc:`9000`

Environment Information

Platform:              darwin; (macOS-26.6.2-arm64-arm-64bit-Mach-O)
Python version:        3.14.7 (main, Aug  5 2026, 10:29:49) [Clang 21.0.0 (clang-2100.1.1.101)])
Python implementation: CPython
Sphinx version:        9.1.0
Docutils version:      0.22.4
Jinja2 version:        3.1.6
Pygments version:      2.21.0

Sphinx extensions

Additional context

No response

Footnotes

  1. https://github.com/sphinx-doc/sphinx/blob/master/sphinx/environment/__init__.py#L66 ↩

  2. https://github.com/ietf-tools/datatracker/pull/11481 ↩

Activity

  1. gmilde commented on Oct 14, 2026

    @gmilde
    Contributor

    The RFC URL is fixed upstream in Docutils commit [r10401] which will be part of the upcoming Docutils 1.0.

  2. kesara commented on Oct 15, 2026

    @kesara
    Author

    Thanks @gmilde!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions