Skip to content

Commit 975edfe

Browse files
authored
docs: rename sphinx plugin to sphinx_bzl (bazel-contrib#1922)
This is to better reflect its Sphinx domain name and the scope of what it covers. It is able to document general Bazel concepts and isn't actually tied to Stardoc itself.
1 parent 6ca2f58 commit 975edfe

7 files changed

Lines changed: 5 additions & 5 deletions

File tree

docs/sphinx/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ sphinx_build_binary(
123123
requirement("myst_parser"),
124124
requirement("readthedocs_sphinx_ext"),
125125
requirement("typing_extensions"),
126-
"//sphinxdocs/src/sphinx_stardoc",
126+
"//sphinxdocs/src/sphinx_bzl",
127127
],
128128
)
129129

docs/sphinx/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"sphinx.ext.intersphinx",
2828
"myst_parser",
2929
"sphinx_rtd_theme", # Necessary to get jquery to make flyout work
30-
"sphinx_stardoc.stardoc",
30+
"sphinx_bzl.bzl",
3131
]
3232

3333
# Adapted from the template code:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ package(
66

77
# NOTE: This provides the library on its own, not its dependencies.
88
py_library(
9-
name = "sphinx_stardoc",
9+
name = "sphinx_bzl",
1010
srcs = glob(["*.py"]),
1111
imports = [".."],
1212
# Allow depending on it in sphinx_binary targets

sphinxdocs/tests/sphinx_stardoc/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ sphinx_build_binary(
5656
name = "sphinx-build",
5757
tags = ["manual"], # Only needed as part of sphinx doc building
5858
deps = [
59-
"//sphinxdocs/src/sphinx_stardoc",
59+
"//sphinxdocs/src/sphinx_bzl",
6060
"@dev_pip//myst_parser",
6161
"@dev_pip//sphinx",
6262
"@dev_pip//typing_extensions", # Needed by sphinx_stardoc

sphinxdocs/tests/sphinx_stardoc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
project = "Sphinx Stardoc Test"
99

1010
extensions = [
11-
"sphinx_stardoc.stardoc",
11+
"sphinx_bzl.bzl",
1212
"myst_parser",
1313
"sphinx.ext.intersphinx",
1414
]

0 commit comments

Comments
 (0)