diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 08e4304..3f299a7 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -16,7 +16,7 @@ const config: Config = { // GitHub pages deployment config. // If you aren't using GitHub pages, you don't need these. organizationName: "wavetermdev", // Usually your GitHub org/user name. - projectName: "waveterm-docs-new", // Usually your repo name. + projectName: "waveterm-docs", // Usually your repo name. deploymentBranch: "main", onBrokenLinks: "throw", @@ -36,6 +36,9 @@ const config: Config = { { path: "docs", routeBasePath: "/", + editUrl: !process.env.EMBEDDED + ? "https://github.com/wavetermdev/waveterm-docs/edit/main/docs/" + : undefined, } as import("@docusaurus/plugin-content-docs").Options, ], "ideal-image", diff --git a/package.json b/package.json index 389388e..d7e08b4 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "waveterm-docs-new", + "name": "waveterm-docs", "version": "0.0.0", "scripts": { "docusaurus": "docusaurus", diff --git a/yarn.lock b/yarn.lock index 6fcb18e..82dd192 100644 --- a/yarn.lock +++ b/yarn.lock @@ -13623,9 +13623,9 @@ __metadata: languageName: node linkType: hard -"waveterm-docs-new@workspace:.": +"waveterm-docs@workspace:.": version: 0.0.0-use.local - resolution: "waveterm-docs-new@workspace:." + resolution: "waveterm-docs@workspace:." dependencies: "@docusaurus/core": "npm:3.5.2" "@docusaurus/module-type-aliases": "npm:3.5.2"