Update document

This commit is contained in:
kokarare1212
2021-05-16 08:08:54 +09:00
parent 6508215af1
commit 340e3dbbcb
2 changed files with 11 additions and 0 deletions

View File

@@ -11,6 +11,7 @@
# import os
# import sys
# sys.path.insert(0, os.path.abspath('.'))
from recommonmark.transform import AutoStructify
# -- Project information -----------------------------------------------------
project = "librespot-python"
@@ -51,3 +52,10 @@ source_suffix = [".rst", ".md"]
source_parsers = {
".md": "recommonmark.parser.CommonMarkParser",
}
def setup(app):
app.add_config_value("recommonmark_config", {
"auto_toc_tree_section": "Contents",
}, True)
app.add_transform(AutoStructify)