mirror of https://github.com/OpenVidu/openvidu.git
openvidu-browser: fix TypeDoc config to properly exclude unwanted folders
parent
3763904f73
commit
200c1db526
|
@ -0,0 +1,20 @@
|
||||||
|
{
|
||||||
|
"include": ["../src"],
|
||||||
|
"exclude": ["../config", "../docs", "../lib", "../node_modules", "../ts4.4"],
|
||||||
|
"typedocOptions": {
|
||||||
|
"name": "OpenVidu Browser",
|
||||||
|
"entryPoints": ["../src/index.ts"],
|
||||||
|
"out": "../docs",
|
||||||
|
"theme": "default",
|
||||||
|
"readme": "none",
|
||||||
|
"includeVersion": true,
|
||||||
|
"validation": {
|
||||||
|
"notExported": true,
|
||||||
|
"invalidLink": true
|
||||||
|
},
|
||||||
|
"excludeExternals": true,
|
||||||
|
"excludePrivate": true,
|
||||||
|
"excludeProtected": true,
|
||||||
|
"excludeInternal": true
|
||||||
|
}
|
||||||
|
}
|
|
@ -1,16 +0,0 @@
|
||||||
{
|
|
||||||
"name": "OpenVidu Browser",
|
|
||||||
"entryPoints": ["src/index.ts"],
|
|
||||||
"out": "../docs",
|
|
||||||
"theme": "default",
|
|
||||||
"readme": "none",
|
|
||||||
"includeVersion": true,
|
|
||||||
"validation": {
|
|
||||||
"notExported": true,
|
|
||||||
"invalidLink": true
|
|
||||||
},
|
|
||||||
"excludeExternals": true,
|
|
||||||
"excludePrivate": true,
|
|
||||||
"excludeProtected": true,
|
|
||||||
"excludeInternal": true
|
|
||||||
}
|
|
|
@ -9,8 +9,7 @@ fi
|
||||||
grep -rl '/en/stable/' src | xargs sed -i -e 's|/en/stable/|/en/'${BASEHREF_VERSION}'/|g'
|
grep -rl '/en/stable/' src | xargs sed -i -e 's|/en/stable/|/en/'${BASEHREF_VERSION}'/|g'
|
||||||
|
|
||||||
# Generate TypeDoc
|
# Generate TypeDoc
|
||||||
rm -rf ./docs
|
./node_modules/typedoc/bin/typedoc --tsconfig ./config/tsconfig.json
|
||||||
./node_modules/typedoc/bin/typedoc --options ./config/typedoc.json ./src
|
|
||||||
|
|
||||||
# Return links to "stable" version
|
# Return links to "stable" version
|
||||||
grep -rl '/en/'${BASEHREF_VERSION}'/' src | xargs sed -i -e 's|/en/'${BASEHREF_VERSION}'/|/en/stable/|g'
|
grep -rl '/en/'${BASEHREF_VERSION}'/' src | xargs sed -i -e 's|/en/'${BASEHREF_VERSION}'/|/en/stable/|g'
|
||||||
|
|
Loading…
Reference in New Issue