mirror of
https://github.com/uutils/coreutils.git
synced 2025-12-23 08:47:37 +00:00
doc: use github URLs for fetching tldr.zip
This commit is contained in:
parent
7c62885c84
commit
1fbc51fe10
2 changed files with 4 additions and 2 deletions
2
.github/workflows/documentation.yml
vendored
2
.github/workflows/documentation.yml
vendored
|
|
@ -34,7 +34,7 @@ jobs:
|
|||
uses: dtolnay/rust-toolchain@stable
|
||||
|
||||
- name: Download tldr
|
||||
run: curl https://tldr.sh/assets/tldr.zip -o docs/tldr.zip
|
||||
run: curl -L https://github.com/tldr-pages/tldr/releases/latest/download/tldr.zip -o docs/tldr.zip
|
||||
|
||||
- name: Generate documentation
|
||||
run: cargo run --bin uudoc --all-features
|
||||
|
|
|
|||
|
|
@ -139,7 +139,9 @@ fn print_tldr_error() {
|
|||
"To include examples in the documentation, download the tldr archive and put it in the docs/ folder."
|
||||
);
|
||||
eprintln!();
|
||||
eprintln!(" curl https://tldr.sh/assets/tldr.zip -o docs/tldr.zip");
|
||||
eprintln!(
|
||||
" curl -L https://github.com/tldr-pages/tldr/releases/latest/download/tldr.zip -o docs/tldr.zip"
|
||||
);
|
||||
eprintln!();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue