Skip to content

Commit e93a929

Browse files
authored
Fix edit button in docs (#1356)
## Checklist - [ ] I have added [tests](https://www.cursorless.org/docs/contributing/test-case-recorder/) - [ ] I have updated the [docs](https://github.com/cursorless-dev/cursorless/tree/main/docs) and [cheatsheet](https://github.com/cursorless-dev/cursorless/tree/main/cursorless-talon/src/cheatsheet) - [ ] I have not broken the cheatsheet
1 parent 21e5cdc commit e93a929

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/cursorless-org-docs/docusaurus.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,9 @@ const config = {
9393
// Followed https://ricard.dev/how-to-set-docs-as-homepage-for-docusaurus/
9494
// to serve a markdown document on homepage
9595
routeBasePath: "/",
96+
// Note that we add dummy/dummy so that the `../..` above has something to strip
9697
editUrl:
97-
"https://github.com/cursorless-dev/cursorless/edit/main/docs/",
98+
"https://github.com/cursorless-dev/cursorless/edit/main/dummy/dummy",
9899
sidebarPath: require.resolve("./sidebar.js"),
99100
beforeDefaultRemarkPlugins: [
100101
remarkPluginFixLinksToRepositoryArtifacts,

0 commit comments

Comments
 (0)