Skip to content

Commit

Permalink
more doc improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
jnaglick committed May 30, 2024
1 parent a4e0aec commit cc0964b
Show file tree
Hide file tree
Showing 121 changed files with 717 additions and 736 deletions.
1 change: 1 addition & 0 deletions docs/assets/category-nav.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 28 additions & 0 deletions docs/assets/lib/category-nav.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
"use strict";
const THEME_ORDER = ['os', 'light', 'dark'];
/**
* Set new Theme.
* @param theme
*/
function setTheme(theme) {
document.documentElement.dataset.theme = theme;
localStorage.setItem('tsd-theme', theme);
const settingPicker = document.querySelector('#tsd-theme');
if (settingPicker) {
settingPicker.value = theme;
}
}
/** User toggle themen */
function onToggleTheme() {
const curTheme = document.documentElement.dataset.theme || 'os';
const index = THEME_ORDER.indexOf(curTheme);
const nextIndex = (index + 1) % THEME_ORDER.length;
const nextTheme = THEME_ORDER[nextIndex];
setTheme(nextTheme);
}
(() => {
const themePicker = document.querySelector('#tsd-navigation-theme');
if (!themePicker)
return;
themePicker.addEventListener('click', onToggleTheme);
})();
2 changes: 1 addition & 1 deletion docs/assets/navigation.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/assets/search.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/assets/style/category-nav.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions docs/classes/BaseModelProvider.html

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions docs/classes/EjsTemplate.html

Large diffs are not rendered by default.

18 changes: 18 additions & 0 deletions docs/classes/HttpModelProvider.html

Large diffs are not rendered by default.

6 changes: 0 additions & 6 deletions docs/classes/core_src.BaseModelProvider.html

This file was deleted.

Loading

0 comments on commit cc0964b

Please sign in to comment.