mirror of
https://github.com/freeCodeCamp/devdocs
synced 2024-11-16 19:48:10 +01:00
Update OCaml documentation (5.0)
This commit is contained in:
parent
90e04e29dc
commit
b614a2c110
1 changed files with 10 additions and 2 deletions
|
@ -3,8 +3,6 @@ module Docs
|
|||
self.name = 'OCaml'
|
||||
self.type = 'ocaml'
|
||||
self.root_path = 'index.html'
|
||||
self.release = '4.14'
|
||||
self.base_url = "https://v2.ocaml.org/releases/#{self.release}/htmlman/"
|
||||
self.links = {
|
||||
home: 'https://ocaml.org/',
|
||||
code: 'https://github.com/ocaml/ocaml'
|
||||
|
@ -26,6 +24,16 @@ module Docs
|
|||
© 1995-2022 INRIA.
|
||||
HTML
|
||||
|
||||
version '' do
|
||||
self.release = '5.0'
|
||||
self.base_url = "https://v2.ocaml.org/releases/#{self.release}/htmlman/"
|
||||
end
|
||||
|
||||
version '4.14' do
|
||||
self.release = '4.14'
|
||||
self.base_url = "https://v2.ocaml.org/releases/#{self.release}/htmlman/"
|
||||
end
|
||||
|
||||
def get_latest_version(opts)
|
||||
get_latest_github_release('ocaml', 'ocaml', opts)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue