diff --git a/docs/999.reference/tutorial-basics/congratulations.md b/docs/999.reference/tutorial-basics/congratulations.md index 04771a0..6cab10d 100644 --- a/docs/999.reference/tutorial-basics/congratulations.md +++ b/docs/999.reference/tutorial-basics/congratulations.md @@ -1,5 +1,6 @@ --- sidebar_position: 6 +draft: true --- # Congratulations! diff --git a/docs/999.reference/tutorial-basics/create-a-blog-post.md b/docs/999.reference/tutorial-basics/create-a-blog-post.md index 550ae17..0a697a9 100644 --- a/docs/999.reference/tutorial-basics/create-a-blog-post.md +++ b/docs/999.reference/tutorial-basics/create-a-blog-post.md @@ -1,11 +1,14 @@ --- sidebar_position: 3 +draft: true --- # Create a Blog Post Docusaurus creates a **page for each blog post**, but also a **blog index page**, a **tag system**, an **RSS** feed... +Primary + ## Create your first Post Create a file at `blog/2021-02-28-greetings.md`: diff --git a/docs/999.reference/tutorial-basics/create-a-document.md b/docs/999.reference/tutorial-basics/create-a-document.md index c22fe29..635d42a 100644 --- a/docs/999.reference/tutorial-basics/create-a-document.md +++ b/docs/999.reference/tutorial-basics/create-a-document.md @@ -1,5 +1,6 @@ --- sidebar_position: 2 +draft: true --- # Create a Document @@ -43,7 +44,7 @@ It is also possible to create your sidebar explicitly in `sidebars.js`: ```js title="sidebars.js" export default { - tutorialSidebar: [ + docsSidebar: [ 'intro', // highlight-next-line 'hello', diff --git a/docs/999.reference/tutorial-basics/create-a-page.md b/docs/999.reference/tutorial-basics/create-a-page.md index 20e2ac3..c0555e9 100644 --- a/docs/999.reference/tutorial-basics/create-a-page.md +++ b/docs/999.reference/tutorial-basics/create-a-page.md @@ -1,5 +1,6 @@ --- sidebar_position: 1 +draft: true --- # Create a Page diff --git a/docs/999.reference/tutorial-basics/deploy-your-site.md b/docs/999.reference/tutorial-basics/deploy-your-site.md index 1c50ee0..10b8aea 100644 --- a/docs/999.reference/tutorial-basics/deploy-your-site.md +++ b/docs/999.reference/tutorial-basics/deploy-your-site.md @@ -1,5 +1,6 @@ --- sidebar_position: 5 +draft: true --- # Deploy your site diff --git a/docs/999.reference/tutorial-extras/manage-docs-versions.md b/docs/999.reference/tutorial-extras/manage-docs-versions.md index ccda0b9..ae95ed0 100644 --- a/docs/999.reference/tutorial-extras/manage-docs-versions.md +++ b/docs/999.reference/tutorial-extras/manage-docs-versions.md @@ -1,5 +1,6 @@ --- sidebar_position: 1 +draft: true --- # Manage Docs Versions diff --git a/docs/999.reference/tutorial-extras/translate-your-site.md b/docs/999.reference/tutorial-extras/translate-your-site.md index b5a644a..2554fa0 100644 --- a/docs/999.reference/tutorial-extras/translate-your-site.md +++ b/docs/999.reference/tutorial-extras/translate-your-site.md @@ -1,5 +1,6 @@ --- sidebar_position: 2 +draft: true --- # Translate your site diff --git a/docs/intro.md b/docs/intro.md index 9f1f326..ab63ead 100644 --- a/docs/intro.md +++ b/docs/intro.md @@ -1,13 +1,13 @@ --- sidebar_position: 1 +draft: true + --- -# Introduction +# Getting Started This documentation site help you configure and understand all about SteelRacing custom AC Mods. -## Getting Started - Get started by navigating through the **left menu**. Choose a section you need to know more about and start learning to customize the mod as you want. diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 6934cec..cef964f 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -9,7 +9,7 @@ const projectName = "steel-docs-ac" const config: Config = { title: "Steel AC", - tagline: "Dinosaurs are cool", + tagline: "Assetto Corsa Modding Tools made simple.", favicon: "img/favicon.ico", // Set the production url of your site here @@ -62,13 +62,18 @@ const config: Config = { themeConfig: { // Replace with your project's social card image: "img/docusaurus-social-card.jpg", + colorMode: { + defaultMode: "dark", + disableSwitch: false, + respectPrefersColorScheme: true, + }, docs: { sidebar: { autoCollapseCategories: true, }, }, navbar: { - title: "My Site", + title: "SteelRacing AC", logo: { alt: "My Site Logo", src: "img/logo.svg", @@ -76,13 +81,13 @@ const config: Config = { items: [ { type: "docSidebar", - sidebarId: "tutorialSidebar", + sidebarId: "docsSidebar", position: "left", label: "Docs", }, { to: "/blog", label: "Blog", position: "left" }, { - href: "https://github.com/facebook/docusaurus", + href: "https://github.com/steel89ita/steel-docs-ac", label: "GitHub", position: "right", }, diff --git a/sidebars.ts b/sidebars.ts index 1392525..db19464 100644 --- a/sidebars.ts +++ b/sidebars.ts @@ -12,7 +12,7 @@ import type {SidebarsConfig} from '@docusaurus/plugin-content-docs'; */ const sidebars: SidebarsConfig = { // By default, Docusaurus generates a sidebar from the docs folder structure - tutorialSidebar: [ + docsSidebar: [ { type: "autogenerated", dirName: "." } ], diff --git a/src/css/custom.css b/src/css/custom.css index 2bc6a4c..14a936b 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -5,9 +5,9 @@ */ /* You can override the default Infima variables here. */ -:root { - --ifm-color-primary: #2e8555; - --ifm-color-primary-dark: #29784c; +/* :root { + --ifm-color-primary: hsl(214, 66%, 34%); + --ifm-color-primary-dark: hsl(147, 49%, 32%); --ifm-color-primary-darker: #277148; --ifm-color-primary-darkest: #205d3b; --ifm-color-primary-light: #33925d; @@ -15,10 +15,10 @@ --ifm-color-primary-lightest: #3cad6e; --ifm-code-font-size: 95%; --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1); -} +} */ /* For readability concerns, you should choose a lighter palette in dark mode. */ -[data-theme='dark'] { +/* [data-theme='dark'] { --ifm-color-primary: #25c2a0; --ifm-color-primary-dark: #21af90; --ifm-color-primary-darker: #1fa588; @@ -27,4 +27,4 @@ --ifm-color-primary-lighter: #32d8b4; --ifm-color-primary-lightest: #4fddbf; --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3); -} +} */ diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 400a3e1..df40160 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -20,7 +20,7 @@ function HomepageHeader() { - Docusaurus Tutorial - 5min ⏱️ + Take a look - 5min ⏱