aboutsummaryrefslogtreecommitdiff
path: root/build_readme.py
blob: 55a8cec89bc69551b6d9b801638082b9b520d60c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import markdown

html = markdown.markdownFromFile(
        input="documentation_fr.md",
        extensions=[
            'markdown.extensions.codehilite',
            'markdown.extensions.toc'
        ],
        extension_configs={
            'markdown.extensions.codehilite': {
                'noclasses': True,
            },
            'markdown.extensions.toc': {
                'title': 'Sommaire'
            }
        })