Skip to content

docs,packaging: fix build warnings and stale docs upload lines - #831

Merged
julianoes merged 1 commit into
mainfrom
pr-docs-ci-cleanup
Oct 7, 2026
Merged

julianoes merged 1 commit into
mainfrom
pr-docs-ci-cleanup

Conversation

@julianoes

Copy link
Copy Markdown
Collaborator

Cleanups from the 4.0.5 release log. Nothing here was blocking.

  • Sphinx "Title underline too short" warnings (34 of them): other/templates/rst/file.j2 hardcoded ==== as the title underline. It's now sized to the plugin name, and the generated mavsdk/source/plugins/*.rst files are updated to match.
  • s3cmd "Nothing to upload" errors: other/tools/upload_docs.sh still uploaded _static/jquery.js and _static/underscore.js, which current Sphinx no longer generates. Those two lines are removed.
  • setuptools "no files found matching" warnings: MANIFEST.in listed mavsdk/bin (a directory, so it never matches a file) plus both mavsdk_server and mavsdk_server.exe, and each platform only has one of the two. This is now a single include mavsdk/bin/mavsdk_server*.

Tested locally:

  • make -C mavsdk html goes from 36 warnings to 2.
  • Pure wheel builds with a dummy mavsdk_server and a dummy mavsdk_server.exe each include the binary under mavsdk_grpc/bin/, with no manifest warnings.

The two remaining Sphinx warnings come from *10^7 in a MissionItem comment in the mission_raw proto. That needs fixing in MAVSDK-Proto.

- rst template: size the title underline to the plugin name, and fix the
  generated plugin pages. Sphinx warned 'Title underline too short' for
  34 of them.
- upload_docs.sh: drop jquery.js and underscore.js, which current Sphinx
  no longer generates, so s3cmd failed with 'Nothing to upload'.
- MANIFEST.in: use one glob for mavsdk_server(.exe). Each platform only
  has one of the two, and 'include mavsdk/bin' matched no file, so
  setuptools warned 'no files found matching' on every build.

@julianoes julianoes left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Nice!

@julianoes
julianoes merged commit f3ed68b into main Oct 7, 2026
9 checks passed
@julianoes
julianoes deleted the pr-docs-ci-cleanup branch October 7, 2026 11:29
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.

1 participant