Sebastiaan Speck
e215cdbc18
build-pdf: add special language cases
2023-12-22 15:03:43 +05:30
Sebastiaan Speck
2397113710
build-pdf: add the option to build a single language
2023-12-22 15:03:43 +05:30
Sebastiaan Speck
a67677eaaf
build-pdf: refactor the script
2023-12-22 15:03:43 +05:30
Sebastiaan Speck
77d0160191
build-pdf: only determine language if needed
2023-12-22 15:03:43 +05:30
Sebastiaan Speck
f907fcbb2f
build-pdf: only build changed folders since last commit
2023-12-22 15:03:43 +05:30
K.B.Dharun Krishna
10e2c5b145
Revert "build-pdf: only build changed folders since last commit" ( #11795 )
...
Revert "build-pdf: only build changed folders since last commit (#11773 )"
This reverts commit 1de7b5a80b
.
2023-12-19 17:40:57 +05:30
Sebastiaan Speck
1de7b5a80b
build-pdf: only build changed folders since last commit ( #11773 )
...
* build-pdf: only build changed folders since last commit
* build-pdf: only determine language if needed
* build-pdf: refactor the script
2023-12-19 17:38:20 +05:30
K.B.Dharun Krishna
4e53530691
feat/scripts: support generating PDFs for platforms ( #11195 )
...
* feat/scripts: support generating PDFs for platform
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
* render.py: reformat code for black
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
* PDF/README: update command
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
* render.py: update code
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
* render.py: drop platform none parameter from main
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
---------
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-10-24 00:59:43 +05:30
K.B.Dharun Krishna
e35b482300
scripts: build and deploy PDF pages for translations ( #10969 )
...
* scripts: build and deploy PDF pages for translations
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
* render.py: fix typo in filename description
---------
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-10-22 02:34:22 +05:30
K.B.Dharun Krishna
b333d3d3a5
Revert "scripts: build and deploy PDF pages for translations ( #10846 )" ( #10965 )
...
This reverts commit a2ab577848
.
2023-10-13 11:00:58 +05:30
K.B.Dharun Krishna
a2ab577848
scripts: build and deploy PDF pages for translations ( #10846 )
...
* scrips: build and deploy PDF pages for all languages
* cleanup/render.py: reformat code
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
* Apply suggestions from code review
Co-authored-by: Matthew Peveler <matt.peveler@gmail.com>
* scrpts/pdf: update README, refactor code
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
* test/ci: building PDF was wildcard
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
* test/ci: building translations as wildcard 2
* test/ci: fix flag in PDF building
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
* test/ci: update build pdf action
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
* test/ci: extend PDF exclusion list
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
* cleanup/ci: update PDF translation build
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
* scripts/pdf: add website and repo link
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
* test/ci: move PDF build to seperate script file
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
* test/ci: minor fixes to build pdf script
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
* cleanup/ci: update build PDF
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
* scripts: update font family, minor fix
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
* fix/deploy: sha256sum command
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
---------
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Matthew Peveler <matt.peveler@gmail.com>
2023-10-13 09:58:02 +05:30
Tristan Jahnke
e747bd8132
scripts/*.py: update coding style ( #10761 )
...
* convert to f string
* use a next function instead of a for-loop
* remove uneeded else statement
* use in operator instead of multi comparison
* conver to f string
* adds extra line between function defs
* revert/change to PR comment around looping
* remove uneeded loops
* revert to keep old style choice
2023-10-04 14:02:15 +05:30
dependabot[bot]
d06d41d23a
build(deps): bump black from 22.3.0 to 23.3.0, reformat render.py for latest black version ( #10284 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-06-13 15:18:54 +02:00
Matthew Peveler
ffcd73854c
scripts: improve generated PDF bookmark layout ( #8809 )
2022-10-07 20:10:44 -03:00
Matthew Peveler
3fa29ea1c2
tooling: add black and flake8 for python formatting/linting ( #6454 )
2021-09-03 12:17:51 -03:00
lincc
b0cb85ae98
render.py: fix PDF kerning rendering bug ( #6366 )
2021-08-26 05:17:50 +00:00
CleanMachine1
6637acf662
scripts: add SPDX-License-Identifier in files ( #6215 )
2021-07-16 14:15:31 +01:00
bl-ue
dc690e38eb
render.py: fix typo ( #5206 )
2021-01-31 16:27:36 +00:00
Kyle Anthony Williams
f320863c9d
Repaired indentation error.
2020-12-19 14:58:03 -05:00
Kyle Anthony Williams
6251e4eb3b
Finished resolving of commits.
2020-12-18 22:52:07 -05:00
Kyle Anthony Williams
f225e1a30a
Merge remote-tracking branch 'upstream/master'
2020-12-18 22:38:17 -05:00
Starbeamrainbowlabs
5b5b590ee2
pdf script: format & add datetime ( #4993 )
2020-12-11 20:25:11 +00:00
Kyle Anthony Williams
896555f79e
Updated the render.py README.
...
* Updated command line usage to:
* Reflect changes made to the CLI.
* Demonstrate recommended use of pip.
* Made some grammar changes.
* Added more useful alt text to the images.
2020-12-04 12:09:48 -05:00
Kyle Anthony Williams
954ceb7b98
Made render.py more Pythonic.
...
* Converted the top comment to a multi-line string.
* Replaced `i` with `enumerate`.
* Gave the `ArgumentParser` a name and description.
* Added `basic` as a color choice and made it the default.
* Added `color` as a long flag.
* Removed no longer used variables and `if` statement.
2020-12-04 11:58:27 -05:00
Waldir Pimenta
37634b36f7
Harmonize project name (lowercase tldr, no semicolon, hyphen-separated)
2020-05-27 22:22:32 +02:00
Zlatan Vasović
e2ae506613
Rework PDF script ( #3654 )
2019-12-17 21:25:52 +01:00
Agniva De Sarker
747ae04995
README: bring back old markdown syntax
2018-11-14 22:20:44 +00:00
Petrus Kiendys
f8020369c3
Update readme
...
- notation fix, 'hyphen' --> 'colon'
- markdown fix, use double asterisk for "strong emphasis" instead of headers
2018-11-14 22:20:44 +00:00
Felix Yan
d82202088f
scripts: fix a typo ( #2404 )
2018-10-07 17:17:30 +05:30
Ayush Dwivedi
490da5763d
Render PDF copies of tldr pages ( #1964 )
2018-03-12 00:23:48 +05:30