Docs updates

This commit is contained in:
bd_ 2022-09-09 17:52:40 -07:00
parent d71192f14d
commit e30e35618a
4 changed files with 17 additions and 52 deletions

View File

@ -1,7 +0,0 @@
---
sidebar_position: 2
---
# test
test

View File

@ -6,9 +6,9 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula');
/** @type {import('@docusaurus/types').Config} */
const config = {
title: 'My Site',
tagline: 'Dinosaurs are cool',
url: 'https://your-docusaurus-test-site.com',
title: 'Modular Avatar',
tagline: 'Drag-and-drop avatar assembly',
url: 'https://modular-avatar.fushizen.net',
baseUrl: '/',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
@ -78,39 +78,12 @@ const config = {
style: 'dark',
links: [
{
title: 'Docs',
items: [
{
label: 'Documentation',
to: '/docs/intro',
},
],
label: 'Documentation',
to: '/docs/intro',
},
{
title: 'Community',
items: [
{
label: 'Stack Overflow',
href: 'https://stackoverflow.com/questions/tagged/docusaurus',
},
{
label: 'Discord',
href: 'https://discordapp.com/invite/docusaurus',
},
{
label: 'Twitter',
href: 'https://twitter.com/docusaurus',
},
],
},
{
title: 'More',
items: [
{
label: 'GitHub',
href: 'https://github.com/bdunderscore/modular-avatar',
},
],
label: 'GitHub',
href: 'https://github.com/bdunderscore/modular-avatar',
},
],
copyright: `Copyright © ${new Date().getFullYear()} bd_. Built with Docusaurus.`,

View File

@ -10,32 +10,31 @@ type FeatureItem = {
const FeatureList: FeatureItem[] = [
{
title: 'Easy to Use',
title: 'Drag and Drop assembly',
Svg: require('@site/static/img/undraw_docusaurus_mountain.svg').default,
description: (
<>
Docusaurus was designed from the ground up to be easily installed and
used to get your website up and running quickly.
Modular avatar merges components at build time. Never again will you forget to click 'install' or 'uninstall'
when editing your avatar!
</>
),
},
{
title: 'Focus on What Matters',
title: 'Organize your animators',
Svg: require('@site/static/img/undraw_docusaurus_tree.svg').default,
description: (
<>
Docusaurus lets you focus on your docs, and we&apos;ll do the chores. Go
ahead and move your docs into the <code>docs</code> directory.
Split your avatar's FX animator into multiple sub-animators, and merge at runtime. Keep the animation edit
dropdown tidy!
</>
),
},
{
title: 'Powered by React',
title: 'Perfect for prefabs',
Svg: require('@site/static/img/undraw_docusaurus_react.svg').default,
description: (
<>
Extend or customize your website layout by reusing React. Docusaurus can
be extended while reusing the same header and footer.
Embed modular avatar components in your prefabs to make installation a breeze!
</>
),
},

View File

@ -18,7 +18,7 @@ function HomepageHeader() {
<Link
className="button button--secondary button--lg"
to="/docs/intro">
Docusaurus Tutorial - 5min
Documentation
</Link>
</div>
</div>
@ -34,7 +34,7 @@ export default function Home(): JSX.Element {
description="Description will go into a meta tag in <head />">
<HomepageHeader />
<main>
<HomepageFeatures />
<HomepageFeatures />
</main>
</Layout>
);