소스 검색

Update Octave documentation (10.1.0)

Simon Legner 6 달 전
부모
커밋
8771abc223
1개의 변경된 파일8개의 추가작업 그리고 3개의 파일을 삭제
  1. 8 3
      lib/docs/scrapers/octave.rb

+ 8 - 3
lib/docs/scrapers/octave.rb

@@ -4,8 +4,8 @@ module Docs
     self.type = 'octave'
     self.type = 'octave'
     self.root_path = 'index.html'
     self.root_path = 'index.html'
     self.links = {
     self.links = {
-      home: 'http://www.octave.org/',
-      code: 'http://www.octave.org/hg/octave'
+      home: 'https://www.octave.org/',
+      code: 'https://www.octave.org/hg/octave'
     }
     }
 
 
     html_filters.push 'octave/clean_html', 'octave/entries', 'title'
     html_filters.push 'octave/clean_html', 'octave/entries', 'title'
@@ -23,12 +23,17 @@ module Docs
     options[:root_title] = 'GNU Octave'
     options[:root_title] = 'GNU Octave'
 
 
     options[:attribution] = <<-HTML
     options[:attribution] = <<-HTML
-      &copy; 1996–2023 The Octave Project Developers<br>
+      &copy; 1996–2025 The Octave Project Developers<br>
       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/>
       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/>
       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>
       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>
       Permission is granted to copy and distribute translations of this manual into another language, under the above conditions for modified versions.
       Permission is granted to copy and distribute translations of this manual into another language, under the above conditions for modified versions.
     HTML
     HTML
 
 
+    version '10' do
+      self.release = '10.1.0'
+      self.base_url = "https://docs.octave.org/v#{self.release}/"
+    end
+
     version '9' do
     version '9' do
       self.release = '9.2.0'
       self.release = '9.2.0'
       self.base_url = "https://docs.octave.org/v#{self.release}/"
       self.base_url = "https://docs.octave.org/v#{self.release}/"