[3.9] bpo-40939: Use the new grammar for the grammar specification documentation (GH-19969) (#21641)

(We censor the heck out of actions and some other stuff using a custom "highlighter".)

(cherry picked from commit 72cabb2aa6)

Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
This commit is contained in:
Guido van Rossum 2020-07-27 12:00:42 -07:00 committed by GitHub
parent 8b052751d3
commit e6b2d93f0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 91 additions and 4 deletions

View file

@ -15,7 +15,7 @@ sys.path.append(os.path.abspath('includes'))
extensions = ['sphinx.ext.coverage', 'sphinx.ext.doctest',
'pyspecific', 'c_annotations', 'escape4chm',
'asdl_highlight']
'asdl_highlight', 'peg_highlight']
doctest_global_setup = '''