[devdocsgjs/main: 1768/1867] Update NumPy documentation (1.21.1)
- From: Andy Holmes <andyholmes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devdocsgjs/main: 1768/1867] Update NumPy documentation (1.21.1)
- Date: Fri, 19 Nov 2021 23:48:19 +0000 (UTC)
commit 02daf80309450374a549ef0edc0f3cc3280e918d
Author: Simon Legner <Simon Legner gmail com>
Date: Mon Aug 23 21:17:22 2021 +0200
Update NumPy documentation (1.21.1)
lib/docs/filters/numpy/entries.rb | 1 +
lib/docs/scrapers/numpy.rb | 6 ++++++
2 files changed, 7 insertions(+)
---
diff --git a/lib/docs/filters/numpy/entries.rb b/lib/docs/filters/numpy/entries.rb
index e6fbb7d1..20cc9197 100644
--- a/lib/docs/filters/numpy/entries.rb
+++ b/lib/docs/filters/numpy/entries.rb
@@ -71,6 +71,7 @@ module Docs
def additional_entries
css('dl:not(:first-of-type) > dt[id]').each_with_object [] do |node, entries|
+ next if node.ancestors('.citation').present?
name = dt_to_name(node)
if type == 'NumPy C API'
diff --git a/lib/docs/scrapers/numpy.rb b/lib/docs/scrapers/numpy.rb
index 50fc304e..e73ef379 100644
--- a/lib/docs/scrapers/numpy.rb
+++ b/lib/docs/scrapers/numpy.rb
@@ -26,6 +26,12 @@ module Docs
Licensed under the 3-clause BSD License.
HTML
+ version '1.21' do
+ self.release = '1.21.1'
+ self.base_url = "https://numpy.org/doc/#{self.version}/"
+ options[:container] = nil
+ end
+
version '1.20' do
self.release = '1.20.1'
self.base_url = "https://numpy.org/doc/#{self.version}/"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]