Skip to content

[LaTeX] URLs/links in sections headers should be hyperlinks #12821

@dbitouze

Description

@dbitouze

Is your feature request related to a problem? Please describe.
URLs/links in sections headers:

  • with the HTML output, are hyperlinks,
  • with the (LaTeX) PDF output, are not hyperlinks.

Describe the solution you'd like
I'd like URLs/links in sections headers be hyperlinks with the (LaTeX) PDF output, just as they are with the HTML output.

Additional context
Here is a minimal index.rst pointing out the problem:

.. FOO documentation master file, created by
   sphinx-quickstart on Sat Aug 24 18:39:54 2024.
   You can adapt this file completely to your liking, but it should at least
   contain the root `toctree` directive.

FOO documentation
=================

test
====

See the `reStructuredText <https://www.sphinx-doc.org/en/master/usage/restructuredtext/index.html>`_ documentation for details.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

text

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions