diff options
| author | Yuriy Andamasov <yuriy@vyos.io> | 2026-08-15 15:52:50 +0300 |
|---|---|---|
| committer | Yuriy Andamasov <yuriy@vyos.io> | 2026-08-15 15:52:50 +0300 |
| commit | 0f69d0846fef313f23c84d7dff8b5ae8e24ec04c (patch) | |
| tree | 744d5881223f81fca99534da8db9040e48472814 /docs/_static/css/version-picker.css | |
| parent | 6c420e86f4ad0b8440db9060803fe8e8cbdace0f (diff) | |
| download | vyos-documentation-0f69d0846fef313f23c84d7dff8b5ae8e24ec04c.tar.gz vyos-documentation-0f69d0846fef313f23c84d7dff8b5ae8e24ec04c.zip | |
ci: wire circinus docs build into the Cloudflare Workers pipeline
Hand-merges the CF-specific hunks onto circinus's own docker/Dockerfile
and docs/conf.py rather than clobbering them with rolling's versions —
circinus keeps its own content-driven history in both files.
docker/Dockerfile:
- imagemagick + librsvg2-bin (sphinx.ext.imgconverter backend) and
poppler-utils (pdfinfo, used by docs-build.yml's PDF page-count
completeness check), installed --no-install-recommends
- install docker/im-convert.sh as /usr/local/bin/im-convert
docs/conf.py:
- enable sphinx.ext.imgconverter + image_converter = 'im-convert' so
the LaTeX/PDF builder stops silently dropping .webp/.svg images
- register js/version-picker.js + css/version-picker.css
unconditionally (degrades silently on ReadTheDocs)
- _vyos_cf_build gate off the raw DOCS_VERSION_SLUG env var; only CF
builds load js/pagefind-wrapper.js, and html_context['vyos_cf_build']
lets _templates/searchbox.html fall back to the stock Sphinx
searchbox via the "!" bang-include on RTD
The RTD path stays the default in both files: circinus continues
building on ReadTheDocs until RTD sunset, and every CF feature activates
only when DOCS_VERSION_SLUG is present. .readthedocs.yml is untouched.
circinus keeps its own version/release/html_title/source_suffix and its
hardcoded html_baseurl (its CF slug is also `1.5`, so rolling's
DOCS_VERSION_SLUG/READTHEDOCS_VERSION resolution block is a no-op here
and was deliberately not ported).
Advances: IS-572
Diffstat (limited to 'docs/_static/css/version-picker.css')
0 files changed, 0 insertions, 0 deletions
