From 92613a1eec543a00dd25dc6cdd407929323a811c Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sun, 19 Dec 2021 13:12:11 -0500 Subject: doc: switch html theme to sphinx_rtd_theme --- manual/conf.py | 7 ++++++- manual/installation.rst | 9 +++++---- 2 files changed, 11 insertions(+), 5 deletions(-) (limited to 'manual') 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 -`__. 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. +`__ 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: -- cgit v1.2.3-54-g00ecf