mirror of
https://github.com/tealdeer-rs/tealdeer.git
synced 2026-08-09 09:49:10 +02:00
Rename main branch (#239)
This commit is contained in:
parent
7e44095e63
commit
e722b4f92e
4 changed files with 5 additions and 5 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
|
@ -1,7 +1,7 @@
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
pull_request:
|
||||
schedule:
|
||||
- cron: '30 3 * * 2'
|
||||
|
|
|
|||
2
.github/workflows/gh-pages.yml
vendored
2
.github/workflows/gh-pages.yml
vendored
|
|
@ -3,7 +3,7 @@ name: github pages
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
|
|
|
|||
|
|
@ -120,13 +120,13 @@ Thanks to @severen for coming up with the name "tealdeer"!
|
|||
[outfieldr-gh]: https://gitlab.com/ve-nt/outfieldr
|
||||
[python-gh]: https://github.com/tldr-pages/tldr-python-client
|
||||
|
||||
[benchmark-dockerfile]: https://github.com/dbrgn/tealdeer/blob/master/benchmarks/Dockerfile
|
||||
[benchmark-dockerfile]: https://github.com/dbrgn/tealdeer/blob/main/benchmarks/Dockerfile
|
||||
[client-spec]: https://github.com/tldr-pages/tldr/blob/main/CLIENT-SPECIFICATION.md
|
||||
[hyperfine-gh]: https://github.com/sharkdp/hyperfine
|
||||
[outfieldr-comment-tls]: https://github.com/dbrgn/tealdeer/issues/129#issuecomment-833596765
|
||||
|
||||
<!-- Badges -->
|
||||
[github-actions]: https://github.com/dbrgn/tealdeer/actions?query=branch%3Amaster
|
||||
[github-actions]: https://github.com/dbrgn/tealdeer/actions?query=branch%3Amain
|
||||
[github-actions-badge]: https://github.com/dbrgn/tealdeer/workflows/CI/badge.svg
|
||||
[crates-io]: https://crates.io/crates/tealdeer
|
||||
[crates-io-badge]: https://img.shields.io/crates/v/tealdeer.svg
|
||||
|
|
|
|||
|
|
@ -340,7 +340,7 @@ fn init_log() {}
|
|||
|
||||
fn get_languages(env_lang: Option<&str>, env_language: Option<&str>) -> Vec<String> {
|
||||
// Language list according to
|
||||
// https://github.com/tldr-pages/tldr/blob/master/CLIENT-SPECIFICATION.md#language
|
||||
// https://github.com/tldr-pages/tldr/blob/main/CLIENT-SPECIFICATION.md#language
|
||||
|
||||
if env_lang.is_none() {
|
||||
return vec!["en".to_string()];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue