[issue22593] Automate update of doc references to UCD version when it changes.

2019-12-29 Thread Noah Massman-Hall
Noah Massman-Hall added the comment: I ended up doing exactly what I said would probably be needed, and wrote a small sphinx extension that handles this. I kept the same reST substitution syntax, but I'm parsing for '|ucd_version|' as the source files are read in and just re

[issue22593] Automate update of doc references to UCD version when it changes.

2019-12-29 Thread Noah Massman-Hall
Change by Noah Massman-Hall : -- pull_requests: +17186 pull_request: https://github.com/python/cpython/pull/17748 ___ Python tracker <https://bugs.python.org/issue22

[issue22593] Automate update of doc references to UCD version when it changes.

2019-12-26 Thread Noah Massman-Hall
Change by Noah Massman-Hall : -- pull_requests: -17155 ___ Python tracker <https://bugs.python.org/issue22593> ___ ___ Python-bugs-list mailing list Unsub

[issue22593] Automate update of doc references to UCD version when it changes.

2019-12-26 Thread Noah Massman-Hall
Change by Noah Massman-Hall : -- keywords: +patch pull_requests: +17155 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/17710 ___ Python tracker <https://bugs.python.org/issu

[issue22593] Automate update of doc references to UCD version when it changes.

2019-12-26 Thread Noah Massman-Hall
Noah Massman-Hall added the comment: I took a crack at the rst side of this, to see if I could reduce it to just one easy to parse for line in each file that needs to be modified. Yeah, not so easy. Substituting text in rst isn't hard, you just insert '|ucd_version|' whe