From 77c399278913cf2ecc09376db85f76cdeda2b1f6 Mon Sep 17 00:00:00 2001 From: amirhouieh Date: Sun, 9 Oct 2022 11:26:53 +0200 Subject: [PATCH] fix routing --- docs/{intro.md => how.md} | 2 +- docs/{home.mdx => index.mdx} | 1 + docusaurus.config.js | 8 +------- 3 files changed, 3 insertions(+), 8 deletions(-) rename docs/{intro.md => how.md} (99%) rename docs/{home.mdx => index.mdx} (99%) diff --git a/docs/intro.md b/docs/how.md similarity index 99% rename from docs/intro.md rename to docs/how.md index b9b3ab4..bb020ed 100644 --- a/docs/intro.md +++ b/docs/how.md @@ -1,5 +1,5 @@ --- -sidebar_position: 1 +sidebar_position: 2 --- # How to use Codex diff --git a/docs/home.mdx b/docs/index.mdx similarity index 99% rename from docs/home.mdx rename to docs/index.mdx index a65bbfd..de74631 100644 --- a/docs/home.mdx +++ b/docs/index.mdx @@ -1,5 +1,6 @@ --- sidebar_position: 1 +title: Home --- import {Hero} from '@site/src/components/mdx/Hero'; import {FeatureList} from '@site/src/components/mdx/FeatureList'; diff --git a/docusaurus.config.js b/docusaurus.config.js index 3c997ee..4fa8aeb 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -70,17 +70,11 @@ const config = { items: [ { type: 'doc', - docId: 'intro', + docId: 'index', position: 'left', href: 'https://blog.codex.storage/', label: 'Blog', }, - // { - // href: 'https://github.com/facebook/docusaurus', - // position: 'right', - // className: 'header-github-link', - // 'aria-label': 'GitHub repository', - // }, { type: 'localeDropdown', position: 'right',