chore: Routing Refactor (#3)

* scrape with 1:1 mapping to origin repo

* exclude .md extension from file path in URLs inside MDs

* removed legacy static files

* remove image path manipulation

* move scrapper to new folder

* sidebar custom ordering implemented
This commit is contained in:
Filip Pajic
2024-04-25 09:29:22 +02:00
committed by GitHub
parent ac48b3aa6f
commit 32f0947064
14 changed files with 178 additions and 20 deletions

View File

@@ -1,6 +1,7 @@
// @ts-check
// Note: type annotations allow type checking and IDEs autocompletion
require('dotenv').config()
const { sidebarItemsGenerator } = require("./docusaurus-utils/sidebar/generator")
/** @type {import('@docusaurus/types').Config} */
const config = {
@@ -29,6 +30,7 @@ const config = {
id: 'codex',
path: 'codex',
routeBasePath: 'codex',
sidebarItemsGenerator,
},
],
[
@@ -37,6 +39,7 @@ const config = {
id: 'nomos',
path: 'nomos',
routeBasePath: 'nomos',
sidebarItemsGenerator,
},
],
[
@@ -45,6 +48,7 @@ const config = {
id: 'status',
path: 'status',
routeBasePath: 'status',
sidebarItemsGenerator,
},
],
[
@@ -53,6 +57,7 @@ const config = {
id: 'vac',
path: 'vac',
routeBasePath: 'vac',
sidebarItemsGenerator,
},
],
[
@@ -61,6 +66,7 @@ const config = {
id: 'waku',
path: 'waku',
routeBasePath: 'waku',
sidebarItemsGenerator,
},
],
],