Skip to content

Commit f3796c4

Browse files
authored
fix: update edit URL and replace social card image (#67)
Closes https://linear.app/defi-wonderland/issue/CHA-364/reduce-cover-image-size-fix-edit-link-url <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Updated "edit this page" links in documentation to point to specific subdirectories for improved accuracy. * Changed the social media preview image format for the Optimism site from PNG to JPG. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent c52627d commit f3796c4

5 files changed

Lines changed: 4 additions & 4 deletions

File tree

sites/optimism/docusaurus.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const localConfig: Config = {
2424
{
2525
docs: {
2626
sidebarPath: "./sidebars.ts",
27-
editUrl: "https://github.com/defi-wonderland/handbook/tree/main/",
27+
editUrl: "https://github.com/defi-wonderland/handbook/tree/main/sites/optimism",
2828
showLastUpdateTime: true,
2929
showLastUpdateAuthor: true,
3030
},
@@ -40,7 +40,7 @@ const localConfig: Config = {
4040
],
4141

4242
themeConfig: {
43-
image: "img/op-social-card.png",
43+
image: "img/op-social-card.jpg",
4444
navbar: {
4545
title: "",
4646
logo: {
45.1 KB
Loading
-1.34 MB
Binary file not shown.

sites/template/docusaurus.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const localConfig: Config = {
3232
sidebarPath: "./sidebars.ts",
3333
// Please change this to your repo.
3434
// Remove this to remove the 'edit this page' links.
35-
editUrl: "https://github.com/defi-wonderland/handbook/tree/main/",
35+
editUrl: "https://github.com/defi-wonderland/handbook/tree/main/sites/template",
3636
remarkPlugins: [remarkMath],
3737
rehypePlugins: [rehypeKatex],
3838
},

sites/wonderland/docusaurus.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const localConfig: Config = {
3232
sidebarPath: "./sidebars.ts",
3333
// Please change this to your repo.
3434
// Remove this to remove the 'edit this page' links.
35-
editUrl: "https://github.com/defi-wonderland/handbook/tree/main/",
35+
editUrl: "https://github.com/defi-wonderland/handbook/tree/main/sites/wonderland",
3636
remarkPlugins: [remarkMath],
3737
rehypePlugins: [rehypeKatex],
3838
},

0 commit comments

Comments
 (0)