]> fred1m.tech Git - papier-crayon.git/blobdiff - source/conf.py
p57, découvrir `pandoc`
[papier-crayon.git] / source / conf.py
index bcb4c4de17bd9b51a9f47bb5538657ad94afd010..87dca98fd98a75aa5ec9751f033ea6a85a92d8d1 100644 (file)
@@ -7,14 +7,21 @@
 # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
 
 project = 'papier-crayon'
 # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
 
 project = 'papier-crayon'
-copyright = '2024, M. Le Meur'
+copyright = '2024-2025, M. Le Meur'
 author = 'M. Le Meur'
 author = 'M. Le Meur'
-release = '0.1.3'
+release = '0.1.7a'
 
 # -- General configuration ---------------------------------------------------
 # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
 
 
 # -- 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 = []
 
 templates_path = ['_templates']
 exclude_patterns = []
@@ -26,3 +33,18 @@ language = 'fr'
 
 html_theme = 'alabaster'
 html_static_path = ['_static']
 
 html_theme = 'alabaster'
 html_static_path = ['_static']
+
+html_theme_options = {
+    'show_relbars': 'True',
+    'admonition_bg': '#dcb',
+    'note_bg': '#fd8',
+    'seealso_bg': '#aec',
+    'danger_bg': '#b55',
+    'error_bg': '#b82',
+    'tip_bg': '#b0f',
+    'hint_bg': '#dad',
+    'important_bg': '#24f',
+    'caution_bg': '#fe6',
+    'attention_bg': '#fd6',
+    'warn_bg': '#fc6',
+}