From 30e2490d5b50c0365052e00d53777b1f4068deab Mon Sep 17 00:00:00 2001 From: Hamish Willee Date: Mon, 1 Aug 2022 11:39:39 +1000 Subject: [PATCH] Docs are now in user guide and main (#19977) * Fix links to docs in source to point to docs on main not master * More docs and scripts that need to point to main --- .github/ISSUE_TEMPLATE/1_Bug_report.md | 2 +- CONTRIBUTING.md | 4 ++-- Jenkinsfile | 18 +++++++++--------- README.md | 4 ++-- .../init.d/airframes/3031_phantom | 2 +- .../init.d/airframes/3033_wingwing | 2 +- .../px4fmu_common/init.d/airframes/4051_s250aq | 2 +- .../init.d/airframes/4052_holybro_qav250 | 2 +- .../generate_actuators_metadata.py | 2 +- Tools/px4airframes/markdownout.py | 2 +- Tools/px4moduledoc/markdownout.py | 2 +- Tools/px4moduledoc/srcparser.py | 2 +- Tools/px_uploader.py | 2 +- Tools/uorb_graph/create.py | 2 +- cmake/kconfig.cmake | 2 +- msg/tools/generate_msg_docs.py | 4 ++-- platforms/nuttx/cmake/init.cmake | 2 +- .../leddar_one/leddar_one_main.cpp | 2 +- .../lightware_laser_i2c.cpp | 2 +- .../lightware_laser_serial_main.cpp | 2 +- src/drivers/distance_sensor/ll40ls/ll40ls.cpp | 2 +- .../distance_sensor/ll40ls_pwm/ll40ls.cpp | 2 +- .../teraranger/teraranger_main.cpp | 2 +- .../distance_sensor/tfmini/tfmini_main.cpp | 2 +- .../optical_flow/thoneflow/thoneflow.cpp | 2 +- src/lib/version/px_update_git_header.py | 2 +- .../PreFlightCheck/checks/airframeCheck.cpp | 2 +- src/modules/ekf2/EKF2.cpp | 2 +- src/modules/gimbal/gimbal.cpp | 2 +- src/modules/mavlink/mavlink_receiver.cpp | 2 +- src/modules/micrortps_bridge/README.md | 2 +- src/modules/replay/Replay.cpp | 2 +- src/systemcmds/tune_control/tune_control.cpp | 2 +- src/systemcmds/ver/ver.cpp | 2 +- 34 files changed, 45 insertions(+), 45 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/1_Bug_report.md b/.github/ISSUE_TEMPLATE/1_Bug_report.md index 80758e0190..cc0bc6d96f 100644 --- a/.github/ISSUE_TEMPLATE/1_Bug_report.md +++ b/.github/ISSUE_TEMPLATE/1_Bug_report.md @@ -20,7 +20,7 @@ A clear and concise description of what you expected to happen. ## Log Files and Screenshots *Always* provide a link to the flight log file: -- Download the flight log file from the vehicle ([tutorial](https://docs.px4.io/master/en/getting_started/flight_reporting.html)). +- Download the flight log file from the vehicle ([tutorial](https://docs.px4.io/main/en/getting_started/flight_reporting.html)). - Upload the log to the [PX4 Flight Review](http://logs.px4.io/) - Share the link to the log (Copy and paste the URL of the log) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 3b98196ad0..cce5340cc7 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -8,7 +8,7 @@ First [fork and clone](https://help.github.com/articles/fork-a-repo) the project ### Create a feature branch -*Always* branch off master for new features. +*Always* branch off main for new features. ``` git checkout -b mydescriptivebranchname @@ -16,7 +16,7 @@ git checkout -b mydescriptivebranchname ### Edit and build the code -The [developer guide](http://dev.px4.io/) explains how to set up the development environment on Mac OS, Linux or Windows. Please take note of our [coding style](https://dev.px4.io/master/en/contribute/code.html) when editing files. +The [developer guide](https://docs.px4.io/main/en/development/development.html) explains how to set up the development environment on Mac OS, Linux or Windows. Please take note of our [coding style](https://docs.px4.io/main/en/contribute/code.html) when editing files. ### Commit your changes diff --git a/Jenkinsfile b/Jenkinsfile index 22d4702879..c565fa26bf 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -204,15 +204,15 @@ pipeline { unstash 'msg_documentation' unstash 'uorb_graph' withCredentials([usernamePassword(credentialsId: 'px4buildbot_github_personal_token', passwordVariable: 'GIT_PASS', usernameVariable: 'GIT_USER')]) { - sh('git clone https://${GIT_USER}:${GIT_PASS}@github.com/PX4/px4_user_guide.git') - sh('cp airframes.md px4_user_guide/en/airframes/airframe_reference.md') - sh('cp parameters.md px4_user_guide/en/advanced_config/parameter_reference.md') - sh('cp -R modules/*.md px4_user_guide/en/modules/') - sh('cp -R graph_*.json px4_user_guide/.vuepress/public/en/middleware/') - sh('cp -R msg_docs/*.md px4_user_guide/en/msg_docs/') - sh('cd px4_user_guide; git status; git add .; git commit -a -m "Update PX4 Firmware metadata `date`" || true') - sh('cd px4_user_guide; git push origin master || true') - sh('rm -rf px4_user_guide') + sh('git clone https://${GIT_USER}:${GIT_PASS}@github.com/PX4/PX4-user_guide.git') + sh('cp airframes.md PX4-user_guide/en/airframes/airframe_reference.md') + sh('cp parameters.md PX4-user_guide/en/advanced_config/parameter_reference.md') + sh('cp -R modules/*.md PX4-user_guide/en/modules/') + sh('cp -R graph_*.json PX4-user_guide/.vuepress/public/en/middleware/') + sh('cp -R msg_docs/*.md PX4-user_guide/en/msg_docs/') + sh('cd PX4-user_guide; git status; git add .; git commit -a -m "Update PX4 Firmware metadata `date`" || true') + sh('cd PX4-user_guide; git push origin main || true') + sh('rm -rf PX4-user_guide') } } when { diff --git a/README.md b/README.md index 5f031f817a..99867c5980 100644 --- a/README.md +++ b/README.md @@ -10,8 +10,8 @@ This repository holds the [PX4](http://px4.io) flight control solution for drone PX4 is highly portable, OS-independent and supports Linux, NuttX and MacOS out of the box. -* Official Website: http://px4.io (License: BSD 3-clause, [LICENSE](https://github.com/PX4/PX4-Autopilot/blob/master/LICENSE)) -* [Supported airframes](https://docs.px4.io/main/en/airframes/airframe_reference.html) ([portfolio](http://px4.io/#airframes)): +* Official Website: http://px4.io (License: BSD 3-clause, [LICENSE](https://github.com/PX4/PX4-Autopilot/blob/main/LICENSE)) +* [Supported airframes](https://docs.px4.io/main/en/airframes/airframe_reference.html) ([portfolio](https://px4.io/ecosystem/commercial-systems/)): * [Multicopters](https://docs.px4.io/main/en/frames_multicopter/) * [Fixed wing](https://docs.px4.io/main/en/frames_plane/) * [VTOL](https://docs.px4.io/main/en/frames_vtol/) diff --git a/ROMFS/px4fmu_common/init.d/airframes/3031_phantom b/ROMFS/px4fmu_common/init.d/airframes/3031_phantom index b31b2230ce..ef5ebccd39 100644 --- a/ROMFS/px4fmu_common/init.d/airframes/3031_phantom +++ b/ROMFS/px4fmu_common/init.d/airframes/3031_phantom @@ -2,7 +2,7 @@ # # @name Phantom FPV Flying Wing # -# @url https://docs.px4.io/master/en/frames_plane/wing_wing_z84.html +# @url https://docs.px4.io/main/en/frames_plane/wing_wing_z84.html # # @type Flying Wing # @class Plane diff --git a/ROMFS/px4fmu_common/init.d/airframes/3033_wingwing b/ROMFS/px4fmu_common/init.d/airframes/3033_wingwing index 99673ad470..79d19b3662 100644 --- a/ROMFS/px4fmu_common/init.d/airframes/3033_wingwing +++ b/ROMFS/px4fmu_common/init.d/airframes/3033_wingwing @@ -2,7 +2,7 @@ # # @name Wing Wing (aka Z-84) Flying Wing # -# @url https://docs.px4.io/master/en/frames_plane/wing_wing_z84.html +# @url https://docs.px4.io/main/en/frames_plane/wing_wing_z84.html # # @type Flying Wing # @class Plane diff --git a/ROMFS/px4fmu_common/init.d/airframes/4051_s250aq b/ROMFS/px4fmu_common/init.d/airframes/4051_s250aq index 74c99d69d3..98eae6cf53 100644 --- a/ROMFS/px4fmu_common/init.d/airframes/4051_s250aq +++ b/ROMFS/px4fmu_common/init.d/airframes/4051_s250aq @@ -1,7 +1,7 @@ #!/bin/sh # # @name Spedix S250AQ -# @url https://docs.px4.io/master/en/frames_multicopter/spedix_s250_pixracer.html +# @url https://docs.px4.io/main/en/frames_multicopter/spedix_s250_pixracer.html # # @type Quadrotor asymmetric # @class Copter diff --git a/ROMFS/px4fmu_common/init.d/airframes/4052_holybro_qav250 b/ROMFS/px4fmu_common/init.d/airframes/4052_holybro_qav250 index aeb48c41d7..e42be8ac83 100644 --- a/ROMFS/px4fmu_common/init.d/airframes/4052_holybro_qav250 +++ b/ROMFS/px4fmu_common/init.d/airframes/4052_holybro_qav250 @@ -2,7 +2,7 @@ # # @name HolyBro QAV250 # -# @url https://docs.px4.io/master/en/frames_multicopter/holybro_qav250_pixhawk4_mini.html +# @url https://docs.px4.io/main/en/frames_multicopter/holybro_qav250_pixhawk4_mini.html # # @type Quadrotor x # @class Copter diff --git a/Tools/module_config/generate_actuators_metadata.py b/Tools/module_config/generate_actuators_metadata.py index a7348be7c1..f4015b602b 100755 --- a/Tools/module_config/generate_actuators_metadata.py +++ b/Tools/module_config/generate_actuators_metadata.py @@ -330,7 +330,7 @@ def get_mixers(yaml_config, output_functions, verbose): option = select_param + '==' + str(type_index) mixer_config = { 'option': option, - 'help-url': 'https://docs.px4.io/master/en/config/actuators.html', + 'help-url': 'https://docs.px4.io/main/en/config/actuators.html', } for optional in ['type', 'title']: if optional in current_type: diff --git a/Tools/px4airframes/markdownout.py b/Tools/px4airframes/markdownout.py index 5386404f71..d39bd4d3fb 100644 --- a/Tools/px4airframes/markdownout.py +++ b/Tools/px4airframes/markdownout.py @@ -8,7 +8,7 @@ class MarkdownTablesOutput(): result = """# Airframes Reference :::note -**This list is [auto-generated](https://github.com/PX4/PX4-Autopilot/blob/master/Tools/px4airframes/markdownout.py) from the source code** using the build command: `make airframe_metadata`. +**This list is [auto-generated](https://github.com/PX4/PX4-Autopilot/blob/main/Tools/px4airframes/markdownout.py) from the source code** using the build command: `make airframe_metadata`. ::: This page lists all supported airframes and types including the motor assignment and numbering. diff --git a/Tools/px4moduledoc/markdownout.py b/Tools/px4moduledoc/markdownout.py index 131993410c..290618446e 100644 --- a/Tools/px4moduledoc/markdownout.py +++ b/Tools/px4moduledoc/markdownout.py @@ -69,7 +69,7 @@ The generated files will be written to the `modules` directory. result = '' for module in module_list: result += "## %s\n" % module.name() - result += "Source: [%s](https://github.com/PX4/PX4-Autopilot/tree/master/src/%s)\n\n" % (module.scope(), module.scope()) + result += "Source: [%s](https://github.com/PX4/PX4-Autopilot/tree/main/src/%s)\n\n" % (module.scope(), module.scope()) doc = module.documentation() if len(doc) > 0: result += "%s\n" % doc diff --git a/Tools/px4moduledoc/srcparser.py b/Tools/px4moduledoc/srcparser.py index b843a235f1..c936ad7a81 100644 --- a/Tools/px4moduledoc/srcparser.py +++ b/Tools/px4moduledoc/srcparser.py @@ -12,7 +12,7 @@ class ModuleDocumentation(object): """ # If you add categories or subcategories, they also need to be added to the - # TOC in https://github.com/PX4/Devguide/blob/master/en/SUMMARY.md + # TOC in https://github.com/PX4/PX4-user_guide/blob/main/en/SUMMARY.md valid_categories = ['driver', 'estimator', 'controller', 'system', 'communication', 'command', 'template', 'simulation', 'autotune'] valid_subcategories = ['', 'distance_sensor', 'imu', 'airspeed_sensor', diff --git a/Tools/px_uploader.py b/Tools/px_uploader.py index b35e5bc372..be032553fd 100755 --- a/Tools/px_uploader.py +++ b/Tools/px_uploader.py @@ -331,7 +331,7 @@ class uploader(object): except NotImplementedError: raise RuntimeError("Programing not supported for this version of silicon!\n" - "See https://docs.px4.io/master/en/flight_controller/silicon_errata.html") + "See https://docs.px4.io/main/en/flight_controller/silicon_errata.html") except RuntimeError: # timeout, no response yet return False diff --git a/Tools/uorb_graph/create.py b/Tools/uorb_graph/create.py index 34ef4a4204..a97669b961 100755 --- a/Tools/uorb_graph/create.py +++ b/Tools/uorb_graph/create.py @@ -694,7 +694,7 @@ class OutputJSON(object): node['type'] = 'topic' node['color'] = topic_colors[topic] # url is opened when double-clicking on the node - node['url'] = 'https://github.com/PX4/PX4-Autopilot/blob/master/msg/'+topic_filename(topic)+'.msg' + node['url'] = 'https://github.com/PX4/PX4-Autopilot/blob/main/msg/'+topic_filename(topic)+'.msg' nodes.append(node) data['nodes'] = nodes diff --git a/cmake/kconfig.cmake b/cmake/kconfig.cmake index 71878e6ba3..b556c3fe37 100644 --- a/cmake/kconfig.cmake +++ b/cmake/kconfig.cmake @@ -310,7 +310,7 @@ if(EXISTS ${BOARD_DEFCONFIG}) endif() if (NO_HELP) - add_definitions(-DCONSTRAINED_FLASH_NO_HELP="https://docs.px4.io/master/en/modules/modules_main.html") + add_definitions(-DCONSTRAINED_FLASH_NO_HELP="https://docs.px4.io/main/en/modules/modules_main.html") endif() if(CONSTRAINED_MEMORY) diff --git a/msg/tools/generate_msg_docs.py b/msg/tools/generate_msg_docs.py index c3f542a8e6..8dd961968b 100755 --- a/msg/tools/generate_msg_docs.py +++ b/msg/tools/generate_msg_docs.py @@ -38,7 +38,7 @@ if __name__ == "__main__": print("{:} -> {:}".format(msg_filename, output_file)) #Format msg url - msg_url="[source file](https://github.com/PX4/PX4-Autopilot/blob/master/msg/%s)" % msg_file + msg_url="[source file](https://github.com/PX4/PX4-Autopilot/blob/main/msg/%s)" % msg_file msg_description = "" summary_description = "" @@ -90,7 +90,7 @@ if __name__ == "__main__": readme_text="""# uORB Message Reference :::note -This list is [auto-generated](https://github.com/PX4/PX4-Autopilot/blob/master/msg/tools/generate_msg_docs.py) from the source code. +This list is [auto-generated](https://github.com/PX4/PX4-Autopilot/blob/main/msg/tools/generate_msg_docs.py) from the source code. ::: This topic lists the UORB messages available in PX4 (some of which may be may be shared by the [PX4-ROS 2 Bridge](../ros/ros2_comm.md)). diff --git a/platforms/nuttx/cmake/init.cmake b/platforms/nuttx/cmake/init.cmake index 9245ed90f9..37a81382a7 100644 --- a/platforms/nuttx/cmake/init.cmake +++ b/platforms/nuttx/cmake/init.cmake @@ -33,7 +33,7 @@ if("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU") if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS_EQUAL 7) - message(FATAL_ERROR "GCC 7 or older no longer supported. https://docs.px4.io/master/en/dev_setup/dev_env.html") + message(FATAL_ERROR "GCC 7 or older no longer supported. https://docs.px4.io/main/en/dev_setup/dev_env.html") endif() endif() diff --git a/src/drivers/distance_sensor/leddar_one/leddar_one_main.cpp b/src/drivers/distance_sensor/leddar_one/leddar_one_main.cpp index f13d0fd92d..6b6c90615a 100644 --- a/src/drivers/distance_sensor/leddar_one/leddar_one_main.cpp +++ b/src/drivers/distance_sensor/leddar_one/leddar_one_main.cpp @@ -103,7 +103,7 @@ Serial bus driver for the LeddarOne LiDAR. Most boards are configured to enable/start the driver on a specified UART using the SENS_LEDDAR1_CFG parameter. -Setup/usage information: https://docs.px4.io/master/en/sensor/leddar_one.html +Setup/usage information: https://docs.px4.io/main/en/sensor/leddar_one.html ### Examples diff --git a/src/drivers/distance_sensor/lightware_laser_i2c/lightware_laser_i2c.cpp b/src/drivers/distance_sensor/lightware_laser_i2c/lightware_laser_i2c.cpp index 2e4c6ba97d..615849a554 100644 --- a/src/drivers/distance_sensor/lightware_laser_i2c/lightware_laser_i2c.cpp +++ b/src/drivers/distance_sensor/lightware_laser_i2c/lightware_laser_i2c.cpp @@ -417,7 +417,7 @@ void LightwareLaser::print_usage() I2C bus driver for Lightware SFxx series LIDAR rangefinders: SF10/a, SF10/b, SF10/c, SF11/c, SF/LW20. -Setup/usage information: https://docs.px4.io/master/en/sensor/sfxx_lidar.html +Setup/usage information: https://docs.px4.io/main/en/sensor/sfxx_lidar.html )DESCR_STR"); PRINT_MODULE_USAGE_NAME("lightware_laser_i2c", "driver"); diff --git a/src/drivers/distance_sensor/lightware_laser_serial/lightware_laser_serial_main.cpp b/src/drivers/distance_sensor/lightware_laser_serial/lightware_laser_serial_main.cpp index 9ac882965b..76c0dc167c 100644 --- a/src/drivers/distance_sensor/lightware_laser_serial/lightware_laser_serial_main.cpp +++ b/src/drivers/distance_sensor/lightware_laser_serial/lightware_laser_serial_main.cpp @@ -104,7 +104,7 @@ Serial bus driver for the LightWare SF02/F, SF10/a, SF10/b, SF10/c, SF11/c Laser Most boards are configured to enable/start the driver on a specified UART using the SENS_SF0X_CFG parameter. -Setup/usage information: https://docs.px4.io/master/en/sensor/sfxx_lidar.html +Setup/usage information: https://docs.px4.io/main/en/sensor/sfxx_lidar.html ### Examples diff --git a/src/drivers/distance_sensor/ll40ls/ll40ls.cpp b/src/drivers/distance_sensor/ll40ls/ll40ls.cpp index 0a4dc94001..77252a29fa 100644 --- a/src/drivers/distance_sensor/ll40ls/ll40ls.cpp +++ b/src/drivers/distance_sensor/ll40ls/ll40ls.cpp @@ -57,7 +57,7 @@ I2C bus driver for LidarLite rangefinders. The sensor/driver must be enabled using the parameter SENS_EN_LL40LS. -Setup/usage information: https://docs.px4.io/master/en/sensor/lidar_lite.html +Setup/usage information: https://docs.px4.io/main/en/sensor/lidar_lite.html )DESCR_STR"); PRINT_MODULE_USAGE_NAME("ll40ls", "driver"); diff --git a/src/drivers/distance_sensor/ll40ls_pwm/ll40ls.cpp b/src/drivers/distance_sensor/ll40ls_pwm/ll40ls.cpp index 73897a66a5..c11df5039f 100644 --- a/src/drivers/distance_sensor/ll40ls_pwm/ll40ls.cpp +++ b/src/drivers/distance_sensor/ll40ls_pwm/ll40ls.cpp @@ -147,7 +147,7 @@ PWM driver for LidarLite rangefinders. The sensor/driver must be enabled using the parameter SENS_EN_LL40LS. -Setup/usage information: https://docs.px4.io/master/en/sensor/lidar_lite.html +Setup/usage information: https://docs.px4.io/main/en/sensor/lidar_lite.html )DESCR_STR"); PRINT_MODULE_USAGE_NAME("ll40ls", "driver"); diff --git a/src/drivers/distance_sensor/teraranger/teraranger_main.cpp b/src/drivers/distance_sensor/teraranger/teraranger_main.cpp index 0b0efcaa7e..27e0c9cad1 100644 --- a/src/drivers/distance_sensor/teraranger/teraranger_main.cpp +++ b/src/drivers/distance_sensor/teraranger/teraranger_main.cpp @@ -47,7 +47,7 @@ I2C bus driver for TeraRanger rangefinders. The sensor/driver must be enabled using the parameter SENS_EN_TRANGER. -Setup/usage information: https://docs.px4.io/master/en/sensor/rangefinders.html#teraranger-rangefinders +Setup/usage information: https://docs.px4.io/main/en/sensor/rangefinders.html#teraranger-rangefinders )DESCR_STR"); PRINT_MODULE_USAGE_NAME("teraranger", "driver"); PRINT_MODULE_USAGE_SUBCATEGORY("distance_sensor"); diff --git a/src/drivers/distance_sensor/tfmini/tfmini_main.cpp b/src/drivers/distance_sensor/tfmini/tfmini_main.cpp index 4b3a9f51ff..2680378ad7 100644 --- a/src/drivers/distance_sensor/tfmini/tfmini_main.cpp +++ b/src/drivers/distance_sensor/tfmini/tfmini_main.cpp @@ -115,7 +115,7 @@ Serial bus driver for the Benewake TFmini LiDAR. Most boards are configured to enable/start the driver on a specified UART using the SENS_TFMINI_CFG parameter. -Setup/usage information: https://docs.px4.io/master/en/sensor/tfmini.html +Setup/usage information: https://docs.px4.io/main/en/sensor/tfmini.html ### Examples diff --git a/src/drivers/optical_flow/thoneflow/thoneflow.cpp b/src/drivers/optical_flow/thoneflow/thoneflow.cpp index 91734a26a3..71110f0403 100644 --- a/src/drivers/optical_flow/thoneflow/thoneflow.cpp +++ b/src/drivers/optical_flow/thoneflow/thoneflow.cpp @@ -428,7 +428,7 @@ Serial bus driver for the ThoneFlow-3901U optical flow sensor. Most boards are configured to enable/start the driver on a specified UART using the SENS_TFLOW_CFG parameter. -Setup/usage information: https://docs.px4.io/master/en/sensor/pmw3901.html#thone-thoneflow-3901u +Setup/usage information: https://docs.px4.io/main/en/sensor/pmw3901.html#thone-thoneflow-3901u ### Examples diff --git a/src/lib/version/px_update_git_header.py b/src/lib/version/px_update_git_header.py index 3f47da7e7c..5bf7d46423 100755 --- a/src/lib/version/px_update_git_header.py +++ b/src/lib/version/px_update_git_header.py @@ -79,7 +79,7 @@ if validate: print(" v1.9.0-beta1") print(" v1.9.0-1.0.0") print(" v1.9.0-1.0.0-alpha2") - print("See also https://dev.px4.io/master/en/setup/building_px4.html#firmware_version") + print("See also https://docs.px4.io/main/en/dev_setup/building_px4.html#building-for-nuttx") print("") sys.exit(1) diff --git a/src/modules/commander/Arming/PreFlightCheck/checks/airframeCheck.cpp b/src/modules/commander/Arming/PreFlightCheck/checks/airframeCheck.cpp index 5c032fe332..e97c3ab310 100644 --- a/src/modules/commander/Arming/PreFlightCheck/checks/airframeCheck.cpp +++ b/src/modules/commander/Arming/PreFlightCheck/checks/airframeCheck.cpp @@ -48,7 +48,7 @@ bool PreFlightCheck::airframeCheck(orb_advert_t *mavlink_log_pub, const vehicle_ // We no longer support VTOL on fmu-v2, so we need to warn existing users. if (status.is_vtol) { mavlink_log_critical(mavlink_log_pub, - "VTOL is not supported with fmu-v2, see docs.px4.io/master/en/config/firmware.html#bootloader"); + "VTOL is not supported with fmu-v2, see docs.px4.io/main/en/config/firmware.html#bootloader"); success = false; } diff --git a/src/modules/ekf2/EKF2.cpp b/src/modules/ekf2/EKF2.cpp index c83b2ff3d3..0987281f46 100644 --- a/src/modules/ekf2/EKF2.cpp +++ b/src/modules/ekf2/EKF2.cpp @@ -2249,7 +2249,7 @@ int EKF2::print_usage(const char *reason) ### Description Attitude and position estimator using an Extended Kalman Filter. It is used for Multirotors and Fixed-Wing. -The documentation can be found on the [ECL/EKF Overview & Tuning](https://docs.px4.io/master/en/advanced_config/tuning_the_ecl_ekf.html) page. +The documentation can be found on the [ECL/EKF Overview & Tuning](https://docs.px4.io/main/en/advanced_config/tuning_the_ecl_ekf.html) page. ekf2 can be started in replay mode (`-r`): in this mode, it does not access the system time, but only uses the timestamps from the sensor topics. diff --git a/src/modules/gimbal/gimbal.cpp b/src/modules/gimbal/gimbal.cpp index 0276b433f5..c0666018a6 100644 --- a/src/modules/gimbal/gimbal.cpp +++ b/src/modules/gimbal/gimbal.cpp @@ -539,7 +539,7 @@ static void usage() Mount/gimbal Gimbal control driver. It maps several different input methods (eg. RC or MAVLink) to a configured output (eg. AUX channels or MAVLink). -Documentation how to use it is on the [gimbal_control](https://docs.px4.io/master/en/advanced/gimbal_control.html) page. +Documentation how to use it is on the [gimbal_control](https://docs.px4.io/main/en/advanced/gimbal_control.html) page. ### Examples Test the output by setting a angles (all omitted axes are set to 0): diff --git a/src/modules/mavlink/mavlink_receiver.cpp b/src/modules/mavlink/mavlink_receiver.cpp index 56c3f88e66..c7060cb565 100644 --- a/src/modules/mavlink/mavlink_receiver.cpp +++ b/src/modules/mavlink/mavlink_receiver.cpp @@ -1228,7 +1228,7 @@ MavlinkReceiver::handle_message_set_actuator_control_target(mavlink_message_t *m #if defined(ENABLE_LOCKSTEP_SCHEDULER) PX4_ERR("SET_ACTUATOR_CONTROL_TARGET not supported with lockstep enabled"); PX4_ERR("Please disable lockstep for actuator offboard control:"); - PX4_ERR("https://dev.px4.io/master/en/simulation/#disable-lockstep-simulation"); + PX4_ERR("https://docs.px4.io/main/en/simulation/#disable-lockstep-simulation"); return; #endif diff --git a/src/modules/micrortps_bridge/README.md b/src/modules/micrortps_bridge/README.md index 22e86f1d48..27750f054c 100644 --- a/src/modules/micrortps_bridge/README.md +++ b/src/modules/micrortps_bridge/README.md @@ -1 +1 @@ -For see a complete documentation, please follow this [link](https://dev.px4.io/master/en/middleware/micrortps.html) +For see a complete documentation, please follow this [link](https://docs.px4.io/main/en/middleware/micrortps.html) diff --git a/src/modules/replay/Replay.cpp b/src/modules/replay/Replay.cpp index 68b6cc7b76..e91de4554d 100644 --- a/src/modules/replay/Replay.cpp +++ b/src/modules/replay/Replay.cpp @@ -1171,7 +1171,7 @@ The module is typically used together with uORB publisher rules, to specify whic The replay module will just publish all messages that are found in the log. It also applies the parameters from the log. -The replay procedure is documented on the [System-wide Replay](https://dev.px4.io/master/en/debug/system_wide_replay.html) +The replay procedure is documented on the [System-wide Replay](https://docs.px4.io/main/en/debug/system_wide_replay.html) page. )DESCR_STR"); diff --git a/src/systemcmds/tune_control/tune_control.cpp b/src/systemcmds/tune_control/tune_control.cpp index a3c0884067..a2521ba2fa 100644 --- a/src/systemcmds/tune_control/tune_control.cpp +++ b/src/systemcmds/tune_control/tune_control.cpp @@ -244,7 +244,7 @@ Tunes are used to provide audible notification and warnings (e.g. when the syste The tool requires that a driver is running that can handle the tune_control uorb topic. Information about the tune format and predefined system tunes can be found here: -https://github.com/PX4/Firmware/blob/master/src/lib/tunes/tune_definition.desc +https://github.com/PX4/PX4-Autopilot/blob/main/src/lib/tunes/tune_definition.desc ### Examples diff --git a/src/systemcmds/ver/ver.cpp b/src/systemcmds/ver/ver.cpp index d29d4eb25e..2a68c67a8f 100644 --- a/src/systemcmds/ver/ver.cpp +++ b/src/systemcmds/ver/ver.cpp @@ -252,7 +252,7 @@ extern "C" __EXPORT int ver_main(int argc, char *argv[]) printf("\nWARNING WARNING WARNING!\n" "Revision %c has a silicon errata:\n" "%s" - "\nhttps://docs.px4.io/master/en/flight_controller/silicon_errata.html\n\n", rev, errata); + "\nhttps://docs.px4.io/main/en/flight_controller/silicon_errata.html\n\n", rev, errata); } }