We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a8ff1b commit dcb101eCopy full SHA for dcb101e
Doc/Makefile
@@ -170,7 +170,7 @@ dist:
170
cp -pPR build/epub/Python.epub dist/python-$(DISTVERSION)-docs.epub
171
172
check:
173
- $(PYTHON) tools/rstlint.py -i tools
+ $(PYTHON) tools/rstlint.py -i tools -i $(VENVDIR) -i README.rst
174
175
serve:
176
../Tools/scripts/serve.py build/html
Doc/conf.py
@@ -37,7 +37,8 @@
37
needs_sphinx = '1.2'
38
39
# Ignore any .rst files in the venv/ directory.
40
-exclude_patterns = ['venv/*']
+venvdir = os.getenv('VENVDIR', 'venv')
41
+exclude_patterns = [venvdir+'/*', 'README.rst']
42
43
44
# Options for HTML output
0 commit comments