-
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.
chore(typedoc-theme): Replaced original sidebars with its own
- Loading branch information
Showing
48 changed files
with
1,260 additions
and
1,974 deletions.
There are no files selected for viewing
Submodule @types
updated
3304 files
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
2 changes: 1 addition & 1 deletion
2
...primary/navigation-primary.component.scss → ...ts/module-menu/module-menu.component.scss
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
tsd-navigation-primary { | ||
tsd-module-menu { | ||
|
||
.dropdown { | ||
.dropdown-toggle { | ||
|
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
69 changes: 0 additions & 69 deletions
69
...-theme-client/scripts/components/navigation-secondary/navigation-secondary.component.scss
This file was deleted.
Oops, something went wrong.
Empty file.
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
37 changes: 17 additions & 20 deletions
37
packages/typedoc-theme-client/scripts/original/bootstrap.ts
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 |
---|---|---|
@@ -1,31 +1,28 @@ | ||
import { Application, registerComponent } from "./typedoc/Application"; | ||
// import { initSearch } from "./typedoc/components/Search"; | ||
import { Toggle } from "./typedoc/components/Toggle"; | ||
import { Filter } from "./typedoc/components/Filter"; | ||
import { Accordion } from "./typedoc/components/Accordion"; | ||
import { initTheme } from "./typedoc/Theme"; | ||
|
||
console.debug("bootstrap original..."); | ||
export const bootstrap = () => { | ||
console.debug("bootstrap original..."); | ||
|
||
// initSearch(); | ||
registerComponent(Toggle, "a[data-toggle]"); | ||
registerComponent(Accordion, ".tsd-index-accordion"); | ||
|
||
registerComponent(Toggle, "a[data-toggle]"); | ||
registerComponent(Accordion, ".tsd-index-accordion"); | ||
registerComponent(Filter, ".tsd-filter-item input[type=checkbox]"); | ||
const themeChoice = document.getElementById("tsd-theme"); | ||
if (themeChoice) { | ||
initTheme(themeChoice as HTMLOptionElement); | ||
} | ||
|
||
const themeChoice = document.getElementById("tsd-theme"); | ||
if (themeChoice) { | ||
initTheme(themeChoice as HTMLOptionElement); | ||
} | ||
const app = new Application(); | ||
|
||
const app = new Application(); | ||
Object.defineProperty(window, "app", { value: app }); | ||
|
||
Object.defineProperty(window, "app", { value: app }); | ||
|
||
// Safari is broken and doesn't let you click on a link within | ||
// a <summary> tag, so we have to manually handle clicks there. | ||
document.querySelectorAll("summary a").forEach((el) => { | ||
el.addEventListener("click", () => { | ||
location.assign((el as HTMLAnchorElement).href); | ||
// Safari is broken and doesn't let you click on a link within | ||
// a <summary> tag, so we have to manually handle clicks there. | ||
document.querySelectorAll("summary a").forEach((el) => { | ||
el.addEventListener("click", () => { | ||
location.assign((el as HTMLAnchorElement).href); | ||
}); | ||
}); | ||
}); | ||
}; |
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
Oops, something went wrong.