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} */ /** @type {import('@docusaurus/types').Config} */
const config = { const config = {
title: 'My Site', title: 'Modular Avatar',
tagline: 'Dinosaurs are cool', tagline: 'Drag-and-drop avatar assembly',
url: 'https://your-docusaurus-test-site.com', url: 'https://modular-avatar.fushizen.net',
baseUrl: '/', baseUrl: '/',
onBrokenLinks: 'throw', onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn', onBrokenMarkdownLinks: 'warn',
@ -77,42 +77,15 @@ const config = {
footer: { footer: {
style: 'dark', style: 'dark',
links: [ links: [
{
title: 'Docs',
items: [
{ {
label: 'Documentation', label: 'Documentation',
to: '/docs/intro', 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', label: 'GitHub',
href: 'https://github.com/bdunderscore/modular-avatar', href: 'https://github.com/bdunderscore/modular-avatar',
}, },
], ],
},
],
copyright: `Copyright © ${new Date().getFullYear()} bd_. Built with Docusaurus.`, copyright: `Copyright © ${new Date().getFullYear()} bd_. Built with Docusaurus.`,
}, },
prism: { prism: {

View File

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

View File

@ -18,7 +18,7 @@ function HomepageHeader() {
<Link <Link
className="button button--secondary button--lg" className="button button--secondary button--lg"
to="/docs/intro"> to="/docs/intro">
Docusaurus Tutorial - 5min Documentation
</Link> </Link>
</div> </div>
</div> </div>