Skip to content

Commit 32639b1

Browse files
committed
chore(deps): update typedoc theme
1 parent 179be2e commit 32639b1

File tree

4 files changed

+20
-7
lines changed

4 files changed

+20
-7
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"lint-check": "eslint .",
1818
"prettier-check": "prettier ./ --check",
1919
"check-all": "run-p ts-check lint-check prettier-check",
20-
"typedoc:build": "typedoc --plugin @mxssfd/typedoc-theme --theme my-theme",
20+
"typedoc:build": "typedoc",
2121
"typedoc:deploy": "gh-pages -d docs-html",
2222
"build": "esno scripts/build.ts -t",
2323
"release": "esno scripts/release.ts"
@@ -51,7 +51,7 @@
5151
"@commitlint/config-conventional": "^17.4.4",
5252
"@microsoft/api-extractor": "^7.34.4",
5353
"@mxssfd/core": "5.0.1-beta.1",
54-
"@mxssfd/typedoc-theme": "^1.0.3",
54+
"@mxssfd/typedoc-theme": "^1.0.6",
5555
"@rollup/plugin-json": "^6.0.0",
5656
"@types/fs-extra": "^11.0.1",
5757
"@types/jest": "^29.4.0",

pnpm-lock.yaml

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

typedoc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"$schema": "https://typedoc.org/schema.json",
33
"htmlLang": "zh-CN",
44
"includeVersion": true,
5-
"name": "basic",
5+
"plugin": ["@mxssfd/typedoc-theme"],
6+
"theme": "my-theme",
67
"customCss": "./typedoc.theme.css",
78
"sort": ["static-first", "kind", "enum-value-ascending"],
89
"categoryOrder": ["file"],

typedoc.theme.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
11
.col-menu {
22
flex-basis: 22rem;
33
}
4+
.tsd-navigation.primary ul li li a {
5+
margin-left: 0.5rem;
6+
}
7+
@media (min-width: 1024px) {
8+
.tsd-navigation.modules-total-0 {
9+
display: none;
10+
}
11+
}
12+
.modules > .selectedmodule > a,
13+
.modules > .currentmodule > a {
14+
display: none;
15+
}

0 commit comments

Comments
 (0)