Skip to content

Commit 2913530

Browse files
authored
fix: doc pages (take 2!) (#1327)
1 parent bcd0ec4 commit 2913530

13 files changed

+451
-85
lines changed

.github/docs-0.1.0.patch

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,33 @@ index 0000000..9eb0697
5353
+
5454
+common --noenable_bzlmod
5555
+build --workspace_status_command=tools/workspace_status.sh
56+
diff --git a/docs/stardoc_repository.bzl b/docs/stardoc_repository.bzl
57+
index 2153aa8..7c63be7 100644
58+
--- a/docs/stardoc_repository.bzl
59+
+++ b/docs/stardoc_repository.bzl
60+
@@ -7,9 +7,9 @@ def stardoc_repository():
61+
maybe(
62+
http_archive,
63+
name = "io_bazel_stardoc",
64+
+ sha256 = "3fd8fec4ddec3c670bd810904e2e33170bedfe12f90adf943508184be458c8bb",
65+
urls = [
66+
- "https://github.com/bazelbuild/stardoc/archive/a0f330bcbae44ffc59d50a86a830a661b8d18acc.zip",
67+
+ "https://mirror.bazel.build/github.com/bazelbuild/stardoc/releases/download/0.5.3/stardoc-0.5.3.tar.gz",
68+
+ "https://github.com/bazelbuild/stardoc/releases/download/0.5.3/stardoc-0.5.3.tar.gz",
69+
],
70+
- sha256 = "e12831c6c414325c99325726dd26dabd8ed4c9efa7b4f27b4d1d9594ec7dfc40",
71+
- strip_prefix = "stardoc-a0f330bcbae44ffc59d50a86a830a661b8d18acc",
72+
)
73+
diff --git a/docs/tools/workspace_status.sh b/docs/tools/workspace_status.sh
74+
new file mode 100755
75+
index 0000000..5ceb3f7
76+
--- /dev/null
77+
+++ b/docs/tools/workspace_status.sh
78+
@@ -0,0 +1,7 @@
79+
+#!/usr/bin/env bash
80+
+
81+
+set -euo pipefail
82+
+
83+
+echo STABLE_SCM_SHORT_VERSION "$(git rev-parse --short HEAD)"
84+
+echo STABLE_SCM_VERSION "$(git rev-parse HEAD)"
85+
+echo STABLE_RELEASE "$(cat ../version.bzl | grep VERSION | sed 's/VERSION = "//' | sed 's/"//')"

.github/docs-0.2.0.patch

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,33 @@ index 0000000..9eb0697
5353
+
5454
+common --noenable_bzlmod
5555
+build --workspace_status_command=tools/workspace_status.sh
56+
diff --git a/docs/stardoc_repository.bzl b/docs/stardoc_repository.bzl
57+
index 2153aa8..7c63be7 100644
58+
--- a/docs/stardoc_repository.bzl
59+
+++ b/docs/stardoc_repository.bzl
60+
@@ -7,9 +7,9 @@ def stardoc_repository():
61+
maybe(
62+
http_archive,
63+
name = "io_bazel_stardoc",
64+
+ sha256 = "3fd8fec4ddec3c670bd810904e2e33170bedfe12f90adf943508184be458c8bb",
65+
urls = [
66+
- "https://github.com/bazelbuild/stardoc/archive/a0f330bcbae44ffc59d50a86a830a661b8d18acc.zip",
67+
+ "https://mirror.bazel.build/github.com/bazelbuild/stardoc/releases/download/0.5.3/stardoc-0.5.3.tar.gz",
68+
+ "https://github.com/bazelbuild/stardoc/releases/download/0.5.3/stardoc-0.5.3.tar.gz",
69+
],
70+
- sha256 = "e12831c6c414325c99325726dd26dabd8ed4c9efa7b4f27b4d1d9594ec7dfc40",
71+
- strip_prefix = "stardoc-a0f330bcbae44ffc59d50a86a830a661b8d18acc",
72+
)
73+
diff --git a/docs/tools/workspace_status.sh b/docs/tools/workspace_status.sh
74+
new file mode 100755
75+
index 0000000..5ceb3f7
76+
--- /dev/null
77+
+++ b/docs/tools/workspace_status.sh
78+
@@ -0,0 +1,7 @@
79+
+#!/usr/bin/env bash
80+
+
81+
+set -euo pipefail
82+
+
83+
+echo STABLE_SCM_SHORT_VERSION "$(git rev-parse --short HEAD)"
84+
+echo STABLE_SCM_VERSION "$(git rev-parse HEAD)"
85+
+echo STABLE_RELEASE "$(cat ../version.bzl | grep VERSION | sed 's/VERSION = "//' | sed 's/"//')"

.github/docs-0.3.0.patch

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ index 3a91e41..14c8e3b 100644
4747
name = "rules_foreign_cc",
4848
- sha256 = "d54742ffbdc6924f222d2179f0e10e911c5c659c4ae74158e9fe827aad862ac6",
4949
- strip_prefix = "rules_foreign_cc-0.2.0",
50-
- url = "https://github.com/bazel-contrib/rules_foreign_cc/archive/0.2.0.tar.gz",
50+
- url = "https://github.com/bazelbuild/rules_foreign_cc/archive/0.2.0.tar.gz",
5151
+ # TODO: Get the latest sha256 value from the latest release on the releases page
5252
+ # https://github.com/bazel-contrib/rules_foreign_cc/releases
5353
+ #
@@ -93,3 +93,33 @@ index 0000000..9eb0697
9393
+
9494
+common --noenable_bzlmod
9595
+build --workspace_status_command=tools/workspace_status.sh
96+
diff --git a/docs/stardoc_repository.bzl b/docs/stardoc_repository.bzl
97+
index 2153aa8..7c63be7 100644
98+
--- a/docs/stardoc_repository.bzl
99+
+++ b/docs/stardoc_repository.bzl
100+
@@ -7,9 +7,9 @@ def stardoc_repository():
101+
maybe(
102+
http_archive,
103+
name = "io_bazel_stardoc",
104+
+ sha256 = "3fd8fec4ddec3c670bd810904e2e33170bedfe12f90adf943508184be458c8bb",
105+
urls = [
106+
- "https://github.com/bazelbuild/stardoc/archive/a0f330bcbae44ffc59d50a86a830a661b8d18acc.zip",
107+
+ "https://mirror.bazel.build/github.com/bazelbuild/stardoc/releases/download/0.5.3/stardoc-0.5.3.tar.gz",
108+
+ "https://github.com/bazelbuild/stardoc/releases/download/0.5.3/stardoc-0.5.3.tar.gz",
109+
],
110+
- sha256 = "e12831c6c414325c99325726dd26dabd8ed4c9efa7b4f27b4d1d9594ec7dfc40",
111+
- strip_prefix = "stardoc-a0f330bcbae44ffc59d50a86a830a661b8d18acc",
112+
)
113+
diff --git a/docs/tools/workspace_status.sh b/docs/tools/workspace_status.sh
114+
new file mode 100755
115+
index 0000000..5ceb3f7
116+
--- /dev/null
117+
+++ b/docs/tools/workspace_status.sh
118+
@@ -0,0 +1,7 @@
119+
+#!/usr/bin/env bash
120+
+
121+
+set -euo pipefail
122+
+
123+
+echo STABLE_SCM_SHORT_VERSION "$(git rev-parse --short HEAD)"
124+
+echo STABLE_SCM_VERSION "$(git rev-parse HEAD)"
125+
+echo STABLE_RELEASE "$(cat ../version.bzl | grep VERSION | sed 's/VERSION = "//' | sed 's/"//')"

.github/docs-0.4.0.patch

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,30 @@ index dc6a3f7..9eb0697 100644
2424
+
2525
+common --noenable_bzlmod
2626
build --workspace_status_command=tools/workspace_status.sh
27+
diff --git a/docs/stardoc_repository.bzl b/docs/stardoc_repository.bzl
28+
index 2153aa8..7c63be7 100644
29+
--- a/docs/stardoc_repository.bzl
30+
+++ b/docs/stardoc_repository.bzl
31+
@@ -7,9 +7,9 @@ def stardoc_repository():
32+
maybe(
33+
http_archive,
34+
name = "io_bazel_stardoc",
35+
+ sha256 = "3fd8fec4ddec3c670bd810904e2e33170bedfe12f90adf943508184be458c8bb",
36+
urls = [
37+
- "https://github.com/bazelbuild/stardoc/archive/a0f330bcbae44ffc59d50a86a830a661b8d18acc.zip",
38+
+ "https://mirror.bazel.build/github.com/bazelbuild/stardoc/releases/download/0.5.3/stardoc-0.5.3.tar.gz",
39+
+ "https://github.com/bazelbuild/stardoc/releases/download/0.5.3/stardoc-0.5.3.tar.gz",
40+
],
41+
- sha256 = "e12831c6c414325c99325726dd26dabd8ed4c9efa7b4f27b4d1d9594ec7dfc40",
42+
- strip_prefix = "stardoc-a0f330bcbae44ffc59d50a86a830a661b8d18acc",
43+
)
44+
diff --git a/docs/tools/workspace_status.sh b/docs/tools/workspace_status.sh
45+
index eaec25a..5ceb3f7 100755
46+
--- a/docs/tools/workspace_status.sh
47+
+++ b/docs/tools/workspace_status.sh
48+
@@ -1,4 +1,4 @@
49+
-#!/bin/bash
50+
+#!/usr/bin/env bash
51+
52+
set -euo pipefail
53+

.github/docs-0.5.0.patch

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,30 @@ index dc6a3f7..9eb0697 100644
1111
+
1212
+common --noenable_bzlmod
1313
build --workspace_status_command=tools/workspace_status.sh
14+
diff --git a/docs/stardoc_repository.bzl b/docs/stardoc_repository.bzl
15+
index 2153aa8..7c63be7 100644
16+
--- a/docs/stardoc_repository.bzl
17+
+++ b/docs/stardoc_repository.bzl
18+
@@ -7,9 +7,9 @@ def stardoc_repository():
19+
maybe(
20+
http_archive,
21+
name = "io_bazel_stardoc",
22+
+ sha256 = "3fd8fec4ddec3c670bd810904e2e33170bedfe12f90adf943508184be458c8bb",
23+
urls = [
24+
- "https://github.com/bazelbuild/stardoc/archive/a0f330bcbae44ffc59d50a86a830a661b8d18acc.zip",
25+
+ "https://mirror.bazel.build/github.com/bazelbuild/stardoc/releases/download/0.5.3/stardoc-0.5.3.tar.gz",
26+
+ "https://github.com/bazelbuild/stardoc/releases/download/0.5.3/stardoc-0.5.3.tar.gz",
27+
],
28+
- sha256 = "e12831c6c414325c99325726dd26dabd8ed4c9efa7b4f27b4d1d9594ec7dfc40",
29+
- strip_prefix = "stardoc-a0f330bcbae44ffc59d50a86a830a661b8d18acc",
30+
)
31+
diff --git a/docs/tools/workspace_status.sh b/docs/tools/workspace_status.sh
32+
index eaec25a..5ceb3f7 100755
33+
--- a/docs/tools/workspace_status.sh
34+
+++ b/docs/tools/workspace_status.sh
35+
@@ -1,4 +1,4 @@
36+
-#!/bin/bash
37+
+#!/usr/bin/env bash
38+
39+
set -euo pipefail
40+

.github/docs-0.5.1.patch

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,30 @@ index dc6a3f7..9eb0697 100644
1111
+
1212
+common --noenable_bzlmod
1313
build --workspace_status_command=tools/workspace_status.sh
14+
diff --git a/docs/stardoc_repository.bzl b/docs/stardoc_repository.bzl
15+
index 2153aa8..7c63be7 100644
16+
--- a/docs/stardoc_repository.bzl
17+
+++ b/docs/stardoc_repository.bzl
18+
@@ -7,9 +7,9 @@ def stardoc_repository():
19+
maybe(
20+
http_archive,
21+
name = "io_bazel_stardoc",
22+
+ sha256 = "3fd8fec4ddec3c670bd810904e2e33170bedfe12f90adf943508184be458c8bb",
23+
urls = [
24+
- "https://github.com/bazelbuild/stardoc/archive/a0f330bcbae44ffc59d50a86a830a661b8d18acc.zip",
25+
+ "https://mirror.bazel.build/github.com/bazelbuild/stardoc/releases/download/0.5.3/stardoc-0.5.3.tar.gz",
26+
+ "https://github.com/bazelbuild/stardoc/releases/download/0.5.3/stardoc-0.5.3.tar.gz",
27+
],
28+
- sha256 = "e12831c6c414325c99325726dd26dabd8ed4c9efa7b4f27b4d1d9594ec7dfc40",
29+
- strip_prefix = "stardoc-a0f330bcbae44ffc59d50a86a830a661b8d18acc",
30+
)
31+
diff --git a/docs/tools/workspace_status.sh b/docs/tools/workspace_status.sh
32+
index eaec25a..5ceb3f7 100755
33+
--- a/docs/tools/workspace_status.sh
34+
+++ b/docs/tools/workspace_status.sh
35+
@@ -1,4 +1,4 @@
36+
-#!/bin/bash
37+
+#!/usr/bin/env bash
38+
39+
set -euo pipefail
40+

.github/docs-0.6.0.patch

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,30 @@ index dc6a3f7..9eb0697 100644
1111
+
1212
+common --noenable_bzlmod
1313
build --workspace_status_command=tools/workspace_status.sh
14+
diff --git a/docs/stardoc_repository.bzl b/docs/stardoc_repository.bzl
15+
index 2153aa8..7c63be7 100644
16+
--- a/docs/stardoc_repository.bzl
17+
+++ b/docs/stardoc_repository.bzl
18+
@@ -7,9 +7,9 @@ def stardoc_repository():
19+
maybe(
20+
http_archive,
21+
name = "io_bazel_stardoc",
22+
+ sha256 = "3fd8fec4ddec3c670bd810904e2e33170bedfe12f90adf943508184be458c8bb",
23+
urls = [
24+
- "https://github.com/bazelbuild/stardoc/archive/a0f330bcbae44ffc59d50a86a830a661b8d18acc.zip",
25+
+ "https://mirror.bazel.build/github.com/bazelbuild/stardoc/releases/download/0.5.3/stardoc-0.5.3.tar.gz",
26+
+ "https://github.com/bazelbuild/stardoc/releases/download/0.5.3/stardoc-0.5.3.tar.gz",
27+
],
28+
- sha256 = "e12831c6c414325c99325726dd26dabd8ed4c9efa7b4f27b4d1d9594ec7dfc40",
29+
- strip_prefix = "stardoc-a0f330bcbae44ffc59d50a86a830a661b8d18acc",
30+
)
31+
diff --git a/docs/tools/workspace_status.sh b/docs/tools/workspace_status.sh
32+
index eaec25a..5ceb3f7 100755
33+
--- a/docs/tools/workspace_status.sh
34+
+++ b/docs/tools/workspace_status.sh
35+
@@ -1,4 +1,4 @@
36+
-#!/bin/bash
37+
+#!/usr/bin/env bash
38+
39+
set -euo pipefail
40+

.github/docs-0.7.0.patch

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,20 @@ index dc6a3f7..9eb0697 100644
1111
+
1212
+common --noenable_bzlmod
1313
build --workspace_status_command=tools/workspace_status.sh
14+
diff --git a/docs/stardoc_repository.bzl b/docs/stardoc_repository.bzl
15+
index 2153aa8..7c63be7 100644
16+
--- a/docs/stardoc_repository.bzl
17+
+++ b/docs/stardoc_repository.bzl
18+
@@ -7,9 +7,9 @@ def stardoc_repository():
19+
maybe(
20+
http_archive,
21+
name = "io_bazel_stardoc",
22+
+ sha256 = "3fd8fec4ddec3c670bd810904e2e33170bedfe12f90adf943508184be458c8bb",
23+
urls = [
24+
- "https://github.com/bazelbuild/stardoc/archive/a0f330bcbae44ffc59d50a86a830a661b8d18acc.zip",
25+
+ "https://mirror.bazel.build/github.com/bazelbuild/stardoc/releases/download/0.5.3/stardoc-0.5.3.tar.gz",
26+
+ "https://github.com/bazelbuild/stardoc/releases/download/0.5.3/stardoc-0.5.3.tar.gz",
27+
],
28+
- sha256 = "e12831c6c414325c99325726dd26dabd8ed4c9efa7b4f27b4d1d9594ec7dfc40",
29+
- strip_prefix = "stardoc-a0f330bcbae44ffc59d50a86a830a661b8d18acc",
30+
)

.github/docs-0.7.1.patch

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,20 @@ index dc6a3f7..9eb0697 100644
1111
+
1212
+common --noenable_bzlmod
1313
build --workspace_status_command=tools/workspace_status.sh
14+
diff --git a/docs/stardoc_repository.bzl b/docs/stardoc_repository.bzl
15+
index 2153aa8..7c63be7 100644
16+
--- a/docs/stardoc_repository.bzl
17+
+++ b/docs/stardoc_repository.bzl
18+
@@ -7,9 +7,9 @@ def stardoc_repository():
19+
maybe(
20+
http_archive,
21+
name = "io_bazel_stardoc",
22+
+ sha256 = "3fd8fec4ddec3c670bd810904e2e33170bedfe12f90adf943508184be458c8bb",
23+
urls = [
24+
- "https://github.com/bazelbuild/stardoc/archive/a0f330bcbae44ffc59d50a86a830a661b8d18acc.zip",
25+
+ "https://mirror.bazel.build/github.com/bazelbuild/stardoc/releases/download/0.5.3/stardoc-0.5.3.tar.gz",
26+
+ "https://github.com/bazelbuild/stardoc/releases/download/0.5.3/stardoc-0.5.3.tar.gz",
27+
],
28+
- sha256 = "e12831c6c414325c99325726dd26dabd8ed4c9efa7b4f27b4d1d9594ec7dfc40",
29+
- strip_prefix = "stardoc-a0f330bcbae44ffc59d50a86a830a661b8d18acc",
30+
)

.github/docs-0.8.0.patch

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,20 @@ index dc6a3f7..9eb0697 100644
1111
+
1212
+common --noenable_bzlmod
1313
build --workspace_status_command=tools/workspace_status.sh
14+
diff --git a/docs/stardoc_repository.bzl b/docs/stardoc_repository.bzl
15+
index 2153aa8..7c63be7 100644
16+
--- a/docs/stardoc_repository.bzl
17+
+++ b/docs/stardoc_repository.bzl
18+
@@ -7,9 +7,9 @@ def stardoc_repository():
19+
maybe(
20+
http_archive,
21+
name = "io_bazel_stardoc",
22+
+ sha256 = "3fd8fec4ddec3c670bd810904e2e33170bedfe12f90adf943508184be458c8bb",
23+
urls = [
24+
- "https://github.com/bazelbuild/stardoc/archive/a0f330bcbae44ffc59d50a86a830a661b8d18acc.zip",
25+
+ "https://mirror.bazel.build/github.com/bazelbuild/stardoc/releases/download/0.5.3/stardoc-0.5.3.tar.gz",
26+
+ "https://github.com/bazelbuild/stardoc/releases/download/0.5.3/stardoc-0.5.3.tar.gz",
27+
],
28+
- sha256 = "e12831c6c414325c99325726dd26dabd8ed4c9efa7b4f27b4d1d9594ec7dfc40",
29+
- strip_prefix = "stardoc-a0f330bcbae44ffc59d50a86a830a661b8d18acc",
30+
)

0 commit comments

Comments
 (0)