mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Update application.py
This commit is contained in:
parent
01ffa6cf04
commit
6117e7619a
@ -873,7 +873,7 @@ class Sphinx:
|
||||
|
||||
app.add_js_file('example.js', async="async")
|
||||
# => <script src="_static/example.js" async="async"></script>
|
||||
|
||||
|
||||
app.add_js_file(None, body="var myVariable = 'foo';")
|
||||
# => <script>var myVariable = 'foo';</script>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user