]> fred1m.tech Git - papier-crayon.git/commitdiff
Prise en charge du format "Markdown"
authorFred LE MEUR <frederic.le-meur@ac-versailles.fr>
Fri, 19 Jan 2024 15:57:03 +0000 (16:57 +0100)
committerFred LE MEUR <frederic.le-meur@ac-versailles.fr>
Fri, 19 Jan 2024 15:57:03 +0000 (16:57 +0100)
voir https://www.sphinx-doc.org/en/master/usage/markdown.html#markdown

source/conf.py

index bcb4c4de17bd9b51a9f47bb5538657ad94afd010..f36d5e6bbae90d305fae19b4a6219198c8daf694 100644 (file)
@@ -14,7 +14,14 @@ release = '0.1.3'
 # -- General configuration ---------------------------------------------------
 # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
 
-extensions = []
+extensions = ['myst_parser']
+
+source_suffix = {
+    '.rst': 'restructuredtext',
+    '.txt': 'restructuredtext',
+    '.md': 'markdown',
+}
+
 
 templates_path = ['_templates']
 exclude_patterns = []