summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-12-07 19:26:45 +0100
committerChristian Poessinger <christian@poessinger.com>2019-12-07 19:26:45 +0100
commit66deacf42a3f5691386878a630dfdb2a4ef20b3e (patch)
tree1169be94f80bd08b599715888a6b050edab8cd39
parent82ee2bd1d7d7a547be778e4d994b8159e2916d2b (diff)
downloadvyos-documentation-66deacf42a3f5691386878a630dfdb2a4ef20b3e.tar.gz
vyos-documentation-66deacf42a3f5691386878a630dfdb2a4ef20b3e.zip
Docker: Docs: enable GraphViz support
-rw-r--r--docker/Dockerfile4
-rw-r--r--docs/conf.py3
2 files changed, 3 insertions, 4 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 89f77125..d0592402 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -24,6 +24,7 @@ RUN apt-get update && apt-get install -y \
texlive-latex-extra \
sudo \
gosu \
+ graphviz \
curl
RUN pip3 install sphinx-autobuild
@@ -40,8 +41,5 @@ RUN sed "s/^%sudo.*/%sudo\tALL=(ALL) NOPASSWD:ALL/g" -i /etc/sudoers && \
# vale
RUN curl -sfL https://install.goreleaser.com/github.com/ValeLint/vale.sh | sh -s v1.7.1
-
-
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
-
diff --git a/docs/conf.py b/docs/conf.py
index 2bc581be..76293898 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -40,7 +40,8 @@ release = u'1.3.x (equuleus)'
# ones.
extensions = ['sphinx.ext.intersphinx',
'sphinx.ext.todo',
- 'sphinx.ext.ifconfig']
+ 'sphinx.ext.ifconfig',
+ 'sphinx.ext.graphviz']
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']