-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor Astro config and rename FPV Mario AIO file
- Loading branch information
1 parent
afe0178
commit 0738efc
Showing
2 changed files
with
144 additions
and
151 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,158 +1,145 @@ | ||
import { defineConfig } from "astro/config"; | ||
import starlight from "@astrojs/starlight"; | ||
import { defineConfig } from "astro/config"; | ||
|
||
import tailwind from "@astrojs/tailwind"; | ||
|
||
// https://astro.build/config | ||
export default defineConfig({ | ||
site: "https://docs.openipc.org", | ||
base: "/", | ||
integrations: [ | ||
starlight({ | ||
title: "Documentation", | ||
customCss: ["./src/tailwind.css"], | ||
social: { | ||
github: "https://github.com/OpenIPC", | ||
}, | ||
logo: { | ||
light: "./src/assets/logo/OpenIPC__OPENIPC_logo_vertical.svg", | ||
dark: "./src/assets/logo/OpenIPC__OPENIPC_logo_vertical_white.svg", | ||
}, | ||
editLink: { | ||
baseUrl: "https://github.com/OpenIPC/docs/edit/main/", | ||
}, | ||
components: { | ||
// Relative path to the custom component. | ||
Head: "./src/components/Head.astro", | ||
}, | ||
sidebar: [ | ||
{ | ||
label: "Getting Started", | ||
items: [ | ||
{ | ||
label: "About the Project", | ||
link: "/getting-started/introduction/", | ||
}, | ||
{ | ||
label: "Quick Start", | ||
link: "/getting-started/quick-start/", | ||
badge: { text: "WIP", variant: "caution" }, | ||
}, | ||
{ | ||
label: "Roadmap", | ||
link: "/getting-started/roadmap/", | ||
}, | ||
], | ||
}, | ||
{ | ||
label: "Use Cases", | ||
items: [ | ||
{ | ||
label: "FPV (First Person View)", | ||
autogenerate: { | ||
directory: "/use-cases/fpv", | ||
}, | ||
badge: { text: "WIP", variant: "caution" }, | ||
}, | ||
{ | ||
label: "Home Automation", | ||
autogenerate: { | ||
directory: "/use-cases/home-automation", | ||
}, | ||
badge: { text: "WIP", variant: "caution" }, | ||
}, | ||
{ | ||
label: "Video Surveillance", | ||
autogenerate: { | ||
directory: "/use-cases/video-surveillance", | ||
}, | ||
badge: { text: "WIP", variant: "caution" }, | ||
}, | ||
], | ||
}, | ||
{ | ||
label: "Hardware", | ||
items: [ | ||
{ | ||
label: "Supported Hardware", | ||
link: "/hardware/supported-devices/", | ||
badge: { text: "WIP", variant: "caution" }, | ||
}, | ||
{ | ||
label: "Flashing Firmware", | ||
link: "/hardware/flashing-firmware/", | ||
badge: { text: "WIP", variant: "caution" }, | ||
}, | ||
{ | ||
label: "Troubleshooting Guide", | ||
link: "/hardware/troubleshooting/", | ||
badge: { text: "WIP", variant: "caution" }, | ||
}, | ||
], | ||
}, | ||
{ | ||
label: "Software", | ||
items: [ | ||
{ | ||
label: "Software Overview", | ||
link: "/software/software-overview/", | ||
badge: { text: "WIP", variant: "caution" }, | ||
}, | ||
{ | ||
label: "Configuration Details", | ||
link: "/software/configuration-details/", | ||
badge: { text: "WIP", variant: "caution" }, | ||
}, | ||
{ | ||
label: "Firmware Updates", | ||
link: "/software/firmware-updates/", | ||
badge: { text: "WIP", variant: "caution" }, | ||
}, | ||
], | ||
}, | ||
{ | ||
label: "Development", | ||
items: [ | ||
{ | ||
label: "Contribution Guidelines", | ||
link: "/development/contribution-guidelines/", | ||
badge: { text: "WIP", variant: "caution" }, | ||
}, | ||
{ | ||
label: "Projects & Applications", | ||
link: "/development/projects-applications/", | ||
badge: { text: "WIP", variant: "caution" }, | ||
}, | ||
], | ||
}, | ||
{ | ||
label: "Resources", | ||
items: [ | ||
{ | ||
label: "Frequently Asked Questions", | ||
link: "/resources/faq/", | ||
badge: { text: "WIP", variant: "caution" }, | ||
}, | ||
{ | ||
label: "Useful Links", | ||
link: "/resources/useful-links/", | ||
badge: { text: "WIP", variant: "caution" }, | ||
}, | ||
], | ||
}, | ||
{ | ||
label: "Reference", | ||
autogenerate: { | ||
directory: "reference", | ||
}, | ||
badge: { text: "WIP", variant: "caution" }, | ||
}, | ||
{ | ||
label: "Team", | ||
link: "/team/", | ||
}, | ||
], | ||
}), | ||
tailwind({ applyBaseStyles: false }), | ||
], | ||
site: "https://docs.openipc.org", | ||
base: "/", | ||
integrations: [ | ||
starlight({ | ||
title: "Documentation", | ||
customCss: ["./src/tailwind.css"], | ||
social: { | ||
github: "https://github.com/OpenIPC", | ||
}, | ||
logo: { | ||
light: "./src/assets/logo/OpenIPC__OPENIPC_logo_vertical.svg", | ||
dark: "./src/assets/logo/OpenIPC__OPENIPC_logo_vertical_white.svg", | ||
}, | ||
editLink: { | ||
baseUrl: "https://github.com/OpenIPC/docs/edit/main/", | ||
}, | ||
components: { | ||
// Relative path to the custom component. | ||
Head: "./src/components/Head.astro", | ||
}, | ||
sidebar: [ | ||
{ | ||
label: "Getting Started", | ||
items: [ | ||
{ | ||
label: "About the Project", | ||
link: "/getting-started/introduction/", | ||
}, | ||
{ | ||
label: "Quick Start", | ||
link: "/getting-started/quick-start/", | ||
badge: { text: "WIP", variant: "caution" }, | ||
}, | ||
{ | ||
label: "Roadmap", | ||
link: "/getting-started/roadmap/", | ||
}, | ||
], | ||
}, | ||
{ | ||
label: "Use Cases", | ||
items: [ | ||
{ | ||
label: "FPV (First Person View)", | ||
autogenerate: { | ||
directory: "/use-cases/fpv", | ||
}, | ||
badge: { text: "WIP", variant: "caution" }, | ||
}, | ||
{ | ||
label: "Home Automation", | ||
autogenerate: { | ||
directory: "/use-cases/home-automation", | ||
}, | ||
badge: { text: "WIP", variant: "caution" }, | ||
}, | ||
{ | ||
label: "Video Surveillance", | ||
autogenerate: { | ||
directory: "/use-cases/video-surveillance", | ||
}, | ||
badge: { text: "WIP", variant: "caution" }, | ||
}, | ||
], | ||
}, | ||
{ | ||
label: "Hardware", | ||
badge: { text: "WIP", variant: "caution" }, | ||
autogenerate: { | ||
directory: "/hardware", | ||
}, | ||
}, | ||
{ | ||
label: "Software", | ||
items: [ | ||
{ | ||
label: "Software Overview", | ||
link: "/software/software-overview/", | ||
badge: { text: "WIP", variant: "caution" }, | ||
}, | ||
{ | ||
label: "Configuration Details", | ||
link: "/software/configuration-details/", | ||
badge: { text: "WIP", variant: "caution" }, | ||
}, | ||
{ | ||
label: "Firmware Updates", | ||
link: "/software/firmware-updates/", | ||
badge: { text: "WIP", variant: "caution" }, | ||
}, | ||
], | ||
}, | ||
{ | ||
label: "Development", | ||
items: [ | ||
{ | ||
label: "Contribution Guidelines", | ||
link: "/development/contribution-guidelines/", | ||
badge: { text: "WIP", variant: "caution" }, | ||
}, | ||
{ | ||
label: "Projects & Applications", | ||
link: "/development/projects-applications/", | ||
badge: { text: "WIP", variant: "caution" }, | ||
}, | ||
], | ||
}, | ||
{ | ||
label: "Resources", | ||
items: [ | ||
{ | ||
label: "Frequently Asked Questions", | ||
link: "/resources/faq/", | ||
badge: { text: "WIP", variant: "caution" }, | ||
}, | ||
{ | ||
label: "Useful Links", | ||
link: "/resources/useful-links/", | ||
badge: { text: "WIP", variant: "caution" }, | ||
}, | ||
], | ||
}, | ||
{ | ||
label: "Reference", | ||
autogenerate: { | ||
directory: "reference", | ||
}, | ||
badge: { text: "WIP", variant: "caution" }, | ||
}, | ||
{ | ||
label: "Team", | ||
link: "/team/", | ||
}, | ||
], | ||
}), | ||
tailwind({ applyBaseStyles: false }), | ||
], | ||
}); |
6 changes: 6 additions & 0 deletions
6
src/content/docs/hardware/FPV Mario AIO → src/content/docs/hardware/fpv-mario-aio.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters