Add edit url to hosted docsite (#57)

This commit is contained in:
Evan Simkowitz
2024-10-07 09:24:47 -07:00
committed by GitHub
parent f79a230ea9
commit 59029bbdbf
3 changed files with 7 additions and 4 deletions
+4 -1
View File
@@ -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",
+1 -1
View File
@@ -1,5 +1,5 @@
{
"name": "waveterm-docs-new",
"name": "waveterm-docs",
"version": "0.0.0",
"scripts": {
"docusaurus": "docusaurus",
+2 -2
View File
@@ -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"