Skip to content

Commit 8468d7f

Browse files
authored
Clean up compat docgen (#5505)
1 parent ff9baf7 commit 8468d7f

File tree

4 files changed

+10
-2
lines changed

4 files changed

+10
-2
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ dist
44
.awcache
55
.cache
66
/config/project.json
7-
scripts/docgen/html
7+
scripts/docgen-compat/html
88

99
# OS Specific Files
1010
.DS_Store

scripts/docgen-compat/content-sources/js/toc.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,14 @@ toc:
7272
path: /docs/reference/js/firebase.auth.AuthProvider
7373
- title: "AuthSettings"
7474
path: /docs/reference/js/firebase.auth.AuthSettings
75+
- title: "Config"
76+
path: /docs/reference/js/firebase.auth.Config
7577
- title: "ConfirmationResult"
7678
path: /docs/reference/js/firebase.auth.ConfirmationResult
7779
- title: "EmailAuthProvider"
7880
path: /docs/reference/js/firebase.auth.EmailAuthProvider
81+
- title: "EmulatorConfig"
82+
path: /docs/reference/js/firebase.auth.EmulatorConfig
7983
- title: "Error"
8084
path: /docs/reference/js/firebase.auth.Error
8185
- title: "FacebookAuthProvider"

scripts/docgen-compat/content-sources/node/toc.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,14 @@ toc:
3232
path: /docs/reference/node/firebase.auth.AuthProvider
3333
- title: "AuthSettings"
3434
path: /docs/reference/node/firebase.auth.AuthSettings
35+
- title: "Config"
36+
path: /docs/reference/node/firebase.auth.Config
3537
- title: "ConfirmationResult"
3638
path: /docs/reference/node/firebase.auth.ConfirmationResult
3739
- title: "EmailAuthProvider"
3840
path: /docs/reference/node/firebase.auth.EmailAuthProvider
41+
- title: "EmulatorConfig"
42+
path: /docs/reference/node/firebase.auth.EmulatorConfig
3943
- title: "Error"
4044
path: /docs/reference/node/firebase.auth.Error
4145
- title: "FacebookAuthProvider"

scripts/docgen-compat/generate-docs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ function stripPath(path) {
6262
function runTypedoc() {
6363
const typeSource = apiType === 'node' ? tempNodeSourcePath : sourceFile;
6464
const command = `${repoPath}/node_modules/.bin/typedoc ${typeSource} \
65-
--tsconfig ${repoPath}/scripts/docgen/tsconfig.json \
65+
--tsconfig ${__dirname}/tsconfig.json \
6666
--out ${docPath} \
6767
--readme ${tempHomePath} \
6868
--options ${__dirname}/typedoc.js \

0 commit comments

Comments
 (0)