New submission from Baptiste Mispelon <bmispe...@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@python
components: Documentation
messages: 357831
nosy: bmispelon, docs@python
priority: normal
severity: normal
status: open
title: Add direct anchors to regex syntax documentation
type: enhancement

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue38975>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to