diff --git a/gulpfile.js b/gulpfile.js index c9b1b007..1e7a6a6c 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -433,7 +433,7 @@ function addPluginDTS() { })); fs.writeFileSync('website/playground/monaco.d.ts.txt', contents); - fs.writeFileSync('doc/monaco.d.ts', contents); + fs.writeFileSync('typedoc/monaco.d.ts', contents); this.emit('data', data); }); } diff --git a/package.json b/package.json index 79358885..64e78c0e 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "release": "gulp release", "website": "gulp website && npm run typedoc", "build-website": "gulp build-website && npm run typedoc", - "typedoc": "cd doc && \"../node_modules/.bin/typedoc\" --options ./typedoc.json" + "typedoc": "cd typedoc && \"../node_modules/.bin/typedoc\" --options ./typedoc.json" }, "typings": "./esm/vs/editor/editor.api.d.ts", "module": "./esm/vs/editor/editor.main.js", diff --git a/doc/monaco.d.ts b/typedoc/monaco.d.ts similarity index 100% rename from doc/monaco.d.ts rename to typedoc/monaco.d.ts diff --git a/doc/tsconfig.json b/typedoc/tsconfig.json similarity index 100% rename from doc/tsconfig.json rename to typedoc/tsconfig.json diff --git a/doc/typedoc.json b/typedoc/typedoc.json similarity index 100% rename from doc/typedoc.json rename to typedoc/typedoc.json diff --git a/website/typedoc-theme/partials/member.sources.hbs b/website/typedoc-theme/partials/member.sources.hbs index b027ae78..49dcf628 100644 --- a/website/typedoc-theme/partials/member.sources.hbs +++ b/website/typedoc-theme/partials/member.sources.hbs @@ -17,7 +17,7 @@ {{!--MONACO_CHANGE <li>Defined in {{fileName}}:{{line}}</li> MONACO_CHANGE--}} - <li>Defined in <a href="https://github.com/Microsoft/monaco-editor/blob/main/doc/monaco.d.ts#L{{line}}">{{fileName}}:{{line}}</a></li> + <li>Defined in <a href="https://github.com/Microsoft/monaco-editor/blob/main/typedoc/monaco.d.ts#L{{line}}">{{fileName}}:{{line}}</a></li> {{/if}} {{/each}} </ul>