From a4b145609de4b771f305bdee1db57efb405ec743 Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sun, 21 Aug 2016 17:45:22 -0400 Subject: [PATCH] Fix missing entries in Python doc Fixes #463. --- lib/docs/filters/python/entries_v2.rb | 2 +- lib/docs/filters/python/entries_v3.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/docs/filters/python/entries_v2.rb b/lib/docs/filters/python/entries_v2.rb index c5f7bfc1..35168aac 100644 --- a/lib/docs/filters/python/entries_v2.rb +++ b/lib/docs/filters/python/entries_v2.rb @@ -67,7 +67,7 @@ module Docs end end - css('.function > dt[id]', '.method > dt[id]', '.classmethod > dt[id]').each do |node| + css('.function > dt[id]', '.method > dt[id]', '.staticmethod > dt[id]', '.classmethod > dt[id]').each do |node| entries << [node['id'] + '()', node['id']] end diff --git a/lib/docs/filters/python/entries_v3.rb b/lib/docs/filters/python/entries_v3.rb index 2addea16..759e244a 100644 --- a/lib/docs/filters/python/entries_v3.rb +++ b/lib/docs/filters/python/entries_v3.rb @@ -63,7 +63,7 @@ module Docs end end - css('.function > dt[id]', '.method > dt[id]', '.classmethod > dt[id]').each do |node| + css('.function > dt[id]', '.method > dt[id]', '.staticmethod > dt[id]', '.classmethod > dt[id]').each do |node| entries << [node['id'] + '()', node['id']] end