move some docs to the website (#9347)

* move some docs to the website

* update expected test value

* link to new documentation locations
This commit is contained in:
chris48s
2023-07-24 12:20:43 +01:00
committed by GitHub
parent 436f3a1a3f
commit d882433fd9
13 changed files with 99 additions and 58 deletions

View File

@@ -31,11 +31,11 @@ const config = {
({
docs: {
sidebarPath: require.resolve('./sidebars.cjs'),
editUrl: 'https://github.com/badges/shields/',
editUrl: 'https://github.com/badges/shields/tree/master/frontend',
},
blog: {
showReadingTime: true,
editUrl: 'https://github.com/badges/shields/',
editUrl: 'https://github.com/badges/shields/tree/master/frontend',
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
@@ -60,7 +60,13 @@ const config = {
},
items: [
{ to: '/badges', label: 'Badges', position: 'left' },
{
to: '/docs',
label: 'Documentation',
position: 'left',
},
{ to: '/community', label: 'Community', position: 'left' },
{ to: '/blog', label: 'Blog', position: 'left' },
{
href: 'https://github.com/badges/shields',
label: 'GitHub',