From ab989986121e6a2bbcf635a6ecddd30565d2a3a8 Mon Sep 17 00:00:00 2001 From: Alex Ganose Date: Tue, 10 Oct 2023 18:21:58 +0100 Subject: [PATCH] Try custom header --- docs/_static/custom.js | 6 ------ docs/_static/require.min.js | 5 ----- docs/_templates/layout.html | 7 +++++++ docs/conf.py | 2 +- 4 files changed, 8 insertions(+), 12 deletions(-) delete mode 100644 docs/_static/custom.js delete mode 100644 docs/_static/require.min.js create mode 100644 docs/_templates/layout.html diff --git a/docs/_static/custom.js b/docs/_static/custom.js deleted file mode 100644 index bc8e5fc3..00000000 --- a/docs/_static/custom.js +++ /dev/null @@ -1,6 +0,0 @@ -requirejs.config({ - paths: { - base: '/static/base', - plotly: 'https://cdn.plot.ly/plotly-2.26.0.min.js?noext', - }, -}); diff --git a/docs/_static/require.min.js b/docs/_static/require.min.js deleted file mode 100644 index 59145c47..00000000 --- a/docs/_static/require.min.js +++ /dev/null @@ -1,5 +0,0 @@ -/** vim: et:ts=4:sw=4:sts=4 - * @license RequireJS 2.3.6 Copyright jQuery Foundation and other contributors. - * Released under MIT license, https://github.com/requirejs/requirejs/blob/master/LICENSE - */ -var requirejs,require,define;!function(global,setTimeout){var req,s,head,baseElement,dataMain,src,interactiveScript,currentlyAddingScript,mainScript,subPath,version="2.3.6",commentRegExp=/\/\*[\s\S]*?\*\/|([^:"'=]|^)\/\/.*$/gm,cjsRequireRegExp=/[^.]\s*require\s*\(\s*["']([^'"\s]+)["']\s*\)/g,jsSuffixRegExp=/\.js$/,currDirRegExp=/^\.\//,op=Object.prototype,ostring=op.toString,hasOwn=op.hasOwnProperty,isBrowser=!("undefined"==typeof window||"undefined"==typeof navigator||!window.document),isWebWorker=!isBrowser&&"undefined"!=typeof importScripts,readyRegExp=isBrowser&&"PLAYSTATION 3"===navigator.platform?/^complete$/:/^(complete|loaded)$/,defContextName="_",isOpera="undefined"!=typeof opera&&"[object Opera]"===opera.toString(),contexts={},cfg={},globalDefQueue=[],useInteractive=!1;function commentReplace(e,t){return t||""}function isFunction(e){return"[object Function]"===ostring.call(e)}function isArray(e){return"[object Array]"===ostring.call(e)}function each(e,t){var i;if(e)for(i=0;i + + + +{% endblock %} diff --git a/docs/conf.py b/docs/conf.py index a8bf5a85..4e93e043 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -50,6 +50,7 @@ "myst_parser", "nbsphinx", "nbsphinx_link", + "jupyter_sphinx", ] # napoleon_include_init_with_doc = True @@ -123,7 +124,6 @@ html_favicon = "_static/favicon.ico" # fix rendering of Fermi surfaces in docs -html_js_files = ["require.min.js", "custom.js"] html_theme_options = { "light_css_variables": { "admonition-font-size": "92%",