diff options
author | Devi Sandeep Endluri <sandeep0138@gmail.com> | 2020-06-19 14:03:51 -0500 |
---|---|---|
committer | Devi Sandeep Endluri <sandeep0138@gmail.com> | 2020-06-19 14:03:51 -0500 |
commit | 8d99b4944a56792c2c309b079ce919608d399a1c (patch) | |
tree | 919d423edbc0aaa910873336b65c922cc5eef08d | |
parent | 08d1673dff2884866462c98d2f002c221bedd06b (diff) | |
download | scipy-sphinx-theme-8d99b4944a56792c2c309b079ce919608d399a1c.tar.gz |
Add data-url_root for document_options
-rw-r--r-- | _theme/scipy/layout.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_theme/scipy/layout.html b/_theme/scipy/layout.html index 5b32f94..25e3e8e 100644 --- a/_theme/scipy/layout.html +++ b/_theme/scipy/layout.html @@ -87,7 +87,7 @@ {%- endmacro %} {%- macro script() %} - <script type="text/javascript" src="{{ pathto('_static/documentation_options.js', 1) }}"></script> + <script type="text/javascript" id="documentation_options" data-url_root="{{ pathto('', 1) }}" src="{{ pathto('_static/documentation_options.js', 1) }}"></script> {%- for scriptfile in script_files %} <script type="text/javascript" src="{{ pathto(scriptfile, 1) }}"></script> {%- endfor %} |