-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Website page load fixes (mostly) #13343
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -64,7 +64,7 @@ | |
| # (Sphinx looks at variable changes and rewrites all files if some change) | ||
| copyright = ( # noqa: A001 | ||
| f'2012–{td.year}, MNE Developers. Last updated <time datetime="{td.isoformat()}" class="localized">{td.strftime("%Y-%m-%d %H:%M %Z")}</time>\n' # noqa: E501 | ||
| '<script type="text/javascript">$(function () { $("time.localized").each(function () { var el = $(this); el.text(new Date(el.attr("datetime")).toLocaleString([], {dateStyle: "medium", timeStyle: "long"})); }); } )</script>' # noqa: E501 | ||
| '<script type="text/javascript">function formatTimestamp() {document.querySelectorAll("time.localized").forEach(el => el.textContent = new Date(el.getAttribute("datetime")).toLocaleString([], {dateStyle: "medium", timeStyle: "long"}));};if (document.readyState != "loading") formatTimestamp();else document.addEventListener("DOMContentLoaded", formatTimestamp);</script>' # noqa: E501 | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. purge JQuery from timestamp localizer script (wasn't working because |
||
| ) | ||
| if os.getenv("MNE_FULL_DATE", "false").lower() != "true": | ||
| copyright = f"2012–{td.year}, MNE Developers. Last updated locally." # noqa: A001 | ||
|
|
@@ -776,7 +776,7 @@ def fix_sklearn_inherited_docstrings(app, what, name, obj, options, lines): | |
| # Theme options are theme-specific and customize the look and feel of a theme | ||
| # further. For a list of options available for each theme, see the | ||
| # documentation. | ||
| switcher_version_match = "dev" if ".dev" in version else version | ||
| switcher_version_match = "dev" if ".dev" in release else version | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. not sure when this changed / stopped working, but above, |
||
| html_theme_options = { | ||
| "icon_links": [ | ||
| dict( | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
capitalize H in "Get Help" (somebody requested this)