Commit Graph

205 Commits

Author SHA1 Message Date
Managor 03d6647632 nix*: make filenames reflect the commands and create disambiguation pages (#16343) 2025-05-06 11:40:10 +03:00
Sebastiaan Speck ff0dcb266b scripts/wrong-filename.sh: add jc.json as exception 2025-05-03 07:50:17 +02:00
Sebastiaan Speck 9c4b80e8be scripts/wrong-filename: add print exceptions (#16075) 2025-03-31 02:22:22 +02:00
RuiNtD 7d3c5c37c7 scripts/build-index: Fix up script (#15903) 2025-03-26 02:02:49 +01:00
Sebastiaan Speck d741d52dbd Upload the debug logging for easier solving tldr-bot issues (#16001) 2025-03-23 06:42:51 +01:00
Kieran 865281f1cd comma: add page (#15944)
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
Co-authored-by: Machiavelli <145562237+MachiavelliII@users.noreply.github.com>
2025-03-18 00:02:59 +02:00
Managor c8c92580da histexpand: delete page (#15857) 2025-03-07 14:06:17 +02:00
Sebastiaan Speck 744aee3387 wrong-filename: add dot 2025-02-19 18:31:18 +01:00
Chooooo 65c3aa9d5e scripts/set-alias-page.py: Improve sync translations (#15389)
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2025-02-16 07:09:55 +05:30
Managor 5a92f25963 more-info-link: update japanese (#15502) 2025-01-14 20:59:38 +01:00
Managor 8a87d07d8b parted: refresh page, parted-interactive: add page (#15432) 2025-01-05 19:05:32 +01:00
Ulices 83e002624f scripts/set-more-info-link: remove duplicated key, pages.*: update more info link (#15427) 2025-01-03 22:04:34 +05:30
Sebastiaan Speck a6927a8856 scripts/wrong-filename: add extra exceptions (#15387) 2024-12-31 05:09:41 +01:00
Angad Singh Grover a75d875fa6 pacman-f: add alias page; pacman-files: update page (#14858) 2024-11-30 02:49:04 +01:00
Angad Singh Grover f708b92311 pacman-r: add alias page; pacman-remove: update page (#14807) 2024-11-16 13:11:41 +01:00
Sebastiaan Speck c56d61f8d6 wrong-filename: add "pacman s" to ignore list (#14802) 2024-11-14 03:17:54 +01:00
Sebastiaan Speck 316e672699 set-alias-page: fix regex 2024-11-05 20:39:01 +01:00
Sebastiaan Speck 80aa7e9c16 set-alias-page: use translated regex (#14574) 2024-11-04 09:22:16 +05:30
Sebastiaan Speck 4cb42adc19 check-pr: add the ability to run with verbose logging (#14577) 2024-11-02 22:39:21 +01:00
Jack Lin aaf688c301 set-alias-page.py: improve regex pattern (#14368) 2024-10-30 18:04:17 +01:00
Sebastiaan Speck eb44fe48f4 check-pr: clarify the messages for new contributors (#14352) 2024-10-28 20:48:53 +01:00
Sebastiaan Speck bf8353aba8 more-info-link: add list of all more-info link templates (#14155) 2024-10-13 18:34:58 +02:00
Lena b421868b4e scripts/*.sh: establish some conventions (#13999)
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2024-10-07 11:32:11 +02:00
Sebastiaan Speck 70d2c92ac0 test: use shellcheck for Bash files (#13974) 2024-10-05 16:41:00 +02:00
Sebastiaan Speck 4ec954298e wrong-filename: add $ and ~ to ignore list (#13940) 2024-10-02 19:47:16 +02:00
Sebastiaan Speck 80c7a83e8b tldr-bot: fix comment formatting (#13931) 2024-10-02 12:15:52 +02:00
Sebastiaan Speck 2418089208 send-to-bot: enrich the comment to update the comment later (#13775) 2024-10-01 22:30:10 +02:00
Sebastiaan Speck da8862ffb4 CI: check if the page title is up-to-date (#13654) 2024-09-10 19:21:59 +02:00
Sebastiaan Speck 1843cebe68 CI: check if the more info link is up-to-date (#13653) 2024-09-10 18:27:48 +02:00
Sebastiaan Speck cca2ec4765 CI: mute output from Python script (#13603)
CI: mute output from Python-script
2024-09-07 19:25:27 +02:00
Sebastiaan Speck dcf36b0d97 CI: check if the more info link is up-to-date (#13566) 2024-09-03 07:43:49 +02:00
Sebastiaan Speck fa91c0c282 scripts/wrong-filename: resolve wrong filenames (#12844) 2024-05-27 19:38:56 +02:00
Sebastiaan Speck dff913f486 scripts/_common.py: add a shared Python file to move duplicated code (#12755)
* `scripts/_common.py`: add a shared Python file to move duplicated code

---------

Co-authored-by: Vítor Henrique <87824454+vitorhcl@users.noreply.github.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-05-18 06:03:40 +05:30
Sebastiaan Speck bc3423250b scripts/set-alias-page.py, scripts/set-more-info-link.py: sync documentation and get_tldr_root (#12744)
Co-authored-by: Vítor Henrique <87824454+vitorhcl@users.noreply.github.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-05-13 16:21:30 +02:00
Sebastiaan Speck 150f02795a scripts/set-page-title.py: add script (#12732) 2024-05-09 13:24:53 +02:00
Sebastiaan Speck 336507ac32 scripts/set-alias-page.py: add language option, fix script (#12745)
* scripts/set-alias-page.py: add language option, fix script

---------

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Vítor Henrique <87824454+vitorhcl@users.noreply.github.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-05-09 16:31:01 +05:30
Sebastiaan Speck 4e8f732c4d scripts/wrong-filename.sh: remove too aggressive replacement 2024-05-05 22:09:10 +02:00
Sebastiaan Speck c8d6b81588 scripts/wrong-filename.sh: add ignore list + extra replacements (#12729) 2024-05-05 21:02:10 +02:00
Sebastiaan Speck fe67f26e3a CI: Only ignore TLDR003, TLDR004 and TLDR015 for specific languages (#12715)
Co-authored-by: Reinhart Previano Koentjoro <reinhart_previano@yahoo.com>
2024-05-05 13:31:02 +02:00
Lena b9941d2ecf fix: allow CI to run when PDFs haven't been generated (#12669) 2024-04-25 07:03:17 +02:00
Vitor Henrique f4d1a1d775 scripts: use pathlib and avoid page iteration (#12183)
* scripts: use pathlib and simplify page iteration

* scripts: remove unnecessary loop

* scripts: remove obsolete condition

* scripts: raise SystemError and readd coloring

* scripts: remove unused "sys" import

* scripts: use Path instead of str for git add

* scripts: revert condition removal

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-02-13 19:14:50 +05:30
Lena f1c35b53a3 scripts/deploy.sh: add deployment to GitHub releases 2024-01-28 18:57:30 +05:30
Vitor Henrique 561a364e0d tooling: add update-command script (#11974)
* tooling: add update-command script

* update-command: add os import

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* update-command: remove sync argument and small refactor

* update-command: add shebang and license

* update-command: remove unused function

* update-command: add dry-run option

* update-command: add docs in header

* update-command: fix old_common_part var name

* update-command: require command without .md

* update-command: fix command name in description

Co-authored-by: Juri Dispan <juri.dispan@posteo.net>

* update-command: remove ".md" suffix in description

* update-command: enclosing positional parameters with angle brackets

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* update-command: enclose paremeters with double angle brackets

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* update-command: refine wording

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* update-command: remove unused functions

* update-command: detect tldr root from any subdir

* update-command: call place_placeholders directly

* update-command: add summary and compatibility to scripts/README.md

* scripts/update-command.py: remove unused method

* scripts/update-command.py: use logger.info instead of print

* scripts/update-command.py: rename command to cmd_example

* scripts/README.md: use command example instead of command

* scripts/update-command.py: remove nonexistent optional argument

* scripts/update-command.py: improve interactive example

* scripts/update-command.py: run black

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2024-01-27 23:10:42 +08:00
Sebastiaan Speck 54f284164d check-pr: fix typo (#12038) 2024-01-08 20:38:24 +01:00
Sebastiaan Speck 31dd28e9a7 check-pr: only check if new platform-specific page exists as common duplicate (#11993) 2024-01-06 19:13:20 +01:00
Sebastiaan Speck b2f0fb4c04 scripts/check-pr: check only for English pages (#11980) 2024-01-03 19:04:10 +05:30
Sebastiaan Speck 9c5ebf5f0b scripts: add option to dry-run (#11883) 2024-01-02 06:53:39 +01:00
Sebastiaan Speck 36a50f5495 check-pr: fix check_duplicates (#11954) 2024-01-01 15:57:04 +01:00
Sebastiaan Speck 006c2f6b22 deploy: use single-quoted argument (#11951) 2023-12-31 13:20:51 +01:00
Sebastiaan Speck ca222b2b81 check-pr: add special case for '(' and ')' (#11869) 2023-12-27 22:17:30 +01:00