diff options
| author | Lucian Copeland <hierophect@gmail.com> | 2020-04-13 12:03:56 -0400 |
|---|---|---|
| committer | Lucian Copeland <hierophect@gmail.com> | 2020-04-13 12:03:56 -0400 |
| commit | 6227e63cc5e6b84d509d94262006bbf297353e56 (patch) | |
| tree | 5315cfef21979af616fa285fdcb67198344ce505 /conf.py | |
| parent | 5ac38c95cc914c69e56a0f646131b34826b6f59a (diff) | |
| parent | 76f3aa47665ba8d8ae59aacf3b7d28d54af682c7 (diff) | |
Merge remote-tracking branch 'upstream/master' into stm32x7-setup
Diffstat (limited to 'conf.py')
| -rw-r--r-- | conf.py | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -17,7 +17,7 @@ import json import sys import os -from recommonmark.parser import CommonMarkParser +import recommonmark # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the @@ -55,16 +55,20 @@ extensions = [ 'sphinx.ext.todo', 'sphinx.ext.coverage', 'rstjinja', - 'c2rst' + 'c2rst', + 'recommonmark', ] # Add any paths that contain templates here, relative to this directory. templates_path = ['templates'] # The suffix of source filenames. -source_suffix = ['.rst', '.md', '.c', '.h'] +source_suffix = { + '.rst': 'restructuredtext', + '.md': 'markdown', + '.c': '' +} -source_parsers = {'.md': CommonMarkParser} # The encoding of source files. #source_encoding = 'utf-8-sig' @@ -358,4 +362,4 @@ intersphinx_mapping = {"cpython": ('https://docs.python.org/3/', None), "register": ('https://circuitpython.readthedocs.io/projects/register/en/latest/', None)} def setup(app): - app.add_stylesheet("customstyle.css") + app.add_css_file("customstyle.css") |
