Skip to content

Commit

Permalink
Improve warning messages for never_run sphinx and doxygen
Browse files Browse the repository at this point in the history
Signed-off-by: R. Kent James <[email protected]>
  • Loading branch information
rkent committed Nov 21, 2024
1 parent f20dbe2 commit 9ee86a5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion rosdoc2/verbs/build/builders/doxygen_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def build(self, *, doc_build_folder, output_staging_directory):
return None # Explicitly generated no documentation.

if self.build_context.never_run_doxygen:
logger.debug('The package has never_run_doxygen set, so skipping doxygen.')
logger.info('The package has never_run_doxygen set, so skipping doxygen.')
return None

# If both doxyfile and doxyfile_content are None, that means there is
Expand Down
3 changes: 3 additions & 0 deletions rosdoc2/verbs/build/builders/sphinx_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,9 @@ def build(self, *, doc_build_folder, output_staging_directory):
]

build_context = self.build_context
if build_context.never_run_sphinx_apidoc:
logger.info(
'The package has never_run_sphinx_apidoc set, so sphinx apidoc will not be run.')
has_python = (
build_context.build_type == 'ament_python'
or build_context.always_run_sphinx_apidoc
Expand Down

0 comments on commit 9ee86a5

Please sign in to comment.