Skip to content

Resolve breathe input directory in bazel way#183

Open
SebSparrowHawk wants to merge 2 commits intoeclipse-score:mainfrom
SebSparrowHawk:ssp_use_extra_opts_for_breathe
Open

Resolve breathe input directory in bazel way#183
SebSparrowHawk wants to merge 2 commits intoeclipse-score:mainfrom
SebSparrowHawk:ssp_use_extra_opts_for_breathe

Conversation

@SebSparrowHawk
Copy link
Copy Markdown
Contributor

No description provided.

This allows us to specify bazel targets as breathe doxygen input instead of
searching for potential projects in filesystem directly.
@SebSparrowHawk SebSparrowHawk force-pushed the ssp_use_extra_opts_for_breathe branch from 0d1461d to 4fc8519 Compare April 28, 2026 12:20
@SebSparrowHawk SebSparrowHawk marked this pull request as ready for review April 28, 2026 15:05
Comment on lines +190 to +195
bin_marker = "/bin/"
bin_idx = matched_path.find(bin_marker)
if bin_idx >= 0:
suffix_part = matched_path[bin_idx + len(bin_marker):]
else:
suffix_part = matched_path
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

for /bin/ there should be a bazel equivalent ctx.bin_dir.path

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Will be fixed

Comment on lines 263 to 265
logger.info(f"[DEBUG] extra_args from parse_known_args: {extra_args}")
logger.info(f"[DEBUG] sys.argv was: {sys.argv}")
# Create processor instance
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Either remove or only output on a debug flag

with redirect_stderr(stderr_processor), redirect_stdout(stdout_processor):
sphinx_args = build_sphinx_arguments(args)
sphinx_args = build_sphinx_arguments(args, extra_args)
logger.info(f"[DEBUG] Final sphinx_args: {sphinx_args}")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Same here

Also remove some debug log messages and replace usage of static string
by switching to bazel variable equivalent.
@SebSparrowHawk SebSparrowHawk force-pushed the ssp_use_extra_opts_for_breathe branch from bf9b8f6 to 066a8ba Compare April 30, 2026 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

2 participants