diff options
author | Jay Berkenbilt <ejb@ql.org> | 2021-12-19 19:12:11 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2021-12-19 19:57:47 +0100 |
commit | 92613a1eec543a00dd25dc6cdd407929323a811c (patch) | |
tree | 3aa7e7e501214fb31e1891ae9f3fffef98b73b09 /manual | |
parent | d3501c4f3e34d2043d5f9f8d314c5fe6ab5cdbd4 (diff) | |
download | qpdf-92613a1eec543a00dd25dc6cdd407929323a811c.tar.zst |
doc: switch html theme to sphinx_rtd_theme
Diffstat (limited to 'manual')
-rw-r--r-- | manual/conf.py | 7 | ||||
-rw-r--r-- | manual/installation.rst | 9 |
2 files changed, 11 insertions, 5 deletions
diff --git a/manual/conf.py b/manual/conf.py index 7dde20ca..aaed236f 100644 --- a/manual/conf.py +++ b/manual/conf.py @@ -6,14 +6,19 @@ # # 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 project = 'QPDF' copyright = '2005-2021, Jay Berkenbilt' author = 'Jay Berkenbilt' release = '10.4.0' version = release -html_theme = 'nature' +extensions = [ + 'sphinx_rtd_theme', +] +html_theme = 'sphinx_rtd_theme' html_theme_options = { "body_max_width": None, } +html_logo = '../logo/qpdf.svg' highlight_language = 'none' diff --git a/manual/installation.rst b/manual/installation.rst index 568c2e20..197977e7 100644 --- a/manual/installation.rst +++ b/manual/installation.rst @@ -63,10 +63,11 @@ ghostscript. Pre-built documentation is distributed with qpdf, so you should generally not need to rebuild the documentation. In order to build the documentation from source, you need to install `Sphinx -<https://sphinx-doc.org>`__. To build the PDF version of the -documentation, you need ``pdflatex``, ``latexmk``, and a fairly complete -LaTeX installation. Detailed requirements can be found in the Sphinx -documentation. +<https://sphinx-doc.org>`__ along with the ``sphinx_rtd_doc`` theme +(``pip install sphinx sphinx_rtd_theme``). To build the PDF version of +the documentation, you need ``pdflatex``, ``latexmk``, and a fairly +complete LaTeX installation. Detailed requirements can be found in the +Sphinx documentation. .. _building: |