This repository was archived by the owner on Jun 7, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525
2626def setup (app ):
2727 app .add_directive ("animation" , Animation )
28- app .add_autoversioned_javascript ("animationbase.js" )
28+ app .add_autoversioned_javascript ("animationbase.js" , defer = "" )
2929
3030
3131SRC = """
Original file line number Diff line number Diff line change @@ -538,7 +538,7 @@ def setup(
538538 app .setup_extension ("CodeChat.CodeToRestSphinx" )
539539
540540 # Supply a fake CSS file to avoid errors, since the CodeChat's CSS will import this.
541- app .add_autoversioned_javascript ("html4css1.css" )
541+ app .add_autoversioned_javascript ("html4css1.css" , defer = "" )
542542
543543 # See http://www.sphinx-doc.org/en/stable/extdev/appapi.html#sphinx.application.Sphinx.add_role.
544544 app .add_role ("alink" , _alink_role )
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ def setup(app):
4343
4444 app .add_autoversioned_stylesheet ("matrixeq.css" )
4545
46- app .add_autoversioned_javascript ("matrixeq.js" )
46+ app .add_autoversioned_javascript ("matrixeq.js" , defer = "" )
4747
4848 app .add_node (MatrixEqNode , html = (visit_matrixeq_node , depart_matrixeq_node ))
4949 app .add_node (
Original file line number Diff line number Diff line change @@ -47,10 +47,10 @@ def setup(app):
4747
4848 # CodeMirror syntax highlighting for various types of code
4949
50- app .add_autoversioned_javascript ("webglinteractive.js" )
50+ app .add_autoversioned_javascript ("webglinteractive.js" , defer = "" )
5151
5252 # Javascript for saving files to the client's hard drive
53- app .add_autoversioned_javascript ("FileSaver.min.js" )
53+ app .add_autoversioned_javascript ("FileSaver.min.js" , defer = "" )
5454
5555 app .add_node (
5656 WebglInteractiveNode ,
You can’t perform that action at this time.
0 commit comments