Move typedoc files to `/website/typedoc`

pull/2778/head
Alex Dima 3 years ago
parent 33ea399f99
commit cad7e90951
No known key found for this signature in database
GPG Key ID: 39563C1504FDD0C9

@ -1,8 +1,6 @@
**/node_modules/
**/out/
**/release/
/monaco-editor/typedoc/theme/
/monaco-editor/typedoc/monaco.d.ts
/samples/browser-esm-parcel/.parcel-cache/
/samples/browser-esm-parcel/dist/
/samples/browser-esm-vite-react/dist/**/*.js
@ -15,3 +13,4 @@
/test/manual/samples-all.generated.js
/test/manual/playground.generated/
/website/lib/
/website/typedoc/monaco.d.ts

@ -369,7 +369,7 @@ function releaseDTS() {
writeFiles([monacodts, editorapidts], `release`);
fs.writeFileSync('website/playground/monaco.d.ts.txt', contents);
fs.writeFileSync('monaco-editor/typedoc/monaco.d.ts', contents);
fs.writeFileSync('website/typedoc/monaco.d.ts', contents);
}
/**

@ -46,6 +46,7 @@ function replaceWithRelativeResource(dataPath, contents, regex, callback) {
function generateWebsite() {
const files = readFiles('website/**/*', {
base: 'website',
ignore: ['website/typedoc/**/*'],
dot: true
});

@ -19,7 +19,7 @@
"smoketest-debug": "node ./test/smoke/runner.js --debug-tests",
"smoketest": "node ./test/smoke/runner.js",
"test": "node ./test/unit/all.js",
"typedoc": "cd monaco-editor/typedoc && \"../../node_modules/.bin/typedoc\" --options ./typedoc.json",
"typedoc": "cd website/typedoc && \"../../node_modules/.bin/typedoc\" --options ./typedoc.json",
"watch": "tsc -w -p ./src",
"website": "node ./build/website.js && npm run typedoc && node ./build/prepare-website-branch.js"
},

Loading…
Cancel
Save