From a6ab52170c69f86640848a7377408a25286b2e49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Runden?= Date: Fri, 20 May 2022 18:18:21 +0200 Subject: [PATCH] conf + mystparser --- conf.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/conf.py b/conf.py index 05744fa..dae0a8e 100644 --- a/conf.py +++ b/conf.py @@ -31,6 +31,7 @@ release = 'stable' # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. extensions = [ +'myst_parser', ] # Add any paths that contain templates here, relative to this directory. @@ -59,4 +60,10 @@ html_theme = 'alabaster' # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". -html_static_path = ['_static'] \ No newline at end of file +html_static_path = ['_static'] + +source_suffix = { + '.rst': 'restructuredtext', + '.txt': 'markdown', + '.md': 'markdown', +}