Revert "scripts: build and deploy PDF pages for translations (#10846)" (#10965)

This reverts commit a2ab577848.
This commit is contained in:
K.B.Dharun Krishna
2023-10-13 11:00:58 +05:30
committed by GitHub
parent a2ab577848
commit b333d3d3a5
8 changed files with 24 additions and 66 deletions

View File

@@ -2,6 +2,12 @@
This directory contains the script and related resources to generate a PDF document with all the `tldr` pages.
## Preview
![cryptsetup in the Basic color-scheme.](https://user-images.githubusercontent.com/29029116/35637791-4e42af80-06db-11e8-8b8e-42ce6c905ff4.jpg)
![cryptsetup in the Solarized Light color-scheme.](https://user-images.githubusercontent.com/29029116/35637798-51e3784a-06db-11e8-9576-6e57ef5c5c20.jpg)
![cryptsetup in the Solarized Dark color-scheme.](https://user-images.githubusercontent.com/29029116/35637801-54449fce-06db-11e8-93f7-d90cdc34044b.jpg)
## Highlights
- No LaTeX dependencies for generating the PDF.
@@ -19,20 +25,14 @@ Make sure OS specific dependencies for WeasyPrint are installed by following the
Generating the PDF is as simple as running:
python3 render.py <path-to-pages-directory> [--color <color-scheme>] [--output <filename>]
python3 render.py <path-to-pages-directory> --color <color-scheme>
Complete information about the arguments can be viewed by running:
python3 render.py --help
Available color schemes:
The color-schemes that can be specified are:
- `basic`
- `solarized-light`
- `solarized-dark`
## Preview
![cryptsetup in the Basic color-scheme.](https://user-images.githubusercontent.com/29029116/35637791-4e42af80-06db-11e8-8b8e-42ce6c905ff4.jpg)
![cryptsetup in the Solarized Light color-scheme.](https://user-images.githubusercontent.com/29029116/35637798-51e3784a-06db-11e8-9576-6e57ef5c5c20.jpg)
![cryptsetup in the Solarized Dark color-scheme.](https://user-images.githubusercontent.com/29029116/35637801-54449fce-06db-11e8-93f7-d90cdc34044b.jpg)
* `basic`
* `solarized-light`
* `solarized-dark`