Docs index page
This commit is contained in:
parent
e660a4d4fe
commit
8a2fa44b01
4 changed files with 3 additions and 17 deletions
|
@ -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: [],
|
||||
}
|
|
@ -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',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue