Commit Graph

114 Commits (3b02e38ff46541acc540922caabb5caa50e9c1be)

Author SHA1 Message Date
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
marchersimon d63065b882
Replace non-breaking space with regular space in French pages (#6842) 2021-10-07 09:37:39 +02:00
marchersimon 088f340e55
set-more-info-link.py: add Arabic translation (#6813) 2021-10-05 18:03:46 -03:00
marchersimon 1a98d09a48
*: fix period in Japanese translation (#6812) 2021-10-05 21:10:14 +01:00
marchersimon cc25275e96
set-more-info-link.py, pages.hi/*: fix punctuation in Hindi translation (#6570) 2021-10-03 15:22:06 -03:00
a1346054 5c62e303b5
*: shellcheck and fix typos (#6526)
* test.sh: quote a variable

* contributing-guides/*: fix typos

* pages/*: fix typos

* scripts/*: fix typos

* MAINTAINERS.md: trim trailing whitespace

Co-authored-by: a1346054 <36859588+a1346054@users.noreply.github.com>
2021-09-16 00:32:13 -03:00
lincc 9c6d2865dc
set-more-information.py: add sync option (#6405) 2021-09-15 13:14:00 -10:00
Axel Navarro 6d318892f8
script/test: ignore python checks if not available (#6530) 2021-09-15 13:10:16 -10:00
Matthew Peveler 3fa29ea1c2
tooling: add black and flake8 for python formatting/linting (#6454) 2021-09-03 12:17:51 -03:00
Stig124 f4390b1637
send-to-bot.py: use requests instead of urllib (#6184) 2021-09-03 09:10:24 -03:00
marchersimon c70c0c2688
Chinese pages: remove space in More info link (#6305) 2021-08-31 15:13:49 +08: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
Stig124 0bf9645dd5
set-more-info-link.py: add shebang (#6077) 2021-05-30 17:16:53 -03:00
Owen Voke 7d1e2e24ef tools: update script references to 'main' branch 2021-05-01 20:10:05 +01:00
marchersimon 0a15df6ce3
German pages: replace `Mehr Informationen` with `Weitere Informationen` (#5814) 2021-04-24 07:09:56 -04:00
Matthew Peveler 560740f0c2
chore(deps): update tldr-lint to 0.0.11 (#5754)
* chore(deps): update tldr-lint to 0.0.11

Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>

* add more ignore codes

* Update test.sh
2021-04-18 16:19:18 +02:00
bl-ue cebded9a37 set-more-info-link.py: remove leading space in Persian label 2021-04-04 00:44:50 +01:00
bl-ue 1665bf4027
set-more-info-link.py: hbs -> sh (#5671)
For #5664
2021-04-03 02:03:50 +03:00
bl-ue 4706f21e46
scripts: add set-more-info-link.py (#5654)
* scripts: add set-more-info-link.py

* scripts/set-more-info-link.py: use current tldr repo if the script is being run from scripts/

* scripts/set-more-info-link.py: allow passing .md extension

* scripts/set-more-info-link.py: differentiate between links added and updated

* set-more-info-link.py: make omitting .md optional, rather than adding it optional

* set-more-info-link.py: make IGNORE_FILES a tuple rather than a str
2021-04-01 18:54:56 +03:00
bl-ue d607f853be
scripts/*.sh: set executable permission (#5461)
In most repos, executable shell scripts have the executable bit set.
2021-03-31 00:32:17 +01:00
Owen Voke d1affd5b36
ci: update to use @tldr-bot for deploy (#5288) 2021-02-22 12:45:12 +00:00
bl-ue dc690e38eb
render.py: fix typo (#5206) 2021-01-31 16:27:36 +00:00
Matthew Peveler 44472fb217
ci: add tldr-pages/tldr before commit hash for auto gh linking (#5072)
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
2021-01-03 21:48:47 +00:00
Matthew Peveler 549e69573b
remove duplicate pages/index.json file (#5063) 2021-01-02 09:53:39 -05: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