Basic tutorial added to docs

This commit is contained in:
Kurt Hutten
2021-04-15 17:51:29 +10:00
parent 2a1b8f4039
commit 5bf8ab266a
60 changed files with 1634 additions and 319 deletions

View File

@@ -1,14 +1,15 @@
/** @type {import('@docusaurus/types').DocusaurusConfig} */
module.exports = {
title: 'My Site',
tagline: 'The tagline of my site',
tagline: 'Pushing the advent of CodeCad',
url: 'https://your-docusaurus-test-site.com',
baseUrl: '/',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
favicon: 'img/favicon.ico',
organizationName: 'facebook', // Usually your GitHub org/user name.
projectName: 'docusaurus', // Usually your repo name.
organizationName: 'IrevDev', // Usually your GitHub org/user name.
projectName: 'Cadhub', // Usually your repo name.
plugins: ['@docusaurus/plugin-ideal-image'],
themeConfig: {
navbar: {
title: 'My Site',
@@ -23,9 +24,9 @@ module.exports = {
label: 'Docs',
position: 'left',
},
{to: 'blog', label: 'Blog', position: 'left'},
{ to: 'blog', label: 'Blog', position: 'left' },
{
href: 'https://github.com/facebook/docusaurus',
href: 'https://github.com/Irev-Dev/cadhub',
label: 'GitHub',
position: 'right',
},
@@ -47,16 +48,16 @@ module.exports = {
title: 'Community',
items: [
{
label: 'Stack Overflow',
href: 'https://stackoverflow.com/questions/tagged/docusaurus',
label: 'Road Map',
href: 'https://github.com/Irev-Dev/cadhub/discussions/212',
},
{
label: 'Discord',
href: 'https://discordapp.com/invite/docusaurus',
href: 'https://discord.gg/SD7zFRNjGH',
},
{
label: 'Twitter',
href: 'https://twitter.com/docusaurus',
href: 'https://twitter.com/IrevDev',
},
],
},
@@ -69,12 +70,12 @@ module.exports = {
},
{
label: 'GitHub',
href: 'https://github.com/facebook/docusaurus',
href: 'https://github.com/Irev-Dev/cadhub',
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} My Project, Inc. Built with Docusaurus.`,
copyright: `Copyright © ${new Date().getFullYear()} Kurt Hutten. Built with Docusaurus.`,
},
},
presets: [
@@ -83,13 +84,11 @@ module.exports = {
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
// Please change this to your repo.
editUrl:
'https://github.com/facebook/docusaurus/edit/master/website/',
},
blog: {
showReadingTime: true,
// Please change this to your repo.
editUrl:
'https://github.com/facebook/docusaurus/edit/master/website/blog/',
},
@@ -99,4 +98,4 @@ module.exports = {
},
],
],
};
}