mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 07:00:11 +01:00
Move typedoc files to /website/typedoc
This commit is contained in:
parent
33ea399f99
commit
cad7e90951
7 changed files with 4 additions and 4 deletions
|
|
@ -1,8 +1,6 @@
|
||||||
**/node_modules/
|
**/node_modules/
|
||||||
**/out/
|
**/out/
|
||||||
**/release/
|
**/release/
|
||||||
/monaco-editor/typedoc/theme/
|
|
||||||
/monaco-editor/typedoc/monaco.d.ts
|
|
||||||
/samples/browser-esm-parcel/.parcel-cache/
|
/samples/browser-esm-parcel/.parcel-cache/
|
||||||
/samples/browser-esm-parcel/dist/
|
/samples/browser-esm-parcel/dist/
|
||||||
/samples/browser-esm-vite-react/dist/**/*.js
|
/samples/browser-esm-vite-react/dist/**/*.js
|
||||||
|
|
@ -15,3 +13,4 @@
|
||||||
/test/manual/samples-all.generated.js
|
/test/manual/samples-all.generated.js
|
||||||
/test/manual/playground.generated/
|
/test/manual/playground.generated/
|
||||||
/website/lib/
|
/website/lib/
|
||||||
|
/website/typedoc/monaco.d.ts
|
||||||
|
|
|
||||||
|
|
@ -369,7 +369,7 @@ function releaseDTS() {
|
||||||
writeFiles([monacodts, editorapidts], `release`);
|
writeFiles([monacodts, editorapidts], `release`);
|
||||||
|
|
||||||
fs.writeFileSync('website/playground/monaco.d.ts.txt', contents);
|
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() {
|
function generateWebsite() {
|
||||||
const files = readFiles('website/**/*', {
|
const files = readFiles('website/**/*', {
|
||||||
base: 'website',
|
base: 'website',
|
||||||
|
ignore: ['website/typedoc/**/*'],
|
||||||
dot: true
|
dot: true
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@
|
||||||
"smoketest-debug": "node ./test/smoke/runner.js --debug-tests",
|
"smoketest-debug": "node ./test/smoke/runner.js --debug-tests",
|
||||||
"smoketest": "node ./test/smoke/runner.js",
|
"smoketest": "node ./test/smoke/runner.js",
|
||||||
"test": "node ./test/unit/all.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",
|
"watch": "tsc -w -p ./src",
|
||||||
"website": "node ./build/website.js && npm run typedoc && node ./build/prepare-website-branch.js"
|
"website": "node ./build/website.js && npm run typedoc && node ./build/prepare-website-branch.js"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue