ocaml: update to version 4.11

This commit is contained in:
Simon Legner 2021-01-03 11:56:45 +01:00
parent 7128d2d988
commit a0f6ea2144
2 changed files with 5 additions and 3 deletions

View file

@ -80,13 +80,13 @@ $GS = '/usr/local/opt/ghostscript/bin/gs'; # GhostScript
## OCaml
Download the HTML reference here:
https://ocaml.org/releases/4.10/ocaml-4.10-refman-html.tar.gz
Download from https://www.ocaml.org/docs/ the HTML reference:
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.10/ocaml-4.10-refman-html.tar.gz
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/'
```

View file

@ -3,6 +3,8 @@ module Docs
self.name = 'OCaml'
self.type = 'ocaml'
self.root_path = 'index.html'
self.release = '4.11'
self.base_url = "https://www.ocaml.org/releases/#{self.release}/htmlman/"
self.links = {
home: 'https://ocaml.org/',
code: 'https://github.com/ocaml/ocaml'