]> git.immae.eu Git - perso/Immae/Projets/Python/MusicSampler.git/commitdiff
Add sommaire
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Thu, 21 Jul 2016 16:36:07 +0000 (18:36 +0200)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Thu, 21 Jul 2016 16:36:07 +0000 (18:36 +0200)
build_readme.py
documentation_fr.md

index 36df8a1fb78d0e4f0b4faa6987771ddf0999ba00..eabed5850f989260c6a4115a424264e96d876fe1 100644 (file)
@@ -2,9 +2,12 @@ import markdown
 
 html = markdown.markdownFromFile(
         input="documentation_fr.md",
-        extensions=['markdown.extensions.codehilite'],
+        extensions=['markdown.extensions.codehilite', 'markdown.extensions.toc'],
         extension_configs={
             'markdown.extensions.codehilite': {
                 'noclasses': True,
+            },
+            'markdown.extensions.toc': {
+                'title': 'Sommaire'
             }
         })
index c12c6664fad9cf4596f7d4baa19cac91e954ad81..260f088775dedb16a9fcb851b17e32866c2048d0 100644 (file)
@@ -1,5 +1,6 @@
-# Music Sampler
+[TOC]
 
+# Music Sampler
 
 ## Description