Commit Graph

141 Commits (2397113710b87ed98e5dd6922d2e05ecf14e1b80)

Author SHA1 Message Date
Sebastiaan Speck 2397113710 build-pdf: add the option to build a single language 2023-12-22 15:03:43 +05:30
Sebastiaan Speck ebab29116d deploy: only move files that exist 2023-12-22 15:03:43 +05:30
Sebastiaan Speck 670bc47fe2 deploy: remove PDF's from sha256sum
Removing PDF's from sha256sum since every commit will include zero or N PDF's, so the sha256sum will always be different.
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
Juri Dispan 9d383ade68
*: fix typos in command names (#11730)
* *: fix typos in command names

* command name fixes in other languages

* fix incorrectly translated commands

* change incorrect file name

* qm move disk alias pages

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-12-14 17:41:19 +05:30
Sebastiaan Speck 778555a1fb
send-to-bot: remove once, let the tldr-bot always comment (#11547) 2023-11-20 21:06:02 +01:00
Sebastiaan Speck 4547f49a08
test: skip symlinked English folder and optimise the script (#11537)
* test: skip symlinked English folder and optimise the script

* Update test.sh

* Update test.sh

* Update test.sh

* Update test.sh

* Update test.sh

* Update test.sh

* Update test.sh
2023-11-18 11:48:52 +01:00
Sebastiaan Speck 6edd7d1854
check-pr: use better regex (#11525)
* check-pr: more descriptive message

* check-pr: better regex

* Update check-pr.sh
2023-11-17 23:15:25 +05:30
Sebastiaan Speck 8f1ca06f30
check-pr: add outdated-check (#11498) 2023-11-14 16:36:02 +01:00
K.B.Dharun Krishna ec531b230b
scripts/test.sh: remove TLDR005 from ignore list for languages (#11486)
* scripts/test.sh: remove TLDR005 from ignore list for languages

* scripts/test.sh: ignore TLDR005 in Chinese pages

* scripts/test.sh: fix indentation

* scripts/test.sh: reorder ignore list
2023-11-13 19:52:16 +05:30
Sebastiaan Speck 84fceb978b
scripts: make set-alias-page.py runnable (#11477) 2023-11-12 13:08:51 +01:00
Sebastiaan Speck 75d9f61819
check-pr: add check to see if English page exists (#11470) 2023-11-12 10:48:15 +01:00
Sebastiaan Speck 4ea80ce3b3
check-pr: fix GitHub Action to gather the diff (#11425) 2023-11-11 19:35:12 +01:00
K.B.Dharun Krishna 5c26174aa9
pages/*: update links and more info link script (#11390)
* pages/*: update links and more info link script

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* cleanup: reformat code

* ax-webapp: fix link

* curl: fix false positive

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>

---------

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2023-11-06 23:14:12 +05:30
Sebastiaan Speck c059eb1c19
scripts: fix typo (#11396) 2023-11-06 13:31:28 +01:00
K.B.Dharun Krishna f1aa0a8fe5
Revert "pages/*: add standard translation and links (#11331)" (#11374)
This reverts commit 39642c3fed80aaed7212bca6b7cc4c345ed229ee.
2023-11-06 14:02:32 +05:30
K.B.Dharun Krishna 8538a31451
pages/*: add standard translation and links (#11331)
* pages/*: add standard translation and links

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* fix1: false positives; standardize Bengali, Hindi, Nepali periods

* fix: periods in recently added Bengali pages

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* fix: false positives in modified files

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* cleanup: update to native period in Bengali l10n

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

---------

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-11-06 14:02:31 +05:30
Lena 250b9d7c21
scripts: use `[[` instead of `[`, fix literal shell globs (#11290)
* build.sh: move `*` outside quotes (it doesn't get expanded)

* scripts: use `[[` instead of `[` in if statements
2023-10-26 22:11:24 +05:30
Lena 5e1ae7dbbe
fix/scripts: remove unnecessary `-r` from `cp` (#11210) 2023-10-24 16:44:27 +05:30
K.B.Dharun Krishna a8d6441ad1
fix/scripts: replace build assets symlink with copy (#11205) 2023-10-24 11:17:53 +02:00
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
Lena af2f6d9d3e
Symlink `pages.en` to `pages` (#11139)
* Symlink `pages.en` to `pages`

* Update `build.sh` to symlink `pages.en` to `pages`
2023-10-21 22:02:19 +02:00
K.B.Dharun Krishna fd24c5b49a
scripts/set-more-info-link.py: add Czech translation (#10894) 2023-10-15 22:17:23 +02:00
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
Adam Henley 8aacd0800b
feature support: provide translation archives (#10555)
* Feature Support Download Of Individual Languages By Clients

Signed-off-by: Adam Henley <adamazing@gmail.com>

* Rename language archival step function

Co-authored-by: Jack Lin <blueskyson1401@gmail.com>

---------

Signed-off-by: Adam Henley <adamazing@gmail.com>
Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
2023-08-16 10:39:53 +05:30
K.B.Dharun Krishna b84d4ad3af
pages.th/*: remove period (#10449) 2023-07-14 09:50:02 +05:30
dependabot[bot] 6260eba27c
build(deps): bump glob from 7.2.0 to 10.2.7 (#10377)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthew Peveler <matt.peveler@gmail.com>
2023-07-06 08:47:20 -07:00
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
Seth Falco 50145c29ac
chore: check black version before running (#10063) 2023-04-13 22:58:23 +01:00
Axel Navarro f299711968
scripts/deploy.sh: fix script syntax (#9674) 2022-12-26 18:44:41 +05:30
Matthew Peveler 312ecf8226
scripts/deploy.sh: generate sha256sum of artifacts (#9669) 2022-12-26 08:14:49 -03:00
Krzysztof Bociurko a55e9f412d
scripts/test.sh: add batching to markdownlint (#9469) 2022-11-24 11:16:42 -03:00
Tan Siret A afac125d3c
*: update link label in Turkish translation (#9453) 2022-10-31 06:52:35 -03:00
phatsss c2d7b27c80
*: add Lao translation (#8893) 2022-10-24 09:15:57 -03:00
Matthew Peveler ffcd73854c
scripts: improve generated PDF bookmark layout (#8809) 2022-10-07 20:10:44 -03:00
K.B.Dharun Krishna f9e89c9007
pages.th/*: fix more information label (#8585) 2022-10-02 11:34:41 -03:00
lincc adf4448df8
set-more-info-link.py: add Catalan translation (#7797) 2022-02-18 21:55:31 -03:00
lincc 27cbb29209
set-more-info-link.py, translation-templates/*: add Uzbek language (#7536) 2021-12-26 12:57:58 -03:00
Sailesh Shrestha ce9834c29b
set-more-info-link.py, translation-templates/*: add Nepali translation (#7228) 2021-11-06 17:41:18 -03:00
Axel Navarro 782e90e596
set-more-info-link: fix Turkish translation (#7227) 2021-11-01 22:31:50 +00:00
Arun Isaac c087c6e253
set-more-info-link.py: improve Tamil translation (#7366) 2021-11-01 16:29:28 -03:00
lincc 0920259600
set-more-info-link.py, translation-templates/*: add bn, sr, uk translation tags (#7101) 2021-10-20 14:25:03 -03:00
lincc 9912d26258
scripts/set-alias-page.py: add (#6845)
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
Co-authored-by: Matthew Peveler <matt.peveler@gmail.com>
2021-10-11 10:40:03 -10:00