Files
PX4-Autopilot/docs/package.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

28 lines
1023 B
JSON

{
"name": "px4_user_guide",
"version": "1.0.1",
"repository": "https://github.com/PX4/px4_user_guide.git",
"license": "CC-BY-4.0",
"scripts": {
"docs:dev": "vitepress dev .",
"docs:build": "yarn docs:build_ubuntu",
"docs:buildwin": "set NODE_OPTIONS=--max_old_space_size=8192 && vitepress build .",
"docs:build_ubuntu": "NODE_OPTIONS='--max-old-space-size=8192' vitepress build .",
"docs:preview": "vitepress preview .",
"docs:sitemap": "python3 ./scripts/gen_sitemap.py",
"docs:gen_alt_sidebar_ubuntu": "python3 ./scripts/gen_alt_sidebar.py",
"docs:get_alt_sidebar_windows": "python ./scripts/gen_alt_sidebar.py",
"start": "yarn docs:dev",
"linkcheck": "markdown_link_checker_sc -d en -i assets"
},
"dependencies": {
"@red-asuka/vitepress-plugin-tabs": "^0.0.3",
"lite-youtube-embed": "^0.3.2",
"markdown-it-mathjax3": "^4.3.2",
"medium-zoom": "^1.1.0",
"open-editor": "^5.0.0",
"vitepress": "^1.6.3",
"vue3-tabs-component": "^1.3.7"
}
}