Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Standardization of Public Documentation Hosting on GitHub Pages

ADR-26022: Standardization of Public Documentation Hosting on GitHub Pages

Date

2026-02-06

Status

Proposed

Context

As the ecosystem expands into multiple standalone repositories, we require a unified, scalable, and low-maintenance strategy for publishing technical documentation. Historically, some projects utilized a self-hosted stack involving Podman, Traefik, and Nginx. While robust, this “private server” approach introduces several risks for open-source projects:

Decision

We will standardize GitHub Pages (GH Pages) as the canonical hosting platform for all public-facing documentation across the ecosystem.

Implementation Requirements:

  1. Serverless Deployment: All public repositories MUST utilize the official actions/deploy-pages GitHub Action to publish build artifacts. The use of manual rsync or SSH-based deployment to private infrastructure is deprecated for public repos.

  2. CI-Driven Builds: Documentation MUST be built within a GitHub Actions runner. For MyST-based projects, this involves running myst build --html before uploading the resulting _build/html directory as an artifact.

  3. Integrity Guardrails: Every deployment workflow MUST include a validation phase, see ADR-26012

  4. Zero-Artifact Commits: Rendered HTML files and _build/ directories MUST NOT be tracked in Git. Deployment must occur dynamically from source logic.

Consequences

Positive

Negative / Risks

Alternatives

References

Participants

  1. Vadim Rudakov

  2. Senior DevOps Systems Architect (Gemini)