Update OCaml documentation (4.12)

pull/1492/head
Simon Legner 4 years ago
parent 6f7ff4ddd3
commit 1f6d319334

@ -578,7 +578,7 @@ credits = [
'https://raw.githubusercontent.com/numpy/numpy/master/LICENSE.txt'
], [
'OCaml',
'1995-2020 Inria',
'1995-2021 INRIA',
'CC BY-SA',
'https://ocaml.org/docs/'
], [

@ -2,7 +2,7 @@ module Docs
class Ocaml
class EntriesFilter < Docs::EntriesFilter
def get_name
title = context[:html_title].gsub(/\u00A0/, " ")
title = context[:html_title].gsub(/[[:space:]\u200d]+/, " ")
title = title.split.join(" ").strip
title.gsub!(/^Chapter /, "")

@ -3,7 +3,7 @@ module Docs
self.name = 'OCaml'
self.type = 'ocaml'
self.root_path = 'index.html'
self.release = '4.11'
self.release = '4.12'
self.base_url = "https://www.ocaml.org/releases/#{self.release}/htmlman/"
self.links = {
home: 'https://ocaml.org/',
@ -23,7 +23,7 @@ module Docs
]
options[:attribution] = <<-HTML
&copy; INRIA 1995-2020.
&copy; 1995-2021 INRIA.
HTML
def get_latest_version(opts)

Loading…
Cancel
Save