aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2019-05-16 14:05:45 +0200
committerGitHub <noreply@github.com>2019-05-16 14:05:45 +0200
commitc0b6b6c97c39a27bcbb966032689b763b482dcfc (patch)
tree1d7b5fa03407dc81150df941f882309fac7f3d15
parentd8ea4ea56fea3d4f1d16a14a3aa36e2008558fb2 (diff)
parent20ff08a11a82798d149596eaa0898fe7743c5cd2 (diff)
downloadPROJ-c0b6b6c97c39a27bcbb966032689b763b482dcfc.tar.gz
PROJ-c0b6b6c97c39a27bcbb966032689b763b482dcfc.zip
update doc building Docker container to Python3 for Sphinx 2.0 support (#1473)
update doc building Docker container to Python3 for Sphinx 2.0 support
-rw-r--r--docs/docbuild/Dockerfile6
-rw-r--r--docs/source/conf.py2
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/docbuild/Dockerfile b/docs/docbuild/Dockerfile
index 40a3dbc5..5aca89e9 100644
--- a/docs/docbuild/Dockerfile
+++ b/docs/docbuild/Dockerfile
@@ -1,12 +1,12 @@
FROM ubuntu:18.04
RUN apt-get -y update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
- python-dev python-pip g++ doxygen dvipng latexmk \
+ python3-dev python3-pip g++ doxygen dvipng latexmk \
cmake libjpeg8-dev zlib1g-dev texlive-latex-base \
texlive-latex-extra git \
- graphviz python-matplotlib
+ graphviz python3-matplotlib
-RUN pip install Sphinx breathe \
+RUN pip3 install Sphinx breathe \
sphinx_bootstrap_theme awscli sphinxcontrib-bibtex \
sphinx_rtd_theme recommonmark sphinx-markdown-tables
diff --git a/docs/source/conf.py b/docs/source/conf.py
index 0abc17ff..fc8438fd 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -243,7 +243,7 @@ latex_elements = {
# Additional stuff for the LaTeX preamble.
'preamble': preamble,
-'inputenc':'\usepackage[utf8]{inputenc}'
+'inputenc':'\\usepackage[utf8]{inputenc}'
# Latex figure (float) alignment
#'figure_align': 'htbp',