Skip to content

Commit 6109a77

Browse files
committed
Update file-scrapers.md for ocaml
1 parent 1f6d319 commit 6109a77

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/file-scrapers.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,8 @@ https://ocaml.org/releases/4.11/ocaml-4.11-refman-html.tar.gz
127127
and extract it as `/path/to/devdocs/docs/ocaml`:
128128

129129
```sh
130-
cd /path/to/devdocs/docs
131-
wget https://ocaml.org/releases/4.11/ocaml-4.11-refman-html.tar.gz
132-
tar xf ocaml-4.10-refman-html.tar.gz --transform 's/htmlman/ocaml/'
130+
curl https://ocaml.org/releases/$VERSION/ocaml-$VERSION-refman-html.tar.gz | \
131+
tar xz --transform 's/htmlman/ocaml/' --directory docs/
133132
```
134133

135134
## OpenJDK

0 commit comments

Comments
 (0)