Skip to content

Commit ac01872

Browse files
authored
Merge pull request #6 from DouglasNeuroInformatics/docs
docs: use same theme as libnest for docs
2 parents 4063e68 + 6fa3dda commit ac01872

File tree

4 files changed

+296
-9
lines changed

4 files changed

+296
-9
lines changed

.github/workflows/docs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Install Dependencies
3131
run: pnpm install --frozen-lockfile
3232
- name: Build Site
33-
run: pnpm build:docs
33+
run: pnpm docs:build
3434
- name: Upload Artifact
3535
uses: actions/upload-pages-artifact@v3
3636
with:

package.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
],
2222
"scripts": {
2323
"build": "rm -rf dist && tsc -b tsconfig.build.json",
24-
"build:docs": "typedoc",
24+
"docs:build": "typedoc",
25+
"docs:dev": "concurrently \"typedoc --watch\" \"http-server docs -c-1\"",
2526
"format": "prettier --write src",
2627
"lint": "tsc --noEmit && eslint --fix src",
2728
"prepare": "husky",
@@ -39,10 +40,14 @@
3940
"@douglasneuroinformatics/tsconfig": "^1.0.2",
4041
"@types/node": "22.x",
4142
"@vitest/coverage-v8": "^3.0.5",
43+
"concurrently": "^9.1.2",
4244
"eslint": "^9.20.1",
45+
"http-server": "^14.1.1",
4346
"husky": "^9.1.7",
4447
"prettier": "^3.5.0",
45-
"typedoc": "^0.27.7",
48+
"typedoc": "^0.27.8",
49+
"typedoc-material-theme": "^1.3.0",
50+
"typedoc-plugin-zod": "^1.3.1",
4651
"typescript": "5.6.x",
4752
"vitest": "^3.0.5"
4853
},

0 commit comments

Comments
 (0)