Too-narrow validator for :pep: role

Bug #1832058 reported by Zac Hatfield-Dodds
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
doc8
New
Undecided
Unassigned

Bug Description

    :pep:`Python 3.4 end-of-life <429>`

is a valid and useful bit of Sphinx markup, but triggers the D000 error.

I think the general solution is to improve parsing of the roles to support the link text / link target distinction, as this may be disguising latent issues elsewhere in the code.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.