1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-14 06:42:58 +08:00

docs: removes recommonmark from doc build (#4177)

This commit is contained in:
Kevin Schlosser 2023-04-28 02:05:54 -06:00 committed by GitHub
parent 5fc2b03ac4
commit 002ffc4766
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,7 @@ sys.path.insert(0, os.path.abspath('./_ext'))
# from subprocess import PIPE, Popen
# import recommonmark
from recommonmark.transform import AutoStructify
# from recommonmark.transform import AutoStructify
from sphinx.builders.html import StandaloneHTMLBuilder
# -- General configuration ------------------------------------------------
@ -272,10 +272,10 @@ _, repo_commit_hash = subprocess.getstatusoutput("git rev-parse HEAD")
# Example configuration for intersphinx: refer to the Python standard library.
def setup(app):
app.add_config_value('recommonmark_config', {
'enable_eval_rst': True,
'enable_auto_toc_tree': 'True',
}, True)
app.add_transform(AutoStructify)
# app.add_config_value('recommonmark_config', {
# 'enable_eval_rst': True,
# 'enable_auto_toc_tree': 'True',
# }, True)
# app.add_transform(AutoStructify)
app.add_css_file('css/custom.css')
app.add_css_file('css/fontawesome.min.css')