Skip to content

Split build#40

Merged
mosquito merged 2 commits intomasterfrom
feature/faster-docs-build
Mar 14, 2026
Merged

Split build#40
mosquito merged 2 commits intomasterfrom
feature/faster-docs-build

Conversation

@mosquito
Copy link
Copy Markdown
Owner

This pull request introduces a new Docker-based build workflow for the documentation, streamlining CI jobs and separating PDF and HTML builds. It adds a dedicated Docker image for LaTeX builds, restructures the GitHub Actions workflows to use this image, and improves artifact handling between jobs. These changes make the documentation build process more reliable and modular, especially for PDF generation.

CI Workflow Improvements:

  • Added .github/workflows/docker-docs.yml to build and publish a docs-build Docker image to GHCR on changes to docs/Dockerfile or via manual dispatch.
  • Refactored .github/workflows/docs.yml to split jobs into build-pdf (using the Docker image) and build-html, with improved artifact upload/download for the PDF. The publish job now depends on build-html. [1] [2] [3]

Docker Image Enhancements:

  • Updated docs/Dockerfile to add Open Container Initiative labels describing the image and its source, clarifying its purpose for LaTeX builds.

Makefile and Build Process Updates:

  • Changed the DOCKER_IMAGE variable in docs/Makefile to default to the published GHCR image, and updated the docker-pdf target to pull the image instead of building locally, with instructions for overriding. [1] [2]

@mosquito mosquito merged commit 5f14e54 into master Mar 14, 2026
17 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant