summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Rivera <github@rivera.za.net>2023-03-13 00:21:31 -0700
committerGitHub <noreply@github.com>2023-03-13 09:21:31 +0200
commitd4eed51d55fd6c35cd85f021c60e8f9144c1fea9 (patch)
treeb94619b4377497d201c6fb4f4283922af8647684
parente0f18dd29ae60c26d30e5bc57c768ffc26abd498 (diff)
downloadwheel-git-d4eed51d55fd6c35cd85f021c60e8f9144c1fea9.tar.gz
Build the man page with Sphinx (#441)
Rather than trying to build the entire Sphinx documentation into a (poorly laid out) manpage, build the RST manpage we have in the source tree.
-rw-r--r--docs/conf.py4
-rw-r--r--docs/manpages/wheel.rst (renamed from manpages/wheel.rst)0
2 files changed, 3 insertions, 1 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 19b11f4..d6b0a3f 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -219,7 +219,9 @@ latex_documents = [
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
-man_pages = [("index", "wheel", "wheel Documentation", ["Daniel Holth"], 1)]
+man_pages = [
+ ("manpages/wheel", "wheel", "wheel Documentation", ["Daniel Holth"], 1),
+]
# If true, show URL addresses after external links.
# man_show_urls = False
diff --git a/manpages/wheel.rst b/docs/manpages/wheel.rst
index a2e4873..a2e4873 100644
--- a/manpages/wheel.rst
+++ b/docs/manpages/wheel.rst