Skip to content

Commit 89f31ba

Browse files
authored
Add jsdoc for components (#14004)
1 parent 7310da1 commit 89f31ba

File tree

3 files changed

+513
-189
lines changed

3 files changed

+513
-189
lines changed

.eslintrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
{
2323
// Only apply JSDoc lint rules to files we auto-generate docs for
2424
"files": [
25+
"packages/react-router/lib/components.tsx",
2526
"packages/react-router/lib/hooks.tsx",
2627
"packages/react-router/lib/dom/lib.tsx"
2728
],

.github/workflows/docs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ jobs:
4848

4949
- name: 📚 Generate Markdown Docs
5050
run: |
51+
node --experimental-strip-types scripts/docs.ts --path packages/react-router/lib/components.tsx --write
5152
node --experimental-strip-types scripts/docs.ts --path packages/react-router/lib/hooks.tsx --write
5253
node --experimental-strip-types scripts/docs.ts --path packages/react-router/lib/dom/lib.tsx --write
5354

0 commit comments

Comments
 (0)