Made docs to wiki

This commit is contained in:
Alexander Bell 2024-07-02 02:57:31 +02:00
parent 0f6afaef46
commit 4aca9f3a43
4 changed files with 5 additions and 5 deletions

View File

@ -71,7 +71,7 @@ const config = {
type: 'docSidebar', type: 'docSidebar',
sidebarId: 'documentationSidebar', sidebarId: 'documentationSidebar',
position: 'left', position: 'left',
label: 'Docs', label: 'Wiki',
}, },
{ {
type: 'docSidebar', type: 'docSidebar',
@ -115,11 +115,11 @@ const config = {
items: [ items: [
{ {
label: 'About the server', label: 'About the server',
to: '/docs/documentation/about', to: '/docs/wiki/about',
}, },
{ {
label: 'Tutorials', label: 'Tutorials',
to: '/docs/documentation/about', to: '/docs/wiki/about',
} }
], ],
}, },

View File

@ -14,7 +14,7 @@
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */ /** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
const sidebars = { const sidebars = {
// By default, Docusaurus generates a sidebar from the docs folder structure // By default, Docusaurus generates a sidebar from the docs folder structure
documentationSidebar: [{type: 'autogenerated', dirName: 'documentation'}], documentationSidebar: [{type: 'autogenerated', dirName: 'wiki'}],
season1Sidebar: [{type: 'autogenerated', dirName: 'season1'}], season1Sidebar: [{type: 'autogenerated', dirName: 'season1'}],
season2Sidebar: [{type: 'autogenerated', dirName: 'season2'}], season2Sidebar: [{type: 'autogenerated', dirName: 'season2'}],
// But you can create a sidebar manually // But you can create a sidebar manually

View File

@ -19,7 +19,7 @@ function HomepageHeader() {
<div className={styles.buttons}> <div className={styles.buttons}>
<Link <Link
className="button button--secondary button--lg" className="button button--secondary button--lg"
to="/docs/documentation/about"> to="/docs/wiki/about">
About the server About the server
</Link> &emsp;&emsp; </Link> &emsp;&emsp;
<Link <Link