1
0
Fork 0

[org] fix: Edit link should go to codeberg. Closes #213

This commit is contained in:
joostdecock 2025-04-06 17:29:52 +02:00 committed by Joost De Cock
parent 96bce2ef7c
commit 0360339ed3

View file

@ -200,7 +200,7 @@ const config = {
docs: { docs: {
routeBasePath: '/', //'/docs', routeBasePath: '/', //'/docs',
sidebarPath: './sidebars.js', sidebarPath: './sidebars.js',
editUrl: 'https://github.com/freesewing/freesewing/tree/v4/sites/org/', editUrl: 'https://codeberg.org/freesewing/freesewing/src/branch/develop/sites/org/',
async sidebarItemsGenerator({ defaultSidebarItemsGenerator, ...args }) { async sidebarItemsGenerator({ defaultSidebarItemsGenerator, ...args }) {
const sidebarItems = await defaultSidebarItemsGenerator(args) const sidebarItems = await defaultSidebarItemsGenerator(args)
return customizeSidebar(sidebarItems) return customizeSidebar(sidebarItems)
@ -213,7 +213,7 @@ const config = {
blog: { blog: {
path: 'blog', path: 'blog',
// Simple use-case: string editUrl // Simple use-case: string editUrl
editUrl: 'https://github.com/freesewing/freesewing/site/orgdocs/', editUrl: 'https://codeberg.org/freesewing/freesewing/src/branch/develop/sites/org/',
editLocalizedFiles: false, editLocalizedFiles: false,
blogTitle: 'FreeSewing Blog', blogTitle: 'FreeSewing Blog',
blogDescription: 'News and updates from the people behind FreeSewing', blogDescription: 'News and updates from the people behind FreeSewing',
@ -310,7 +310,7 @@ const config = {
], ],
}, },
], ],
copyright: `<a href="https://freesewing.org/">FreeSewing</a> is brought to you by <a href="https://github.com/joostdecock">Joost De Cock</a> and <a href="https://github.com/freesewing/freesewing/blob/develop/CONTRIBUTORS.md">contributors</a> with the financial support of <a href="/patrons/join">our patrons</a>`, copyright: `<a href="https://freesewing.org/">FreeSewing</a> is brought to you by <a href="https://codeberg.org/joostdecock">Joost De Cock</a> and <a href="https://codeberg.org/freesewing/freesewing/src/branch/develop/CONTRIBUTORS.md">contributors</a> with the financial support of <a href="/patrons/join">our patrons</a>`,
}, },
prism: { prism: {
theme: prismThemes.dracula, theme: prismThemes.dracula,