mirror of
https://github.com/freeCodeCamp/devdocs
synced 2024-11-16 19:48:10 +01:00
ocaml: update to version 4.11
This commit is contained in:
parent
7128d2d988
commit
a0f6ea2144
2 changed files with 5 additions and 3 deletions
|
@ -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/'
|
||||
```
|
||||
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue