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

docs: rename sphinx plugin to sphinx_bzl #1922

Merged
merged 1 commit into from
May 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/sphinx/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ sphinx_build_binary(
requirement("myst_parser"),
requirement("readthedocs_sphinx_ext"),
requirement("typing_extensions"),
"//sphinxdocs/src/sphinx_stardoc",
"//sphinxdocs/src/sphinx_bzl",
],
)

Expand Down
2 changes: 1 addition & 1 deletion docs/sphinx/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"sphinx.ext.intersphinx",
"myst_parser",
"sphinx_rtd_theme", # Necessary to get jquery to make flyout work
"sphinx_stardoc.stardoc",
"sphinx_bzl.bzl",
]

# Adapted from the template code:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ package(

# NOTE: This provides the library on its own, not its dependencies.
py_library(
name = "sphinx_stardoc",
name = "sphinx_bzl",
srcs = glob(["*.py"]),
imports = [".."],
# Allow depending on it in sphinx_binary targets
Expand Down
2 changes: 1 addition & 1 deletion sphinxdocs/tests/sphinx_stardoc/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ sphinx_build_binary(
name = "sphinx-build",
tags = ["manual"], # Only needed as part of sphinx doc building
deps = [
"//sphinxdocs/src/sphinx_stardoc",
"//sphinxdocs/src/sphinx_bzl",
"@dev_pip//myst_parser",
"@dev_pip//sphinx",
"@dev_pip//typing_extensions", # Needed by sphinx_stardoc
Expand Down
2 changes: 1 addition & 1 deletion sphinxdocs/tests/sphinx_stardoc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
project = "Sphinx Stardoc Test"

extensions = [
"sphinx_stardoc.stardoc",
"sphinx_bzl.bzl",
"myst_parser",
"sphinx.ext.intersphinx",
]
Expand Down
Loading