mirror of
https://github.com/Anon-Planet/thgtoa.git
synced 2026-05-06 19:44:19 +02:00
a47e02939d
Submit locally crafted PDFs (currently, dark mode is broken and I'm refactoring the CSS and HTML to fix this). First runs likely will fail due to how runners work on GitHub Actions. Signed-off-by: nopeitsnothing <no@anonymousplanet.org>
2.5 KiB
2.5 KiB
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased
Changed
- Refactored GitHub Actions workflow Build PDF (
scripts\build_guide_pdf.py): now builds both light and dark mode PDFs (export/thgtoa.pdfandexport/thgtoa-dark.pdfrespectively). - Restored previous VT scans workflow VirusTotal Scan (
.github/workflows/vt-scan.yml): submit files to VT for malware scanning. Links will be published on the site.
1.2.1 - 2026-04-11
Added
-
GitHub Actions workflow Build PDF (
.github/workflows/build-pdf.yml): installs Chromium onubuntu-latest, runsscripts/build_guide_pdf.py, uploadsexport/guide.pdfas theguide-pdfartifact. Runs onworkflow_dispatch, on pushes tomainthat touch docs or build inputs, and on matching pull requests. -
scripts/build_guide_pdf.pyto build the MkDocs site and render the guide to a single PDF (export/guide.pdfby default) using a Chromium-based browser (Chrome or Edge) headless print-to-PDF. -
docs/stylesheets/extra.cssandextra_cssinmkdocs.ymlfor shared site styling. -
This
CHANGELOG.md.
Changed
README.md“Ways to read or export the guide”: hosted link, localmkdocs serve, PDF build via the script, ODT note, raw Markdown link.- Guide landing layout: wrap the opening block in
docs/guide/index.mdwith aguide-intro-leadcontainer so the logo and first sections share one layout context for web and print. .gitignoreto exclude local build outputsexport/,site/, and_site_test/.scripts/build_guide_pdf.py: when theCIenvironment variable is set, pass Chromium flags (--no-sandbox,--disable-setuid-sandbox,--disable-dev-shm-usage) so headless print works on typical CI images.README.md: note the Build PDF GitHub Actions workflow and theguide-pdfartifact.
Fixed
docs/guide/index.md: replace broken reference-style internal links ([label][label:]) with working same-page fragment links to the correct headings; correct the mismatched “Real-Name System” cross-reference; fix a broken footnote marker on the “free (unallocated) space of your hard drive” list item.