diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2020-08-04 21:25:23 +0200 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2020-08-04 21:25:23 +0200 |
commit | 0539e9220dbc0eb90660c7006bd163470faec97e (patch) | |
tree | 08820fa4410770088137a12de2da2c5f1c283968 | |
parent | fc5d7bfb3b34e859b2fe59071b453a0a9ffee8d0 (diff) | |
download | python-lxml-0539e9220dbc0eb90660c7006bd163470faec97e.tar.gz |
Avoid duplicate toc entries in the API docs by excluding the generated .so files. The .pyx files are still found.
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -109,7 +109,8 @@ apidoc: docclean inplace3 @[ -x "`which sphinx-apidoc`" ] \ && (echo "Generating API docs ..." && \ PYTHONPATH=src:$(PYTHONPATH) sphinx-apidoc -e -P -T -o doc/api src/lxml \ - "*includes" "*tests" "*pyclasslookup.py" "*usedoctest.py" "*html/_html5builder.py") \ + "*includes" "*tests" "*pyclasslookup.py" "*usedoctest.py" "*html/_html5builder.py" \ + "*.so" "*.pyd") \ || (echo "not generating Sphinx autodoc API rst files") apihtml: apidoc |