Skip to content
This repository was archived by the owner on Nov 6, 2024. It is now read-only.

Add edit url to hosted docsite #57

Merged
merged 1 commit into from
Oct 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "waveterm-docs-new",
"name": "waveterm-docs",
"version": "0.0.0",
"scripts": {
"docusaurus": "docusaurus",
Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down