Skip to content

docs: fix issues from MAVSDK-docs tracker#2922

Merged
julianoes merged 17 commits into
mainfrom
fix/docs-issues-from-mavsdk-docs
Jul 14, 2026
Merged

docs: fix issues from MAVSDK-docs tracker#2922
julianoes merged 17 commits into
mainfrom
fix/docs-issues-from-mavsdk-docs

Conversation

@bansiesta

@bansiesta bansiesta commented Jul 13, 2026

Copy link
Copy Markdown
Collaborator

Fixes open issues from https://github.com/mavlink/MAVSDK-docs/issues applied to the in-tree docs, plus new Camera and Gimbal guide pages.

Test plan

  • Review commits
  • Build docs locally: cd docs && npm install && npm run dev

@julianoes julianoes requested a review from hamishwillee July 13, 2026 23:19
bansiesta added 10 commits July 14, 2026 11:21
Resolves mavlink/MAVSDK-docs#259. CMake accepts both `-Bbuild` and
`-B build` but the latter is more readable and consistent with modern
cmake style. Updated all occurrences across build guides, toolchain,
examples, and contributing docs.
The "Building on macOS" nav entry was pointing to build.md which is a
routing page covering all platforms, not a macOS-specific guide. Updated
to link directly to build_macos.md, consistent with build_linux.md and
build_windows.md entries.
Four links in dev_logging.md and transition_vtol_fixed_wing.md were
incorrectly pointing to a user's fork (JoC2000/MAVSDK) instead of
the official mavlink/MAVSDK repository.
- index.md: fix C++ documentation issues link to point to mavlink/MAVSDK
  instead of the retired mavlink/MAVSDK-docs repo
- contributing/documentation.md: rewrite to reflect that docs are now
  in-tree in mavlink/MAVSDK under docs/ and use VitePress (not Gitbook)
- guide/toolchain.md: replace deprecated cmake -H. flag with -S.
The docs are now in the mavlink/MAVSDK repo under docs/, so the release
process no longer requires separate MAVSDK-docs branch management or
book.json updates. Simplified the documentation release steps accordingly.
The Return to Launch code snippet was calling telemetry.return_to_launch()
but return_to_launch() is a method on Action, not Telemetry.
Typo in the gRPC comparison table: 'nan-native' should be 'non-native'.
Code snippet had std::this_thread_sleep_for (missing ::) which would
not compile. Fixed to std::this_thread::sleep_for.
The VitePress info block was closed with triple-quotes (""") instead
of triple-colons (:::), which would break rendering of that section.
missions.md:
- mavsdk.system() -> mavsdk.systems() (wrong method, should be plural)
- Remove stray closing parenthesis on longitude_deg assignment
- Remove duplicate gimbal_pitch_deg line
- Fix extra closing paren in subscribe_mission_progress lambda syntax

connections.md:
- Remove inline backtick formatting inside a fenced code block
@bansiesta bansiesta force-pushed the fix/docs-issues-from-mavsdk-docs branch from e064c09 to 62049ab Compare July 13, 2026 23:21

@julianoes julianoes left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catches!

Comment thread docs/en/cpp/contributing/plugins.md
Same rationale as -B: both flags were added in CMake 3.13 and the
official docs show them as -S <path> and -B <path> with a space.
Applies to all build guides, examples, and contributing docs.
julianoes
julianoes previously approved these changes Jul 13, 2026
@julianoes julianoes merged commit e52f3d1 into main Jul 14, 2026
2 checks passed
@julianoes julianoes deleted the fix/docs-issues-from-mavsdk-docs branch July 14, 2026 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants