1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-20 05:19:38 +02:00

Add support link to documentation and format sidebar configuration

This commit is contained in:
Sean Morley 2024-11-11 23:38:35 -05:00
parent adb92a1d41
commit 0a7704aade
2 changed files with 7 additions and 2 deletions

View file

@ -77,6 +77,11 @@ const config: Config = {
position: "left", position: "left",
label: "Documentation", label: "Documentation",
}, },
{
to: "https://www.buymeacoffee.com/seanmorley15",
label: "Support AdventureLog 💖",
position: "right",
},
// { to: "/blog", label: "Blog", position: "left" }, // { to: "/blog", label: "Blog", position: "left" },
{ {
to: "https://github.com/seanmorley15/adventurelog", to: "https://github.com/seanmorley15/adventurelog",

View file

@ -1,4 +1,4 @@
import type {SidebarsConfig} from '@docusaurus/plugin-content-docs'; import type { SidebarsConfig } from "@docusaurus/plugin-content-docs";
/** /**
* Creating a sidebar enables you to: * Creating a sidebar enables you to:
@ -12,7 +12,7 @@ import type {SidebarsConfig} from '@docusaurus/plugin-content-docs';
*/ */
const sidebars: SidebarsConfig = { const sidebars: SidebarsConfig = {
// By default, Docusaurus generates a sidebar from the docs folder structure // By default, Docusaurus generates a sidebar from the docs folder structure
tutorialSidebar: [{type: 'autogenerated', dirName: '.'}], tutorialSidebar: [{ type: "autogenerated", dirName: "." }],
// But you can create a sidebar manually // But you can create a sidebar manually
/* /*