Skip to content

Commit fbeb83f

Browse files
Preparing for first pre-release (#1126)
Upgrading docs-as-code to new version. Changing the GH-Workflow to reflect new naming. Removing duplicate targets that have been moved to 'docs-as-code'
1 parent 349693a commit fbeb83f

File tree

3 files changed

+2
-27
lines changed

3 files changed

+2
-27
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
run: sudo apt update && sudo apt install -y graphviz
5656
- name: Build documentation
5757
run: |
58-
bazel build //docs:github-pages && cp bazel-bin/docs/github-pages.tar .
58+
bazel build //docs:github_pages && cp bazel-bin/docs/github_pages.tar .
5959
# ------------------------------------------------------------------------------
6060
# Generate a unique artifact name to ensure proper tracking in all scenarios
6161
# ------------------------------------------------------------------------------

MODULE.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,4 +90,4 @@ bazel_dep(name = "score_cr_checker", version = "0.2.2")
9090
bazel_dep(name = "score_starpls_lsp", version = "0.1.0")
9191
# Checker rule for CopyRight checks/fixs
9292

93-
bazel_dep(name = "score_docs_as_code", version = "0.2.1")
93+
bazel_dep(name = "score_docs_as_code", version = "0.2.4")

docs/BUILD

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -31,28 +31,3 @@ docs(
3131
source_dir = "docs",
3232
source_files_to_scan_for_needs_links = [],
3333
)
34-
35-
# Used inside //docs.bzl to enable access to the assets (css files etc.)
36-
filegroup(
37-
name = "assets",
38-
srcs = glob([
39-
"_assets/**",
40-
]),
41-
visibility = ["//visibility:public"],
42-
)
43-
44-
filegroup(
45-
name = "html",
46-
srcs = [":docs"],
47-
)
48-
49-
pkg_files(
50-
name = "html_files",
51-
srcs = [":html"],
52-
renames = {"html": ""},
53-
)
54-
55-
pkg_tar(
56-
name = "github-pages",
57-
srcs = [":html_files"],
58-
)

0 commit comments

Comments
 (0)