From 4b677a3b60894ed0cbe7fd49e7996a9a88d0a39e Mon Sep 17 00:00:00 2001 From: John McNamara Date: Sun, 17 Jul 2016 14:19:08 +0100 Subject: [PATCH] doc: update sphinx installation instructions Update the Sphinx installation instructions in the documentation contributors guide to reflect the fact that in the 1.4+ versions of Sphinx the ReadTheDocs theme must also be installed. Previously, in version 1.3.x, it was installed by default. Also change 'yum' to 'dnf' for package installations. Signed-off-by: John McNamara --- doc/guides/contributing/documentation.rst | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/doc/guides/contributing/documentation.rst b/doc/guides/contributing/documentation.rst index ba5c4decc7..b2cc903f65 100644 --- a/doc/guides/contributing/documentation.rst +++ b/doc/guides/contributing/documentation.rst @@ -155,7 +155,7 @@ It can be installed as follows: sudo apt-get -y install doxygen # Red Hat/Fedora. - sudo yum -y install doxygen + sudo dnf -y install doxygen `Sphinx`_ is a Python documentation tool for converting RST files to Html or to PDF (via LaTeX). For full support with figure and table captioning the latest version of Sphinx can be installed as follows: @@ -165,10 +165,12 @@ For full support with figure and table captioning the latest version of Sphinx c # Ubuntu/Debian. sudo apt-get -y install python-pip sudo pip install --upgrade sphinx + sudo pip install --upgrade sphinx_rtd_theme # Red Hat/Fedora. - sudo yum -y install python-pip + sudo dnf -y install python-pip sudo pip install --upgrade sphinx + sudo pip install --upgrade sphinx_rtd_theme For further information on getting started with Sphinx see the `Sphinx Tutorial `_. @@ -186,7 +188,7 @@ It can be installed as follows: sudo apt-get -y install inkscape # Red Hat/Fedora. - sudo yum -y install inkscape + sudo dnf -y install inkscape `TexLive `_ is an installation package for Tex/LaTeX. It is used to generate the PDF versions of the documentation. @@ -198,7 +200,7 @@ The main required packages can be installed as follows: sudo apt-get -y install texlive-latex-extra # Red Hat/Fedora, selective install. - sudo yum -y install texlive-collection-latexextra + sudo dnf -y install texlive-collection-latexextra Build commands -- 2.20.1