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

View File

@ -14,7 +14,7 @@
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
const sidebars = {
// 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'}],
season2Sidebar: [{type: 'autogenerated', dirName: 'season2'}],
// But you can create a sidebar manually

View File

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