File tree Expand file tree Collapse file tree 9 files changed +1242
-783
lines changed
docs/api/declarative-routers Expand file tree Collapse file tree 9 files changed +1242
-783
lines changed Original file line number Diff line number Diff line change 21
21
},
22
22
{
23
23
// Only apply JSDoc lint rules to files we auto-generate docs for
24
- "files": ["packages/react-router/lib/hooks.tsx"],
24
+ "files": [
25
+ "packages/react-router/lib/hooks.tsx",
26
+ "packages/react-router/lib/dom/lib.tsx"
27
+ ],
25
28
"plugins": ["jsdoc"],
26
29
"rules": {
27
30
"jsdoc/check-access": "error",
58
61
},
59
62
{
60
63
"tags": [
64
+ "name",
61
65
"public",
62
66
"private",
63
67
"category",
Original file line number Diff line number Diff line change 11
11
branch :
12
12
description : " Branch to generate docs for (usually dev)"
13
13
required : true
14
- api :
15
- description : " API Names to generate docs for"
16
- required : false
17
- default : " "
18
14
19
15
concurrency :
20
16
group : ${{ github.workflow }}-${{ github.ref }}
@@ -50,13 +46,10 @@ jobs:
50
46
- name : 📚 Generate Typedoc Docs
51
47
run : pnpm run docs
52
48
53
- - name : 📚 Generate Markdown Docs (for all APIs)
54
- if : github.event.inputs.api == ''
55
- run : node --experimental-strip-types scripts/docs.ts --path packages/react-router/lib/hooks.tsx --write
56
-
57
- - name : 📚 Generate Markdown Docs (for specific APIs)
58
- if : github.event.inputs.api != ''
59
- run : node --experimental-strip-types scripts/docs.ts --path packages/react-router/lib/hooks.tsx --write --api ${{ github.event.inputs.api }}
49
+ - name : 📚 Generate Markdown Docs
50
+ run : |
51
+ node --experimental-strip-types scripts/docs.ts --path packages/react-router/lib/hooks.tsx --write
52
+ node --experimental-strip-types scripts/docs.ts --path packages/react-router/lib/dom/lib.tsx --write
60
53
61
54
- name : 💪 Commit
62
55
run : |
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -204,7 +204,11 @@ export {
204
204
Scripts ,
205
205
PrefetchPageLinks ,
206
206
} from "./lib/dom/ssr/components" ;
207
- export type { ScriptsProps } from "./lib/dom/ssr/components" ;
207
+ export type {
208
+ ScriptsProps ,
209
+ PrefetchBehavior ,
210
+ DiscoverBehavior ,
211
+ } from "./lib/dom/ssr/components" ;
208
212
export type { EntryContext } from "./lib/dom/ssr/entry" ;
209
213
export type {
210
214
ClientActionFunction ,
You can’t perform that action at this time.
0 commit comments