Skip to content

Commit

Permalink
fix(docs): partially fix docs gen, still experience bazelbuild/rules_…
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudhan committed Feb 12, 2025
1 parent 53e6e09 commit 185bf4c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 12 deletions.
8 changes: 0 additions & 8 deletions BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,8 +0,0 @@
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")

bzl_library(
name = "bzl_srcs",
srcs = glob(["**/*.bzl"]),
visibility = ["//visibility:public"],
deps = ["//cuda:bzl_srcs"],
)
8 changes: 4 additions & 4 deletions docs/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ stardoc(
input = "user_docs.bzl",
deps = [
":bazel_tools_bzl_srcs",
"@rules_cuda//:bzl_srcs",
"@rules_cuda//cuda:bzl_srcs",
],
)

Expand All @@ -23,7 +23,7 @@ stardoc(
input = "toolchain_config_docs.bzl",
deps = [
":bazel_tools_bzl_srcs",
"@rules_cuda//:bzl_srcs",
"@rules_cuda//cuda:bzl_srcs",
],
)

Expand All @@ -33,7 +33,7 @@ stardoc(
input = "providers_docs.bzl",
deps = [
":bazel_tools_bzl_srcs",
"@rules_cuda//:bzl_srcs",
"@rules_cuda//cuda:bzl_srcs",
],
)

Expand All @@ -43,7 +43,7 @@ stardoc(
input = "developer_docs.bzl",
deps = [
":bazel_tools_bzl_srcs",
"@rules_cuda//:bzl_srcs",
"@rules_cuda//cuda:bzl_srcs",
],
)

Expand Down
2 changes: 2 additions & 0 deletions docs/MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ module(
version = "0.0.0",
compatibility_level = 1,
)
bazel_dep(name = "bazel_skylib", version = "1.4.2")
bazel_dep(name = "platforms", version = "0.0.6")

bazel_dep(name = "rules_cuda", version = "0.2.3")
local_path_override(
Expand Down
Empty file added docs/WORKSPACE.bzlmod
Empty file.

0 comments on commit 185bf4c

Please sign in to comment.