地面站终端 App
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

168 lines
4.2 KiB

User Guide and DevGuide source migration to Stable v4_3 (#10882) * User guide migration to QGC source * Add google analytics - but need [GA4] Find your Google tag ID * Update (most) notes to use vitepress note syntax * Convert remaining notes, tips, warnings * Prettier all the files * Lower case and compress all images * Lower case filenames * docs_deploy1 * Disable platform builds on commit to docs (only) * Test deployment script 1 (#10893) * docs_deploy1 * Disable platform builds on commit to docs (only) * docs_deploy2 * lower case waypoint file * Lower case console.jpg * Add duplicate index as fallback * Get path from process * fix upload * Disable running workflows for changes in the actions * Attempt update via github workflow * Attempt workflow update * A bit more deployment debugging * MOdify yaml to use personal access token * Lower case the support.md * Fix up pattern * Add UI design - ignored by github * Fix up plugins name * Fix up toolbar * Fix up the Support path * Fix up support link to go to the NEW target * Only build this on commit * Add docs stablev4 3 (#10894) * docs_deploy1 * Disable platform builds on commit to docs (only) * docs_deploy2 * lower case waypoint file * Lower case console.jpg * Add duplicate index as fallback * Get path from process * fix upload * Disable running workflows for changes in the actions * Attempt update via github workflow * Attempt workflow update * A bit more deployment debugging * MOdify yaml to use personal access token * Lower case the support.md * Fix up pattern * Add UI design - ignored by github * Fix up plugins name * Fix up toolbar * Fix up the Support path * Fix up support link to go to the NEW target * Only build this on commit * Remove unused files
1 year ago
const getSidebar = require("./get_sidebar.js");
import { defineConfig } from "vitepress";
// https://vitepress.dev/reference/site-config
export default defineConfig({
title: "QGC Guide (4.4)",
User Guide and DevGuide source migration to Stable v4_3 (#10882) * User guide migration to QGC source * Add google analytics - but need [GA4] Find your Google tag ID * Update (most) notes to use vitepress note syntax * Convert remaining notes, tips, warnings * Prettier all the files * Lower case and compress all images * Lower case filenames * docs_deploy1 * Disable platform builds on commit to docs (only) * Test deployment script 1 (#10893) * docs_deploy1 * Disable platform builds on commit to docs (only) * docs_deploy2 * lower case waypoint file * Lower case console.jpg * Add duplicate index as fallback * Get path from process * fix upload * Disable running workflows for changes in the actions * Attempt update via github workflow * Attempt workflow update * A bit more deployment debugging * MOdify yaml to use personal access token * Lower case the support.md * Fix up pattern * Add UI design - ignored by github * Fix up plugins name * Fix up toolbar * Fix up the Support path * Fix up support link to go to the NEW target * Only build this on commit * Add docs stablev4 3 (#10894) * docs_deploy1 * Disable platform builds on commit to docs (only) * docs_deploy2 * lower case waypoint file * Lower case console.jpg * Add duplicate index as fallback * Get path from process * fix upload * Disable running workflows for changes in the actions * Attempt update via github workflow * Attempt workflow update * A bit more deployment debugging * MOdify yaml to use personal access token * Lower case the support.md * Fix up pattern * Add UI design - ignored by github * Fix up plugins name * Fix up toolbar * Fix up the Support path * Fix up support link to go to the NEW target * Only build this on commit * Remove unused files
1 year ago
description:
"How to use and develop QGroundControl for PX4 or ArduPilot powered vehicles.",
ignoreDeadLinks: true, // Do this for stable, where we don't yet have all translations
base: process.env.BRANCH_NAME ? "/" + process.env.BRANCH_NAME + "/" : "",
head: [
[
"script",
{
async: "",
src: "https://www.googletagmanager.com/gtag/js?id=UA-33658859-3",
},
],
[
"script",
{},
`window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-33658859-3');`,
],
],
locales: {
en: {
label: "English",
//lang: "en",
themeConfig: {
sidebar: getSidebar.sidebar({ lang: "en" }),
editLink: {
pattern:
"https://github.com/mavlink/qgroundcontrol/edit/master/docs/:path",
text: "Edit on GitHub",
},
},
},
zh: {
label: "中文 (Chinese)",
lang: "zh-CN", // optional, will be added as `lang` attribute on `html` tag
themeConfig: {
sidebar: getSidebar.sidebar({ lang: "zh" }),
},
// other locale specific properties...
},
ko: {
label: "한국어 (Korean)",
lang: "ko-KR", // optional, will be added as `lang` attribute on `html` tag
themeConfig: {
sidebar: getSidebar.sidebar({ lang: "ko" }),
},
// other locale specific properties...
},
tr: {
label: "Türkçe (Turkish)",
lang: "tr-TR", // optional, will be added as `lang` attribute on `html` tag
themeConfig: {
sidebar: getSidebar.sidebar({ lang: "tr" }),
},
// other locale specific properties...
},
},
themeConfig: {
// https://vitepress.dev/reference/default-theme-config
logo: "qgc_icon.png",
//sidebar: getSidebar.sidebar({ lang: "en" }),
search: {
provider: "local",
},
nav: [
{
text: "QGroundControl",
items: [
{
text: "Website",
link: "http://qgroundcontrol.com/",
ariaLabel: "QGC website link",
},
{
text: "Source Code",
link: "https://github.com/mavlink/qgroundcontrol",
},
{
text: "Docs Source Code",
link: "https://github.com/mavlink/qgroundcontrol/tree/master/doc",
},
],
},
{
text: "Flight Stacks",
items: [
{
text: "PX4",
link: "https://docs.px4.io/en/",
ariaLabel: "PX4 docs link",
},
{
text: "ArduPilot",
link: "http://ardupilot.org",
ariaLabel: "ArduPilot site link",
},
],
},
{
text: "Dronecode",
items: [
{
text: "PX4",
link: "https://px4.io/",
ariaLabel: "PX4 website link",
},
{
text: "QGroundControl",
link: "http://qgroundcontrol.com/",
},
{
text: "MAVSDK",
link: "https://mavsdk.mavlink.io/",
},
{
text: "MAVLINK",
link: "https://mavlink.io/en/",
},
{
text: "Dronecode Camera Manager",
link: "https://camera-manager.dronecode.org/en/",
},
],
},
{
text: "Support",
link: "https://docs.qgroundcontrol.com/master/en/support/support.html",
},
{
text: "Version",
items: [
{
text: "master",
link: "https://docs.qgroundcontrol.com/master/en/",
},
{
text: "v4.3",
link: "https://docs.qgroundcontrol.com/Stable_V4.3/en/",
},
{
text: "v4.4",
link: "https://docs.qgroundcontrol.com/Stable_V4.4/en/",
},
User Guide and DevGuide source migration to Stable v4_3 (#10882) * User guide migration to QGC source * Add google analytics - but need [GA4] Find your Google tag ID * Update (most) notes to use vitepress note syntax * Convert remaining notes, tips, warnings * Prettier all the files * Lower case and compress all images * Lower case filenames * docs_deploy1 * Disable platform builds on commit to docs (only) * Test deployment script 1 (#10893) * docs_deploy1 * Disable platform builds on commit to docs (only) * docs_deploy2 * lower case waypoint file * Lower case console.jpg * Add duplicate index as fallback * Get path from process * fix upload * Disable running workflows for changes in the actions * Attempt update via github workflow * Attempt workflow update * A bit more deployment debugging * MOdify yaml to use personal access token * Lower case the support.md * Fix up pattern * Add UI design - ignored by github * Fix up plugins name * Fix up toolbar * Fix up the Support path * Fix up support link to go to the NEW target * Only build this on commit * Add docs stablev4 3 (#10894) * docs_deploy1 * Disable platform builds on commit to docs (only) * docs_deploy2 * lower case waypoint file * Lower case console.jpg * Add duplicate index as fallback * Get path from process * fix upload * Disable running workflows for changes in the actions * Attempt update via github workflow * Attempt workflow update * A bit more deployment debugging * MOdify yaml to use personal access token * Lower case the support.md * Fix up pattern * Add UI design - ignored by github * Fix up plugins name * Fix up toolbar * Fix up the Support path * Fix up support link to go to the NEW target * Only build this on commit * Remove unused files
1 year ago
],
},
],
socialLinks: [
{ icon: "github", link: "https://github.com/mavlink/qgroundcontrol" },
],
},
});