Zundler/tests/pydata-theme/html/_static/documentation_options.js
Adrian Vollmer 6b9c894ed2 Fix document once more after DOM content loaded
This is because some documents alter itself using `document.write`,
which can insert again tags (img, style, script) that expect to live in
a normal environment.

This commit also refactors some of the `retrieveFile` logic. The
function should behave differently when called in the iframe vs the
parent document.
2024-04-30 14:39:41 +02:00

14 lines
418 B
JavaScript

var DOCUMENTATION_OPTIONS = {
URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'),
VERSION: '',
LANGUAGE: 'en',
COLLAPSE_INDEX: false,
BUILDER: 'zundler',
FILE_SUFFIX: '.html',
LINK_SUFFIX: '.html',
HAS_SOURCE: true,
SOURCELINK_SUFFIX: '.txt',
NAVIGATION_WITH_KEYS: false,
SHOW_SEARCH_SUMMARY: true,
ENABLE_SEARCH_SHORTCUTS: true,
};