Skip to content

Commit 8771abc

Browse files
committed
Update Octave documentation (10.1.0)
1 parent 3bfddfe commit 8771abc

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

lib/docs/scrapers/octave.rb

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ class Octave < UrlScraper
44
self.type = 'octave'
55
self.root_path = 'index.html'
66
self.links = {
7-
home: 'http://www.octave.org/',
8-
code: 'http://www.octave.org/hg/octave'
7+
home: 'https://www.octave.org/',
8+
code: 'https://www.octave.org/hg/octave'
99
}
1010

1111
html_filters.push 'octave/clean_html', 'octave/entries', 'title'
@@ -23,12 +23,17 @@ class Octave < UrlScraper
2323
options[:root_title] = 'GNU Octave'
2424

2525
options[:attribution] = <<-HTML
26-
&copy; 1996–2023 The Octave Project Developers<br>
26+
&copy; 1996–2025 The Octave Project Developers<br>
2727
Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies.<br/>
2828
Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one.</br>
2929
Permission is granted to copy and distribute translations of this manual into another language, under the above conditions for modified versions.
3030
HTML
3131

32+
version '10' do
33+
self.release = '10.1.0'
34+
self.base_url = "https://docs.octave.org/v#{self.release}/"
35+
end
36+
3237
version '9' do
3338
self.release = '9.2.0'
3439
self.base_url = "https://docs.octave.org/v#{self.release}/"

0 commit comments

Comments
 (0)