Skip to content

Commit

Permalink
Try custom header
Browse files Browse the repository at this point in the history
  • Loading branch information
utf committed Oct 10, 2023
1 parent 0b975e5 commit ab98998
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 12 deletions.
6 changes: 0 additions & 6 deletions docs/_static/custom.js

This file was deleted.

5 changes: 0 additions & 5 deletions docs/_static/require.min.js

This file was deleted.

7 changes: 7 additions & 0 deletions docs/_templates/layout.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{% extends "!layout.html" %}
{% block extrahead %}
<!--[if IE]>
<script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.6/require.min.js" integrity="sha512-c3Nl8+7g4LMSTdrm621y7kf9v3SDPnhxLNhcjFJbKECVnmZHTdo+IRO05sNLTH/D3vA6u1X32ehoLC7WFVdheg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/plotly.js/2.26.2/plotly.min.js" integrity="sha512-F8pLgCCEyXWHBOjJqw2+idZPNOt5BxS5zdZIzES36yZ1nBAtteQVi2fHyUTnd4fHtr5y/wPbxBePvzzOhqlg1g==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<![endif]-->
{% endblock %}
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"myst_parser",
"nbsphinx",
"nbsphinx_link",
"jupyter_sphinx",
]
# napoleon_include_init_with_doc = True

Expand Down Expand Up @@ -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%",
Expand Down

0 comments on commit ab98998

Please sign in to comment.