summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docker/Dockerfile1
-rw-r--r--docs/conf.py3
-rw-r--r--docs/copyright.md (renamed from docs/copyright.rst)4
-rw-r--r--requirements.txt1
4 files changed, 5 insertions, 4 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 903a8e83..9b31f49f 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -34,6 +34,7 @@ RUN pip3 install sphinx-rtd-theme
RUN pip3 install sphinx-autobuild
RUN pip3 install sphinx-notfound-page
RUN pip3 install lxml
+RUN pip3 install myst-parser
# Cleanup
diff --git a/docs/conf.py b/docs/conf.py
index 3e95e52d..e21b2a1e 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -46,6 +46,7 @@ extensions = ['sphinx.ext.intersphinx',
'sphinx.ext.graphviz',
'notfound.extension',
'autosectionlabel',
+ 'myst_parser',
'vyos'
]
@@ -60,7 +61,7 @@ autosectionlabel_prefix_document = True
# You can specify multiple suffix as a list of string:
#
# source_suffix = ['.rst', '.md']
-source_suffix = '.rst'
+source_suffix = ['.rst', '.md']
# The master toctree document.
master_doc = 'index'
diff --git a/docs/copyright.rst b/docs/copyright.md
index 551d3b26..670e1420 100644
--- a/docs/copyright.rst
+++ b/docs/copyright.md
@@ -1,6 +1,4 @@
-################
-Copyright Notice
-################
+# Copyright Notice
Copyright (C) 2018-2022 VyOS maintainers and contributors
diff --git a/requirements.txt b/requirements.txt
index 7bb02202..8b5ba40f 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -5,3 +5,4 @@ docutils
lxml
sphinx-notfound-page
docutils<0.18
+myst-parser