Commit Graph

96 Commits (844a5614158a5228654d9bd07442a6fe771d825f)

Author SHA1 Message Date
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
Starbeamrainbowlabs 5b5b590ee2
pdf script: format & add datetime (#4993) 2020-12-11 20:25:11 +00:00
Owen Voke 252271c35a ci: add PDF upload to deploy script 2020-12-04 18:48:24 +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
Jamie Magee 34f8c610df
Checkout all branches in GitHub Actions (#4437)
By default actions/checkout@v2 only checks out the latest commit of the current branch. Unfortunately, this causes the `git diff` check in `check-pr.sh` to fail, as `master` branch isn't available`.

This change checks out all commits of all branches, which allows `git diff` to work correctly.

Ideally, I'd like to use the `ref` setting of actions/checkout@v2, but that only supports a single ref so it's not possible to checkout the PR branch _and_ `master` branch at the same time.
2020-10-05 16:23:08 +01:00
Owen Voke 68f8e470d1 Fix PULL_REQUEST_ID reference when not set 2020-06-26 18:55:59 +02:00
Owen Voke 7e3ca9c540 Resolve deploy key from secrets 2020-06-26 18:55:59 +02:00
Owen Voke 5e958f6074 Update scripts to use PULL_REQUEST_ID 2020-06-26 18:55:59 +02:00
Owen Voke 81d346f006 Replace 'TRAVIS_COMMIT_RANGE' usage 2020-06-26 18:55:59 +02:00
Owen Voke 7472600aa1 Update Travis references in scripts 2020-06-26 18:55:59 +02:00
Waldir Pimenta 37634b36f7 Harmonize project name (lowercase tldr, no semicolon, hyphen-separated) 2020-05-27 22:22:32 +02:00
Marco Bonelli c8291fdcfa Remove unnecessary newlines in send-to-bot messages. (#3754)
GitHub wraps text in comments even when a single newline is
encountered. This made comments by @tldr-bot look awkward.
2020-01-13 20:45:31 +01:00
Zlatan Vasović e2ae506613
Rework PDF script (#3654) 2019-12-17 21:25:52 +01:00
Marco Bonelli 359ada47c7 Scripts: use POSIX subcommand invocation 2019-11-29 16:01:25 +00:00
Marco Bonelli 4d153b7d8e test.sh: rename functions 2019-11-29 16:01:25 +00:00
Marco Bonelli 11ad7b5203 Check PR: optimize script 2019-11-29 16:01:25 +00:00
Marco Bonelli 2ae688016a Send to bot: rename script 2019-11-29 16:01:25 +00:00
Marco Bonelli 134e63f318 Send to bot: better action names, simplify endpoint 2019-11-29 16:01:25 +00:00