Files
PX4-Autopilot/docs/book.json
Hamish Willee 88d623bedb Move PX4 Guide source into /docs (#24490)
* Add vitepress tree

* Update existing workflows so they dont trigger on changes in the docs path

* Add nojekyll, package.json, LICENCE etc

* Add crowdin docs upload/download scripts

* Add docs flaw checker workflows

* Used docs prefix for docs workflows

* Crowdin obvious fixes

* ci: docs move to self hosted runner

runs on a beefy server for faster builds

Signed-off-by: Ramon Roche <mrpollo@gmail.com>

* ci: don't run build action for docs or ci changes

Signed-off-by: Ramon Roche <mrpollo@gmail.com>

* ci: update runners

Signed-off-by: Ramon Roche <mrpollo@gmail.com>

* Add docs/en

* Add docs assets and scripts

* Fix up editlinks to point to PX4 sources

* Download just the translations that are supported

* Add translation sources for zh, uk, ko

* Update latest tranlsation and uorb graphs

* update vitepress to latest

---------

Signed-off-by: Ramon Roche <mrpollo@gmail.com>
Co-authored-by: Ramon Roche <mrpollo@gmail.com>
2025-03-13 16:08:27 +11:00

109 lines
3.5 KiB
JSON

{
"gitbook": ">= 3.2.2",
"title": "PX4 User Guide",
"variables": {
"logo": "./assets/site/logo_pro_small.png",
"px4_version": "master"
},
"plugins": [
"youtube",
"richquotes@git+https://github.com/Dronecode/gitbook-plugin-richquotes.git",
"language-picker",
"collapsible-menu",
"anchors",
"page-toc-button",
"ga",
"page-footer-ex",
"custom-favicon",
"bulk-redirect@git+https://github.com/Dronecode/gitbook-plugin-bulk-redirect.git",
"toolbar@git+https://github.com/hamishwillee/gitbook-plugin-toolbar.git",
"validate-links",
"versions-select@git+https://github.com/Dronecode/gitbook-plugin-versions-select.git",
"mathjax@git+https://github.com/Dronecode/plugin-mathjax.git#update_cdn",
"theme-dronecode@git+https://github.com/dronecode/theme-dronecode.git"
],
"pluginsConfig": {
"page-footer-ex":{
"copyright":"© PX4 Dev Team. License: <a href='https://creativecommons.org/licenses/by/4.0/'>CC BY 4.0</a>",
"update_label":"Updated: ",
"update_format":"YYYY-MM-DD HH:mm:ss"
},
"ga": {
"token": "UA-33658859-3"
},
"richquotes":
{
"tip": {
"alert": "success",
"picto": "fa-thumbs-o-up"
},
"archived": {
"alert": "warning",
"picto": "fa-archive"
}
},
"favicon": "favicon.ico",
"bulk-redirect": {
"basepath": "/",
"redirectsFile": "redirects.json"
},
"toolbar": {
"buttons":
[
{
"label": "Bug tracker",
"icon": "fa fa-bug",
"position" : "left",
"url": "https://github.com/PX4/px4_user_guide/issues/new?title=Doc+Bug:+{{title}}&body=DESCRIBE+PROBLEM+WITH+DOCS+HERE%0A%0ABug+Page:+[{{title}}]({{url}})"
},
{
"label": "GitHub",
"icon": "fa fa-github",
"url": "https://github.com/PX4/px4_user_guide"
},
{
"label": "Edit page on github",
"icon": "fa fa-pencil-square-o",
"position" : "left",
"url": "https://github.com/PX4/px4_user_guide/edit/master/{{filepath_lang}}"
}
]
},
"versions": {
"gitbookConfigURL": "https://raw.githubusercontent.com/PX4/px4_user_guide/main/book.json",
"options": [
{
"value": "https://docs.px4.io/main/en/",
"text": "main"
},
{
"value": "https://docs.px4.io/v1.15/en/",
"text": "v1.15 - stable"
},
{
"value": "https://docs.px4.io/v1.14/en/",
"text": "v1.14"
},
{
"value": "https://docs.px4.io/v1.13/en/",
"text": "v1.13"
},
{
"value": "https://docs.px4.io/v1.12/en/",
"text": "v1.12"
},
{
"value": "https://docs.px4.io/v1.11/en/",
"text": "v1.11"
}
]
}
}
}