Skip to content
Snippets Groups Projects
Commit a317a3af authored by Sylvestre Ledru's avatar Sylvestre Ledru
Browse files

Bug 1599372 - Enable eval_rst as we use it for web-platform r=ahal

parent b4eee1fb
No related branches found
No related tags found
No related merge requests found
......@@ -10,6 +10,8 @@ import sys
from datetime import datetime
from recommonmark.transform import AutoStructify
# Set up Python environment to load build system packages.
OUR_DIR = os.path.dirname(__file__)
topsrcdir = os.path.normpath(os.path.join(OUR_DIR, '..', '..'))
......@@ -104,3 +106,13 @@ htmlhelp_basename = 'MozillaTreeDocs'
moz_project_name = 'main'
html_show_copyright = False
def setup(app):
app.add_config_value('recommonmark_config', {
# Crashes with sphinx
'enable_inline_math': False,
# We use it for testing/web-platform/tests
'enable_eval_rst': True,
}, True)
app.add_transform(AutoStructify)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment