Docs index page

This commit is contained in:
Ellie Huxtable 2023-02-26 00:15:14 +00:00
parent e660a4d4fe
commit 8a2fa44b01
4 changed files with 3 additions and 17 deletions

View File

@ -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: [],
}

View File

@ -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',
},
],
},

View File

@ -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>