forked from pydata/pydata-sphinx-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b5351c5
commit 8c18986
Showing
8 changed files
with
266 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ndex.101715efdecc9b59cb6e1ddfa685c31f.css → ...ndex.9cd52f7647f75bcab1282abf07de7a52.css
Large diffs are not rendered by default.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
...e/static/js/index.d8bbf5861d671d414e1a.js → ...e/static/js/index.c9faddf98927557166f1.js
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<script type="text/javascript"> | ||
(function () { | ||
window.versionSwitcher = { | ||
pageName: "{{pagename}}.html", | ||
versionJsonUrl: "{{theme_version_switch_json_url}}", | ||
enableLocaleSupport: "{{theme_version_switch_enable_locale}}" === "True", | ||
// TODO read from "{{theme_version_switch_locales}}" | ||
allLocales: [ | ||
{ | ||
"locale": "zh", | ||
"display": "中文" | ||
}, | ||
{ | ||
"locale": "en", | ||
"display": "EN" | ||
} | ||
] | ||
} | ||
})(); | ||
</script> | ||
|
||
<ul class="navbar-nav"> | ||
<li class="nav-item dropdown"> | ||
<button id="version-dropdown" class="btn btn-secondary btn-sm dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> | ||
<!-- placeholder for javascript filling above --> | ||
</button> | ||
<div id="version-menu" class="dropdown-menu" style="min-width: 6rem;"> | ||
<!-- placeholder for javascript filling above --> | ||
</div> | ||
</li> | ||
<li class="nav-item"> | ||
<span id="locale-switcher"> | ||
<!-- placeholder for locale switcher --> | ||
</span> | ||
</li> | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters