mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
42 lines
1.9 KiB
JSON
42 lines
1.9 KiB
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 && set CI=true && 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 -r .. -d docs -e en -i assets",
|
|
"build_docs_metadata_ubuntu": "(cd .. && Tools/ci/metadata_sync.sh --generate && Tools/ci/metadata_sync.sh --sync) && echo 'NOTE: These metadata changes are for local testing only and do not need to be merged.'",
|
|
"gen_fc_sections": "python3 ./scripts/fc_doc_generator/fc_doc_generator.py --apply",
|
|
"new_fc_doc": "python3 ./scripts/fc_doc_generator/fc_doc_generator.py --new-doc --since-version v1.18",
|
|
"check_fc_doc": "python3 ./scripts/fc_doc_generator/fc_doc_generator.py --check-doc",
|
|
"check_fc_docs": "python3 ./scripts/fc_doc_generator/fc_doc_generator.py --check-all",
|
|
"test_fc_doc": "python3 -m pytest scripts/fc_doc_generator/ -v",
|
|
"update_fc_snapshots": "python3 -m pytest scripts/fc_doc_generator/ -v --update-snapshots"
|
|
},
|
|
"dependencies": {
|
|
"@red-asuka/vitepress-plugin-tabs": "0.0.4",
|
|
"lite-youtube-embed": "^0.3.3",
|
|
"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"
|
|
},
|
|
"devDependencies": {
|
|
"prettier": "^3.2.0"
|
|
},
|
|
"resolutions": {
|
|
"markdown-it": "^14.1.1",
|
|
"esbuild": "^0.25.0"
|
|
}
|
|
}
|