Skip to content

Commit

Permalink
deploy: 60974b2
Browse files Browse the repository at this point in the history
  • Loading branch information
thurber committed Dec 10, 2024
1 parent e815709 commit 3dbc484
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
10 changes: 7 additions & 3 deletions _static/js/versions.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
const themeFlyoutDisplay = "hidden";
const themeVersionSelector = "True";
const themeLanguageSelector = "True";
const themeVersionSelector = true;
const themeLanguageSelector = true;

if (themeFlyoutDisplay === "attached") {
function renderLanguages(config) {
if (!config.projects.translations.length) {
return "";
}

// Insert the current language to the options on the selector
let languages = config.projects.translations.concat(config.projects.current);
languages = languages.sort((a, b) => a.language.name.localeCompare(b.language.name));

const languagesHTML = `
<dl>
<dt>Languages</dt>
${config.projects.translations
${languages
.map(
(translation) => `
<dd ${translation.slug == config.projects.current.slug ? 'class="rtd-current-item"' : ""}>
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@

<section id="naturf-documentation">
<h1>naturf documentation<a class="headerlink" href="#naturf-documentation" title="Link to this heading"></a></h1>
<p><strong>Date</strong>: Oct 15, 2024 <strong>Version</strong>: 1.0.3</p>
<p><strong>Date</strong>: Dec 10, 2024 <strong>Version</strong>: 1.0.3</p>
<p><strong>Useful links</strong>:
<a class="reference external" href="https://github.com/immm-sfa/naturf">Source Repository</a> |
<a class="reference external" href="https://github.com/immm-sfa/naturf/issues">Issues &amp; Ideas</a> |
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

0 comments on commit 3dbc484

Please sign in to comment.