summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2020-09-05 09:30:39 +0200
committerStefan Behnel <stefan_ml@behnel.de>2020-09-05 09:30:39 +0200
commit39e798bfc63538c0f7e52603405cea8fa4bb3519 (patch)
treeb82d6bb078d71cd1346beeac07a65c72253794ed
parente24cc2bd9a78cc0535d9a609cb03b8bf53097b46 (diff)
downloadpython-lxml-39e798bfc63538c0f7e52603405cea8fa4bb3519.tar.gz
docs: Move apidocs to a different directory to allow keeping links to the old epydoc folder intact.
-rw-r--r--doc/api/Makefile2
-rw-r--r--doc/docstructure.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/Makefile b/doc/api/Makefile
index c717f8b7..dc8e304f 100644
--- a/doc/api/Makefile
+++ b/doc/api/Makefile
@@ -13,7 +13,7 @@ help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
html:
- @$(SPHINXBUILD) -b html "$(SOURCEDIR)" -d "$(BUILDDIR)/doctrees" ../html/api $(SPHINXOPTS) $(O)
+ @$(SPHINXBUILD) -b html "$(SOURCEDIR)" -d "$(BUILDDIR)/doctrees" ../html/apidoc $(SPHINXOPTS) $(O)
.PHONY: help Makefile
diff --git a/doc/docstructure.py b/doc/docstructure.py
index 86e90d8b..3a5bf982 100644
--- a/doc/docstructure.py
+++ b/doc/docstructure.py
@@ -22,7 +22,7 @@ SITE_STRUCTURE = [
]
HREF_MAP = {
- "API reference" : "api/index.html"
+ "API reference" : "apidoc/index.html"
}
BASENAME_MAP = {