GitHub pipeline#1
Merged
kyselejsyrecek merged 2 commits intomasterfrom Aug 29, 2025
Merged
Conversation
ec602af to
30ee35e
Compare
added 2 commits
August 29, 2025 22:04
Apparently, draw.io spoils its SVG 1.1 output images with some HTML tags (invalid within the 1.1 standard). These are then rendered ad black blocks by the svgexport NPM package (required by gitbook to export the book). These SVGs were re-exported using Inkscape 1.2 to make svgexport happy. They are still somewhat oversized and cropped in the A5 format, though. A CSS rule similar to the following one may be needed in a CSS file at the right location in the repository: @media print { img { object-fit: scale-down; } }
30ee35e to
ae81440
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Inspired by @siddhpant's solution form 0xAX#837 (https://github.com/siddhpant/linux-insides/releases), it just uses the original gitbook-based solution.
I am quite confident that the pipeline could be improved:
lrx0014/gitbook:3.2.3Docker image updated (so that it does not have to be modified upon each invocation) andYet, the solution just works now so I would consider these as next steps or nice to have. Would be great still if anyone interested has the time and abilities to do that on their own, as I almost certainly would not find the time for it.
All exported e-book versions of the book are in the A5 format. A PDF in the A4 format is provided too.
Related issues