aboutsummaryrefslogtreecommitdiffstats
path: root/manual/conf.py
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-01-11 17:49:33 +0100
committerJay Berkenbilt <ejb@ql.org>2022-01-30 19:11:03 +0100
commitc8729398ddb9ac82b00bbafaf24e8d37543e5b9e (patch)
tree9f1931af7f1087f503737f45ed04b3745812cae2 /manual/conf.py
parentb4bd124be496170937d19742d83c2bad7471fe81 (diff)
downloadqpdf-c8729398ddb9ac82b00bbafaf24e8d37543e5b9e.tar.zst
Generate help content from manual
This is a massive rewrite of the help text and cli.rst section of the manual. All command-line flags now have their own help and are specifically index. qpdf --help is completely redone.
Diffstat (limited to 'manual/conf.py')
-rw-r--r--manual/conf.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/manual/conf.py b/manual/conf.py
index 92e4a3de..3f334d8c 100644
--- a/manual/conf.py
+++ b/manual/conf.py
@@ -7,6 +7,10 @@
# To see the default sample conf.py, run sphinx-quickstart in an empty
# directory. Most of the original comments and options were removed.
import sphinx_rtd_theme # noQA F401
+import os
+import sys
+
+sys.path.append(os.path.abspath("./_ext"))
project = 'QPDF'
copyright = '2005-2021, Jay Berkenbilt'
@@ -16,6 +20,7 @@ release = '10.5.0'
version = release
extensions = [
'sphinx_rtd_theme',
+ 'qpdf',
]
html_theme = 'sphinx_rtd_theme'
html_theme_options = {