Add script to build release documentation
The script builds a snapshot of the documentation, based on the state in the release branch.
Next, it rewrites all links to point to the versioned documentation for that release.
Finally, it creates an archive of all documentation files.
Closes #15686.
PiperOrigin-RevId: 460684222
Change-Id: Ic466e9e72cc862079f0551703fc2a16701888a2e
diff --git a/scripts/BUILD b/scripts/BUILD
index 168c30b..c477439 100644
--- a/scripts/BUILD
+++ b/scripts/BUILD
@@ -39,6 +39,7 @@
filegroup(
name = "srcs",
srcs = glob(["**"]) + [
+ "//scripts/docs:srcs",
"//scripts/packages:srcs",
"//scripts/release:srcs",
"//scripts/zsh_completion:srcs",