Skip to content

Commit 5ebdf2f

Browse files
committed
Update NumPy documentation (1.12)
1 parent bfe8313 commit 5ebdf2f

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

assets/javascripts/templates/pages/about_tmpl.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ credits = [
406406
'https://raw.githubusercontent.com/npm/npm/master/LICENSE'
407407
], [
408408
'NumPy',
409-
'2008-2016 NumPy Developers',
409+
'2008-2017 NumPy Developers',
410410
'NumPy',
411411
'https://raw.githubusercontent.com/numpy/numpy/master/LICENSE.txt'
412412
], [

lib/docs/scrapers/numpy.rb

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,15 @@ class Numpy < FileScraper
2222
]
2323

2424
options[:attribution] = <<-HTML
25-
&copy; 2008&ndash;2016 NumPy Developers<br>
25+
&copy; 2008&ndash;2017 NumPy Developers<br>
2626
Licensed under the NumPy License.
2727
HTML
2828

29+
version '1.12' do
30+
self.release = '1.12.0'
31+
self.base_url = "https://docs.scipy.org/doc/numpy-#{self.release}/reference/"
32+
end
33+
2934
version '1.11' do
3035
self.release = '1.11.0'
3136
self.base_url = "https://docs.scipy.org/doc/numpy-#{self.release}/reference/"

0 commit comments

Comments
 (0)