Commit Graph
1 Commits
Author SHA1 Message Date
Eva SarafianouandCursor f434bd9da6 docs: ship offline documentation in the release tarball (#38957)
* docs: ship offline documentation in the release tarball

Package the Docusaurus build into client/_documentation, serve it at
/_documentation, and add mattermost docs for reading install guides when the
server is not running. Stacks on the egress/self-host docs PR.

Co-authored-by: Cursor <cursoragent@cursor.com>

* docs: address CodeRabbit packaging review findings

Hardlink dedup is atomic (temp link + replace), DOCS_BUNDLE missing fails
the package step, docs HTML skips year-long cache, docs CLI sets
ReadHeaderTimeout, and clean URLs with periods resolve to .html siblings.

Co-authored-by: Cursor <cursoragent@cursor.com>

* docs: drop redundant localhost comment on mattermost docs bind

Co-authored-by: Cursor <cursoragent@cursor.com>

* docs: strip YouTube/Wistia embeds from the offline docs tarball

Hosted docs keep in-page players. Remove those tags when packaging
client/_documentation so airgapped installs do not reference those CDNs.

Co-authored-by: Cursor <cursoragent@cursor.com>

* docs: strip Wistia preload links from the offline docs tarball

Co-authored-by: Cursor <cursoragent@cursor.com>

* docs: move offline docs handler into web/docs.go

Keep static.go focused on InitStatic wiring, and drop a subjective
build-time estimate from the offline bundle README.

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-13 21:50:52 +03:00