mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-09-03 20:52:55 -05:00
Closes #1152: Fix pycode parsing errors of Python 3 code by including two grammar
versions for Python 2 and 3, and loading the appropriate version for the running Python version.
This commit is contained in:
+2
-1
@@ -20,7 +20,8 @@ recursive-include sphinx/ext/autosummary/templates *
|
||||
recursive-include tests *
|
||||
recursive-include utils *
|
||||
recursive-include custom_fixers *
|
||||
include sphinx/pycode/Grammar.txt
|
||||
include sphinx/pycode/Grammar-py2.txt
|
||||
include sphinx/pycode/Grammar-py3.txt
|
||||
|
||||
recursive-include doc *
|
||||
prune doc/_build
|
||||
|
||||
Reference in New Issue
Block a user