Fix docs edit link (#624)

* Fix docs edit link

* Update github links
This commit is contained in:
ahalekelly 2022-07-06 14:41:13 -07:00 committed by GitHub
parent e969540c72
commit 2591655269
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,8 +26,7 @@ const config = {
docs: { docs: {
routeBasePath: '/', routeBasePath: '/',
sidebarPath: require.resolve('./sidebars.js'), sidebarPath: require.resolve('./sidebars.js'),
// Please change this to your repo. editUrl: 'https://github.com/manifoldmarkets/manifold/tree/main/docs',
editUrl: 'https://github.com/manifoldmarkets/manifold/tree/main/docs/docs',
remarkPlugins: [math], remarkPlugins: [math],
rehypePlugins: [katex], rehypePlugins: [katex],
}, },
@ -72,7 +71,7 @@ const config = {
label: 'Docs', label: 'Docs',
}, },
{ {
href: 'https://github.com/manifoldmarkets/docs', href: 'https://github.com/manifoldmarkets/manifold/tree/main/docs/docs',
label: 'GitHub', label: 'GitHub',
position: 'right', position: 'right',
}, },
@ -116,7 +115,7 @@ const config = {
}, },
{ {
label: 'GitHub', label: 'GitHub',
href: 'https://github.com/manifoldmarkets/docs', href: 'https://github.com/manifoldmarkets/manifold/',
}, },
], ],
}, },