aboutsummaryrefslogtreecommitdiff
path: root/docusaurus.config.js
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-04-12 19:38:17 -0700
committerFuwn <[email protected]>2021-04-12 19:38:17 -0700
commitd85fce7102e313179d9edd9a5821cb9e30d8c735 (patch)
tree5e67cd66bdf71c5b1d7680f981b0edf779431610 /docusaurus.config.js
parentfix: Grammer (diff)
downloadsite-d85fce7102e313179d9edd9a5821cb9e30d8c735.tar.xz
site-d85fce7102e313179d9edd9a5821cb9e30d8c735.zip
feature: Make navigation bar look nice
Diffstat (limited to 'docusaurus.config.js')
-rw-r--r--docusaurus.config.js41
1 files changed, 38 insertions, 3 deletions
diff --git a/docusaurus.config.js b/docusaurus.config.js
index ecee414..3bc7460 100644
--- a/docusaurus.config.js
+++ b/docusaurus.config.js
@@ -17,9 +17,37 @@ module.exports = {
title: 'Whirlsplash',
logo: { alt: 'Whirlsplash logo', src: 'img/Whirl.png', },
items: [
- { to: 'docs/', activeBasePath: 'docs', label: 'Docs', position: 'left', },
+ {
+ to: 'docs/',
+ activeBasePath: 'docs',
+ label: 'Docs',
+ position: 'left',
+ },
{ to: 'blog', label: 'Blog', position: 'left' },
- { href: 'https://github.com/whirlsplash/site', label: 'GitHub', position: 'right', },
+ {
+ type: 'docsVersionDropdown',
+ position: 'right',
+ dropdownItemsBefore: [],
+ dropdownItemsAfter: [ { to: '/versions', label: 'All versions', }, ],
+ dropdownActiveClassDisabled: true,
+ docsPluginId: 'default',
+ },
+ {
+ type: 'localeDropdown',
+ position: 'right',
+ dropdownItemsBefore: [],
+ dropdownItemsAfter: [
+ {
+ to: 'https://github.com/whirlsplash/site',
+ label: 'Help us translate!',
+ },
+ ],
+ },
+ {
+ href: 'https://github.com/whirlsplash/site',
+ label: 'GitHub',
+ position: 'right',
+ },
],
},
@@ -28,7 +56,13 @@ module.exports = {
links: [
{
title: 'Docs',
- items: [ { label: 'Getting Started', to: 'docs/', }, ],
+ items: [
+ { label: 'Getting Started', to: 'docs/', },
+ {
+ label: 'Technical Information',
+ to: 'docs/worldserver-protocol/packet-information',
+ },
+ ],
},
{
title: 'Community',
@@ -45,6 +79,7 @@ module.exports = {
],
},
],
+ copyright: `Copyleft © ${new Date().getFullYear()} Whirlsplash`,
},
colorMode: {