[devdocsgjs/main: 1535/1867] Update file-scrapers.md for ocaml
- From: Andy Holmes <andyholmes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devdocsgjs/main: 1535/1867] Update file-scrapers.md for ocaml
- Date: Fri, 19 Nov 2021 23:48:07 +0000 (UTC)
commit 6109a773c4ad96a2c4d3502551a4c74c13ce218a
Author: Simon Legner <Simon Legner gmail com>
Date: Tue Mar 2 09:13:38 2021 +0100
Update file-scrapers.md for ocaml
docs/file-scrapers.md | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/docs/file-scrapers.md b/docs/file-scrapers.md
index 81451dce..7c96f7bc 100644
--- a/docs/file-scrapers.md
+++ b/docs/file-scrapers.md
@@ -127,9 +127,8 @@ https://ocaml.org/releases/4.11/ocaml-4.11-refman-html.tar.gz
and extract it as `/path/to/devdocs/docs/ocaml`:
```sh
-cd /path/to/devdocs/docs
-wget https://ocaml.org/releases/4.11/ocaml-4.11-refman-html.tar.gz
-tar xf ocaml-4.10-refman-html.tar.gz --transform 's/htmlman/ocaml/'
+curl https://ocaml.org/releases/$VERSION/ocaml-$VERSION-refman-html.tar.gz | \
+tar xz --transform 's/htmlman/ocaml/' --directory docs/
```
## OpenJDK
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]