From 93bbb5751ea4d64a1322af5d457afacc79bc84e9 Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Mon, 28 Feb 2022 23:50:38 -0600 Subject: [PATCH] Added stub for API --- .gitignore | 1 + .vitepress/config.js | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index d3428158..1c879fd9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ node_modules .vitepress/dist +api diff --git a/.vitepress/config.js b/.vitepress/config.js index 0c1bd4c8..d79a4c7e 100644 --- a/.vitepress/config.js +++ b/.vitepress/config.js @@ -14,11 +14,13 @@ module.exports = { lastUpdated: 'Last Updated', nav: [ { text: "Guide", link: "/guide/", activeMatch: "^/guide/" }, + { text: "API", link: "/api/", activeMatch: "^/api/" }, { text: "Forums", link: "https://forums.moddingtree.com" }, { text: "Discord", link: "https://discord.gg/F3xveHV" }, { text: "Github", link: "https://github.com/profectus-engine/Profectus" } ], - sidebar: [ + sidebar: { + "/guide/": [ { text: "Guide", children: [ @@ -30,6 +32,7 @@ module.exports = { text: "Creating Features", children: [] } - ] + ], + } } }