mirror of
https://github.com/wavetermdev/waveterm-docs.git
synced 2026-08-05 13:45:23 -07:00
Add edit url to hosted docsite (#57)
This commit is contained in:
@@ -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
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "waveterm-docs-new",
|
||||
"name": "waveterm-docs",
|
||||
"version": "0.0.0",
|
||||
"scripts": {
|
||||
"docusaurus": "docusaurus",
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user