[devdocsgjs/main: 73/239] Update Octave documentation (6.4.0)
- From: Andy Holmes <andyholmes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devdocsgjs/main: 73/239] Update Octave documentation (6.4.0)
- Date: Fri, 8 Apr 2022 07:47:35 +0000 (UTC)
commit 8bca45d9b4e0fae67161e059892c78edb2c42df4
Author: Simon Legner <Simon Legner gmail com>
Date: Wed Dec 22 00:38:42 2021 +0100
Update Octave documentation (6.4.0)
lib/docs/filters/octave/entries.rb | 2 +-
lib/docs/scrapers/octave.rb | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/lib/docs/filters/octave/entries.rb b/lib/docs/filters/octave/entries.rb
index 2e5c0de6..ea4c37f4 100644
--- a/lib/docs/filters/octave/entries.rb
+++ b/lib/docs/filters/octave/entries.rb
@@ -13,7 +13,7 @@ module Docs
def additional_entries
css('dl:not([compact]) > dt').each_with_object [] do |node, entries|
- name = node.content.gsub(/[A-z0-9\,… ]*\=/, '').strip.split(' ')[0]
+ name = node.content.gsub(/^: +/, '').gsub(/[A-z0-9\,… ]*\=/, '').strip.split(' ')[0]
entries << [name, node['id'], 'Functions'] unless node['id'] =~ /-\d+\Z/
end
end
diff --git a/lib/docs/scrapers/octave.rb b/lib/docs/scrapers/octave.rb
index 3225da1a..72f64651 100644
--- a/lib/docs/scrapers/octave.rb
+++ b/lib/docs/scrapers/octave.rb
@@ -30,7 +30,7 @@ module Docs
HTML
version '6' do
- self.release = '6.3.0'
+ self.release = '6.4.0'
self.base_url = "https://octave.org/doc/v#{self.release}/"
end
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]