Skip to content

Commit 6f5c5cd

Browse files
committed
refactor: simplify greatly by removing stardoc
API docs are now rendered on an external pipeline
1 parent 54b769e commit 6f5c5cd

File tree

20 files changed

+7
-522
lines changed

20 files changed

+7
-522
lines changed

.github/workflows/ci.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ jobs:
2020
uses: bazel-contrib/.github/.github/workflows/bazel.yaml@v6
2121
with:
2222
folders: '[".", "e2e/headers", "e2e/smoke", "e2e/nodejs_host", "e2e/conflicting_toolchains"]'
23-
# stardoc generated docs fail on diff_test with Bazel 6.4.0 so don't test against it in root repository
2423
exclude: |
2524
[
2625
{"bazelversion": "6.4.0", "os": "macos-latest"},

.github/workflows/update-nodejs-versions.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,7 @@ jobs:
2828
with:
2929
node-version: "14.x"
3030
- uses: pnpm/action-setup@v4
31-
- name: Run update-nodejs-versions
32-
run: |
33-
npm run update-nodejs-versions
34-
bazel run docs:update
35-
31+
- run: npm run update-nodejs-versions
3632
- name: Create Pull Request
3733
uses: peter-evans/create-pull-request@v3
3834
with:

.prettierignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
docs/*.md
21
pnpm-lock.yaml

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ See the 5.x branch for the prior state of the repo.
1919

2020
## Documentation
2121

22-
Comprehensive documentation for installing and using the rules, including generated API docs:
22+
Comprehensive documentation for installing and using the rules:
2323
https://bazel-contrib.github.io/rules_nodejs/

WORKSPACE

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -73,27 +73,6 @@ load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
7373

7474
bazel_skylib_workspace()
7575

76-
# Stardoc
77-
load("@io_bazel_stardoc//:setup.bzl", "stardoc_repositories")
78-
79-
stardoc_repositories()
80-
81-
load("@rules_jvm_external//:repositories.bzl", "rules_jvm_external_deps")
82-
83-
rules_jvm_external_deps()
84-
85-
load("@rules_jvm_external//:setup.bzl", "rules_jvm_external_setup")
86-
87-
rules_jvm_external_setup()
88-
89-
load("@io_bazel_stardoc//:deps.bzl", "stardoc_external_deps")
90-
91-
stardoc_external_deps()
92-
93-
load("@stardoc_maven//:defs.bzl", stardoc_pinned_maven_install = "pinned_maven_install")
94-
95-
stardoc_pinned_maven_install()
96-
9776
# Buildifier
9877
load("@buildifier_prebuilt//:deps.bzl", "buildifier_prebuilt_deps")
9978

docs/BUILD.bazel

Lines changed: 0 additions & 63 deletions
This file was deleted.

docs/Core.md

Lines changed: 0 additions & 270 deletions
This file was deleted.

0 commit comments

Comments
 (0)