Skip to content

Commit

Permalink
remove local documentation options variable
Browse files Browse the repository at this point in the history
this has been long supplied by a separate js file, the issue
just was not visible until more state was added to this file
that was used.

References: sphinx-doc/sphinx#11686
  • Loading branch information
zzzeek committed Sep 19, 2023
1 parent f0d8f77 commit 960a59c
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions zzzeeksphinx/themes/zsbase/layout.mako
Original file line number Diff line number Diff line change
Expand Up @@ -316,15 +316,6 @@ withsidebar = bool(toc) and (

<%block name="lower_scripts">
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '${pathto("", 1)}',
VERSION: '${release|h}',
COLLAPSE_MODINDEX: false,
FILE_SUFFIX: '${file_suffix}'
};
</script>
<script type="text/javascript" id="documentation_options" data-url_root="${ pathto('', 1) }" src="${ pathto('_static/documentation_options.js', 1) }"></script>
<!-- begin iterate through sphinx environment script_files -->
Expand Down

0 comments on commit 960a59c

Please sign in to comment.