Преглед изворни кода

Update Octave documentation (7.1.0)

Simon Legner пре 3 година
родитељ
комит
a76fdcd29c
2 измењених фајлова са 8 додато и 3 уклоњено
  1. 2 2
      assets/javascripts/templates/pages/about_tmpl.coffee
  2. 6 1
      lib/docs/scrapers/octave.rb

+ 2 - 2
assets/javascripts/templates/pages/about_tmpl.coffee

@@ -614,9 +614,9 @@ credits = [
     'https://ocaml.org/docs/'
   ], [
     'Octave',
-    '1996-2018 John W. Eaton',
+    '1996–2022 The Octave Project Developers',
     'Octave',
-    'https://octave.org/doc/interpreter/'
+    'https://octave.org/doc/v7.1.0/'
   ], [
     'OpenJDK',
     '1993, 2021, Oracle and/or its affiliates. All rights reserved.<br>Licensed under the GNU General Public License, version 2, with the Classpath Exception.<br>Various third party code in OpenJDK is licensed under different licenses.<br>Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.',

+ 6 - 1
lib/docs/scrapers/octave.rb

@@ -23,12 +23,17 @@ module Docs
     options[:root_title] = 'GNU Octave'
 
     options[:attribution] = <<-HTML
-      &copy; 1996&ndash;2020 John W. Eaton<br>
+      &copy; 1996–2022 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 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.
     HTML
 
+    version '7' do
+      self.release = '7.1.0'
+      self.base_url = "https://octave.org/doc/v#{self.release}/"
+    end
+
     version '6' do
       self.release = '6.4.0'
       self.base_url = "https://octave.org/doc/v#{self.release}/"