Skip to content

Commit a4b8abf

Browse files
Reenabled github page edit link (#3491)
# Description of Changes The GitHub edit links were disabled in the new docs, this reenables them. # API and ABI breaking changes None # Expected complexity level and risk 1 # Testing <!-- Describe any testing you've done, and any testing you'd like your reviewers to do, so that you're confident that all the changes work as expected! --> - [x] Tested locally that this works.
1 parent 3863f20 commit a4b8abf

File tree

4 files changed

+455
-106
lines changed

4 files changed

+455
-106
lines changed

docs/docusaurus.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ const config: Config = {
9393
'classic',
9494
{
9595
docs: {
96+
editUrl: "https://github.com/clockworklabs/SpacetimeDB/edit/master/docs/",
9697
routeBasePath: '/',
9798
sidebarPath: './sidebars.ts',
9899
sidebarCollapsed: false,

docs/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
},
1717
"dependencies": {
1818
"@docusaurus/core": "3.9.1",
19+
"@docusaurus/plugin-content-docs": "^3.9.2",
1920
"@docusaurus/preset-classic": "3.9.1",
2021
"@docusaurus/theme-common": "^3.9.1",
2122
"@easyops-cn/docusaurus-search-local": "^0.49.2",

docs/src/css/custom.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -299,10 +299,6 @@ strong {
299299
color: var(--clockworklabs-strong-color);
300300
}
301301

302-
footer {
303-
display: none;
304-
}
305-
306302
.tabs__item {
307303
border-bottom-width: 1px;
308304
}

0 commit comments

Comments
 (0)