[New-bugs-announce] [issue38975] Add direct anchors to regex syntax documentation
report at bugs.python.org
Wed Dec 4 16:12:31 EST 2019
New submission from Baptiste Mispelon <bmispelon at gmail.com>:
While writing documentation about regexps for a project I help maintain, I wanted to link to some specific aspects of Python's implementation (in my case, non-capturing groups) which are described on https://docs.python.org/3/library/re.html.
There are no visible ¶ anchors for the items in the "Regular Expression Syntax" section. Inspecting the generated HTML, there does seem to be auto-generated ids (like `#index-16` for example) but I wouldn't like to rely on those as I'm not sure how stable they are.
I couldn't find how to add the ¶ symbol show up next to the titles but I have a PR that adds a bunch of references so that items can be linked directly.
assignee: docs at python
nosy: bmispelon, docs at python
title: Add direct anchors to regex syntax documentation
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce