Skip to content

github linkcheck anchor change in 4.1.0 break some usage #9435

@alex

Description

@alex

Describe the bug

Given a link like:

.. _`OpenSSL's test vectors`: https://github.com/openssl/openssl/blob/97cf1f6c2854a3a955fd7dd3a1f113deba00c9ef/crypto/evp/evptests.txt#L232 

in a github doc, with release 4.1.0 this will fail with linkcheck, while previously it worked.

How to Reproduce

$ git clone https://github.com/pyca/cryptography
$ cd cryptography
$ tox -e docs-linkcheck

Expected behavior

It passes.

Your project

https://github.com/pyca/cryptography

Screenshots

No response

OS

Linux

Python version

3.9.5

Sphinx version

4.1.0

Sphinx extensions

No response

Extra tools

No response

Additional context

The relevant change happened in 92335bd

Failing test logs: https://github.com/pyca/cryptography/runs/3046691393

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions