Asciidoctor Web PDF is a CLI tool that converts AsciiDoc documents to PDF using web technologies. It employs a multi-stage pipeline: Asciidoctor converts .adoc to HTML, Puppeteer renders the HTML via the Vivliostyle Viewer (CSS paged media), and pdf-lib adds PDF outline/bookmarks and metadata. The architecture features clean separation of concerns with dedicated modules for browser management, MathJax processing, syntax highlighting, outline generation, and metadata injection. Notable for its sophisticated handling of Node.js SEA binary execution paths and server-side MathJax rendering with proper async font loading.
The RISC-V ISA Manual repository is primarily a documentation build system that generates the RISC-V Instruction Set Architecture specifications in PDF, HTML, and EPUB formats. It processes AsciiDoc source files using custom Ruby extensions for cross-referencing, macros, and changebars, orchestrated by a Makefile that defaults to a Dockerized build environment. The system includes validation scripts for normative rules and cross-references, ensuring the specification's integrity. While the core purpose is producing a technical reference, the repository's build infrastructure constitutes an application with reusable components for documentation processing.