mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
Bug 1693140 - Fix the mermaid rendering issue.r=ahal
sphinxcontrib-mermaid loads the mermaid library in different way which prevents mermaid library to load on production, it will work locally but not on writethedocs, so we have to hard loading the mermaid library through CDN in our tree. Differential Revision: https://phabricator.services.mozilla.com/D111161
This commit is contained in:
parent
587e440415
commit
bd20013088
@ -77,6 +77,7 @@ html_logo = os.path.join(
|
||||
topsrcdir, "browser/branding/nightly/content/firefox-wordmark.svg"
|
||||
)
|
||||
html_favicon = os.path.join(topsrcdir, "browser/branding/nightly/firefox.ico")
|
||||
html_js_files = ["https://cdnjs.cloudflare.com/ajax/libs/mermaid/8.9.1/mermaid.js"]
|
||||
|
||||
exclude_patterns = ["_build", "_staging", "_venv"]
|
||||
pygments_style = "sphinx"
|
||||
|
Loading…
Reference in New Issue
Block a user