You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2022/05/25 21:13:30 UTC
[trafficserver] branch 9.2.x updated: Re-introduce import to get man_pages list available for sphinx. Closes #8858 (#8859)
This is an automated email from the ASF dual-hosted git repository.
zwoop pushed a commit to branch 9.2.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/9.2.x by this push:
new 5c5a030a3 Re-introduce import to get man_pages list available for sphinx. Closes #8858 (#8859)
5c5a030a3 is described below
commit 5c5a030a3caa122cdcff7e395abd1a6d2fa0bf97
Author: Jean Baptiste Favre <gi...@jbfavre.org>
AuthorDate: Tue May 24 01:04:01 2022 +0200
Re-introduce import to get man_pages list available for sphinx. Closes #8858 (#8859)
Spell check
Better comment
(cherry picked from commit 77ab48143cda3061fc7a675eca17cb2528e347ff)
---
doc/conf.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/doc/conf.py b/doc/conf.py
index 6d779d052..88ddc9151 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -38,6 +38,10 @@ import sys
import os
from datetime import date
from sphinx import version_info
+# Import man_pages from manpages.py to get the list of manpages to generate in
+# separate files. Default is to put everything in apachetrafficserver.1
+# For these reasons, despite what linting tools might say, this import is required.
+from manpages import man_pages
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the