Skip to content

Build the docs PDF in CI and restore the download link - #11

Merged
mmlado merged 1 commit into
mainfrom
docs/pdf-build
Sep 4, 2026
Merged

mmlado merged 1 commit into
mainfrom
docs/pdf-build

Conversation

@mmlado

@mmlado mmlado commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

Client request: generate the PDF from the Sphinx docs, same mechanism as
the existing repos (cryptnox-cli's latexpdf flow, PDF shipped inside the
versioned directory like cryptnox-hardware-wallet).

The previous blocker was pdflatex failing on Unicode: fixed by sweeping
the sources (17 arrows, one >=, one multiplication sign) and fencing the
emoji download link in .. only:: html. Verified: pdflatex compiles the
PDF cleanly both locally and in the containerized workflow; the HTML
build stays warning-free.

After merge the deploy publishes /v1.0/cryptnox-id-cli.pdf — the docs
hub's existing PDF link starts working.

🤖 Generated with Claude Code

Sweep the pdflatex-breaking characters (arrows, >=, multiplication sign)
to ASCII; fence the emoji download link in '.. only:: html'; docs.yml
installs texlive, builds the PDF and ships it inside the versioned
directory (/vX.Y/cryptnox-id-cli.pdf), where the docs hub already points.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@mmlado
mmlado requested a review from embarquech September 4, 2026 14:38
@mmlado mmlado self-assigned this Sep 4, 2026
@mmlado
mmlado merged commit 47a72e4 into main Sep 4, 2026
12 checks passed
@mmlado
mmlado deleted the docs/pdf-build branch September 4, 2026 16:11
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.

2 participants