summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2022-01-24 17:31:21 +0700
committerDaniil Baturin <daniil@baturin.org>2022-01-24 17:31:21 +0700
commit3b32e15fe49e2992a76210f048e257cecd9c1141 (patch)
tree7ac448cc00b648bfaf8c588a47dff95ca2cbe622
parent31a3565592146df872458248ff7759f3c68e7117 (diff)
downloadvyos-documentation-3b32e15fe49e2992a76210f048e257cecd9c1141.tar.gz
vyos-documentation-3b32e15fe49e2992a76210f048e257cecd9c1141.zip
Add Markdown support
-rw-r--r--docs/conf.py3
-rw-r--r--docs/copyright.md (renamed from docs/copyright.rst)4
-rw-r--r--requirements.txt1
3 files changed, 4 insertions, 4 deletions
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