Skip to content

Commit 1f6d319

Browse files
committed
Update OCaml documentation (4.12)
1 parent 6f7ff4d commit 1f6d319

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

assets/javascripts/templates/pages/about_tmpl.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ credits = [
578578
'https://raw.githubusercontent.com/numpy/numpy/master/LICENSE.txt'
579579
], [
580580
'OCaml',
581-
'1995-2020 Inria',
581+
'1995-2021 INRIA',
582582
'CC BY-SA',
583583
'https://ocaml.org/docs/'
584584
], [

lib/docs/filters/ocaml/entries.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module Docs
22
class Ocaml
33
class EntriesFilter < Docs::EntriesFilter
44
def get_name
5-
title = context[:html_title].gsub(/\u00A0/, " ")
5+
title = context[:html_title].gsub(/[[:space:]\u200d]+/, " ")
66
title = title.split.join(" ").strip
77
title.gsub!(/^Chapter /, "")
88

lib/docs/scrapers/ocaml.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ class Ocaml < FileScraper
33
self.name = 'OCaml'
44
self.type = 'ocaml'
55
self.root_path = 'index.html'
6-
self.release = '4.11'
6+
self.release = '4.12'
77
self.base_url = "https://www.ocaml.org/releases/#{self.release}/htmlman/"
88
self.links = {
99
home: 'https://ocaml.org/',
@@ -23,7 +23,7 @@ class Ocaml < FileScraper
2323
]
2424

2525
options[:attribution] = <<-HTML
26-
&copy; INRIA 1995-2020.
26+
&copy; 1995-2021 INRIA.
2727
HTML
2828

2929
def get_latest_version(opts)

0 commit comments

Comments
 (0)