Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate BUILD_DOCS: generate always the doc target but exclude from default make #434

Merged
merged 4 commits into from
Jul 29, 2024

Conversation

j-rivero
Copy link
Contributor

@j-rivero j-rivero commented Jul 12, 2024

🦟 Bug fix

Fixes #228

Summary

The PR deprecates the BUILD_DOCS parameter (it would still work as expected by rise a deprecation warning) and creates the doc target unconditionally excluding it from being part of the ALL target hence it is not being called in the default calls of the build system when no target is specified.

I previously started to code the approach of not generating the doc target unless BUILD_DOCS is set to ON. That worked well but looked to me that a more standard approach is to generate always the doc target. The current approach also removes the option of BUILD_DOCS.

Checklist

  • Signed all commits for DCO
  • Added tests
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • Consider updating Python bindings (if the library has them)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

@github-actions github-actions bot added the 🏛️ ionic Gazebo Ionic label Jul 12, 2024
@j-rivero j-rivero marked this pull request as ready for review July 23, 2024 17:59
@j-rivero j-rivero requested a review from scpeters as a code owner July 23, 2024 17:59
@j-rivero j-rivero merged commit af0f345 into main Jul 29, 2024
9 checks passed
@j-rivero j-rivero deleted the jrivero/disable_doc_from_target_all branch July 29, 2024 15:14
scpeters added a commit to gazebo-release/gz-math8-release that referenced this pull request Jul 31, 2024
Follow up to gazebosim/gz-cmake#434.

Signed-off-by: Steve Peters <[email protected]>
scpeters added a commit to gazebo-release/gz-math8-release that referenced this pull request Jul 31, 2024
Follow up to gazebosim/gz-cmake#434.

Signed-off-by: Steve Peters <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏛️ ionic Gazebo Ionic
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants