diff options
author | Ellie Huxtable <ellie@elliehuxtable.com> | 2023-02-26 00:15:14 +0000 |
---|---|---|
committer | Ellie Huxtable <ellie@elliehuxtable.com> | 2023-02-26 00:15:14 +0000 |
commit | 8a2fa44b01b5a8a472dd592905ca0330f91b3199 (patch) | |
tree | f86bc04194fa98b1c35e1b28c444c07151b8899f | |
parent | e660a4d4fe52f09197d75b329a9b74e2d67850af (diff) |
Docs index page
-rw-r--r-- | docs/docs/index.md (renamed from docs/docs/setup/setup.md) | 0 | ||||
-rw-r--r-- | docs/docs/tailwind.config.js | 14 | ||||
-rw-r--r-- | docs/docusaurus.config.js | 4 | ||||
-rw-r--r-- | docs/src/pages/index.js | 2 |
4 files changed, 3 insertions, 17 deletions
diff --git a/docs/docs/setup/setup.md b/docs/docs/index.md index 3ebeabe8..3ebeabe8 100644 --- a/docs/docs/setup/setup.md +++ b/docs/docs/index.md diff --git a/docs/docs/tailwind.config.js b/docs/docs/tailwind.config.js deleted file mode 100644 index 94754f54..00000000 --- a/docs/docs/tailwind.config.js +++ /dev/null @@ -1,14 +0,0 @@ -// tailwind.config.js -/** @type {import('tailwindcss').Config} */ -module.exports = { - corePlugins: { - preflight: false, // disable Tailwind's reset - }, - content: ["./src/**/*.{js,jsx,ts,tsx}", "../docs/**/*.mdx"], // my markdown stuff is in ../docs, not /src - darkMode: ['class', '[data-theme="dark"]'], // hooks into docusaurus' dark mode settigns - - theme: { - extend: {}, - }, - plugins: [], -} diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index 1eb08e73..ffd46af9 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -70,7 +70,7 @@ const config = { items: [ { type: 'doc', - docId: 'setup/setup', + docId: 'index', position: 'left', label: 'Docs', }, @@ -90,7 +90,7 @@ const config = { items: [ { label: 'Setup', - to: '/docs/setup', + to: '/docs', }, ], }, diff --git a/docs/src/pages/index.js b/docs/src/pages/index.js index 08500787..e81ebba5 100644 --- a/docs/src/pages/index.js +++ b/docs/src/pages/index.js @@ -19,7 +19,7 @@ function HomepageHeader() { <div className={styles.buttons}> <Link className="button button--primary button--lg" - to="/docs/setup"> + to="/docs"> Get Started </Link> </div> |