Rename main branch (#239)

This commit is contained in:
Danilo Bargen 2021-12-30 22:39:27 +01:00 committed by GitHub
commit e722b4f92e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View file

@ -1,7 +1,7 @@
on:
push:
branches:
- master
- main
pull_request:
schedule:
- cron: '30 3 * * 2'

View file

@ -3,7 +3,7 @@ name: github pages
on:
push:
branches:
- master
- main
jobs:
deploy:

View file

@ -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

View file

@ -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()];