site, docs: Downloads and Documents with every document and the nightly; never the patent (#191)

The documents stage builds the SSRN paper, experiments, proofs and the
four TeX experiment reports (from their sources), and refuses the
patent (scripts/check_no_patent.sh, by name or PDF title: test failed
first, 5 cases pass); a release and the Nexus publish check again.
texlive-science added to make init's documents (siunitx). The canvas's
Documents gains the seven, Downloads a nightly section from Nexus's
latest snapshot (build.py). Built in a scratch copy: every link and
sum filled, no patent. Left: Nexus's anonymous read, on the server.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
This commit is contained in:
Claude
2026-11-21 02:59:23 +00:00
parent 78073f3112
commit 0234dc6baf
13 changed files with 2042 additions and 4 deletions
+6
View File
@@ -39,6 +39,11 @@ ORG = "https://starshipos-f18.org/"
PAGES = ["Main", "Inquiries", "TryIt"]
RELEASE_PAGES = ["Downloads", "Documents"]
RELEASES = "https://gitea.starshipos-f18.org/rajames/LithosAnanke/releases/download/"
# #191: the latest nightly, from Nexus's snapshots (opened for anonymous read, Captain Bob 2026-11-13): the newest
# org.starship:kernelImage asset with the classifier and extension the design names, as [NIGHTLY:<classifier>:<ext>]
NIGHTLY = ("https://nexus.starshipos-f18.org/service/rest/v1/search/assets/download?repository=starshipos-snapshots"
"&maven.groupId=org.starship&maven.artifactId=kernelImage&sort=version&direction=desc"
"&maven.classifier=%s&maven.extension=%s")
IMAGES = {"/_blob/5b564d54d98e02ad600c913a9a1888f2": "badge.jpg",
"/_blob/5483451f292782a8b366e437181c4bcf": "captain-bob.jpg"}
@@ -105,6 +110,7 @@ def forms(html, page):
def release(html, tag, sums):
"""[TAG], [RELEASE]/<file> and [SHA:<file>] from the release; a file it has not is an error."""
html = html.replace("[TAG]", tag)
html = re.sub(r"\[NIGHTLY:([a-z0-9-]+):([a-z0-9.]+)\]", lambda m: (NIGHTLY % (m.group(1), m.group(2))).replace("&", "&amp;"), html)
html = html.replace("[RELEASE]/", RELEASES + tag + "/")
def sha(m):