Skip to content

chore: Remove *_build_test targets from sphinx_docs (#2645)#2650

Merged
aignas merged 2 commits intobazel-contrib:mainfrom
255:main
Mar 6, 2025
Merged

chore: Remove *_build_test targets from sphinx_docs (#2645)#2650
aignas merged 2 commits intobazel-contrib:mainfrom
255:main

Conversation

@255
Copy link
Contributor

@255 255 commented Mar 6, 2025

Remove implicit build_tests from sphinx_docs targets. Instead, users can decide whether or not to add build_tests for docs. This also keeps sphinx_docs builds out of bazel test //..., which may not be desirable.

Add build_tests to cover in-tree sphinx_docs targets. Rename the existing build_test for //sphinxdocs/tests/sphinx_docs:docs to match the new targets.

Also, tag the sphinx_docs *.run and *.serve targets as "manual" so they are excluded from wildcards. These are only needed for interactive development.

Remove implicit build_tests from sphinx_docs targets. Instead, users can
decide whether or not to add build_tests for docs. This also keeps
sphinx_docs builds out of `bazel test //...`, which may not be
desirable.

Add build_tests to cover in-tree sphinx_docs targets. Rename the
existing build_test for //sphinxdocs/tests/sphinx_docs:docs to match the
new targets.

Also, tag the sphinx_docs *.run and *.serve targets as "manual" so they
are excluded from wildcards. These are only needed for interactive
development.
@aignas aignas added this pull request to the merge queue Mar 6, 2025
Merged via the queue into bazel-contrib:main with commit 0fa6667 Mar 6, 2025
3 checks passed
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.

3 participants