From patchwork Tue Apr 21 10:11:58 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heinrich Schuchardt X-Patchwork-Id: 238193 List-Id: U-Boot discussion From: xypron.glpk at gmx.de (Heinrich Schuchardt) Date: Tue, 21 Apr 2020 12:11:58 +0200 Subject: [PATCH 1/2] doc: specify that xelatex is used as Latex engine In-Reply-To: <20200421101159.6345-1-xypron.glpk@gmx.de> References: <20200421101159.6345-1-xypron.glpk@gmx.de> Message-ID: <20200421101159.6345-2-xypron.glpk@gmx.de> Building the pdf documentation on readthedocs.org fails with pdflatex. Signed-off-by: Heinrich Schuchardt --- doc/conf.py | 2 ++ 1 file changed, 2 insertions(+) -- 2.26.1 diff --git a/doc/conf.py b/doc/conf.py index 0772fb6f0c..b033de9d3a 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -31,6 +31,8 @@ from load_config import loadConfig # If your documentation needs a minimal Sphinx version, state it here. needs_sphinx = '1.3' +latex_engine = 'xelatex' + # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. From patchwork Tue Apr 21 10:11:59 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heinrich Schuchardt X-Patchwork-Id: 238192 List-Id: U-Boot discussion From: xypron.glpk at gmx.de (Heinrich Schuchardt) Date: Tue, 21 Apr 2020 12:11:59 +0200 Subject: [PATCH 2/2] Add .readthedocs.yml In-Reply-To: <20200421101159.6345-1-xypron.glpk@gmx.de> References: <20200421101159.6345-1-xypron.glpk@gmx.de> Message-ID: <20200421101159.6345-3-xypron.glpk@gmx.de> readthedocs.org allows to automatically generate and publish the HTML documentation for the U-Boot project. Add a file controlling building https://u-boot.readthedocs.io/. Signed-off-by: Heinrich Schuchardt --- .readthedocs.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .readthedocs.yml -- 2.26.1 diff --git a/.readthedocs.yml b/.readthedocs.yml new file mode 100644 index 0000000000..f3fb5ed51b --- /dev/null +++ b/.readthedocs.yml @@ -0,0 +1,19 @@ +# .readthedocs.yml +# Read the Docs configuration file +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details + +# Required +version: 2 + +# Build documentation in the docs/ directory with Sphinx +sphinx: + configuration: docs/conf.py + +# Optionally build your docs in additional formats such as PDF and ePub +formats: [] + +# Optionally set the version of Python and requirements required to build your docs +# python: +# version: 3.7 +# install: +# - requirements: docs/requirements.txt