Skip to content

Commit 7d064e5

Browse files
committed
sphinxdocs: move tests docs to module-directory
This just moves the tests and docs to the "top level", so that the layout resembles the more normal layout where e.g. tests are at the top level.
1 parent 8c6f9d8 commit 7d064e5

46 files changed

Lines changed: 25 additions & 11 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ sphinx_docs(
7373
":bzl_api_docs",
7474
":py_api_srcs",
7575
":py_runtime_pair",
76-
"@sphinxdocs//sphinxdocs/docs:docs_lib",
76+
"@sphinxdocs//docs:docs_lib",
7777
],
7878
)
7979

sphinxdocs/sphinxdocs/docs/api/sphinxdocs/inventories/index.md renamed to sphinxdocs/docs/api/sphinxdocs/inventories/index.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
load("@sphinxdocs//sphinxdocs:sphinx.bzl", "sphinx_build_binary", "sphinx_docs")
2+
3+
sphinx_docs(
4+
name = "docs",
5+
srcs = ["index.md"],
6+
config = "conf.py",
7+
formats = ["html"],
8+
sphinx = ":sphinx-build",
9+
)
10+
11+
sphinx_build_binary(
12+
name = "sphinx-build",
13+
deps = [
14+
"@dev_pip//myst_parser",
15+
"@dev_pip//sphinx",
16+
],
17+
)

0 commit comments

Comments
 (0)