@@ -9,4 +9,6 @@
.line-block > .line:first-child { margin-bottom: 1em; }
.line-block > .line:only-child { margin-bottom: 0em; }
span.signature { font-family: monospace; }
+
+ .warning { @extend %note, %note-red }
}
@@ -22,7 +22,7 @@ module Docs
end
def other
- css('> :not(.section), table.toc.docutils, .tooltip-content').remove
+ css('table.toc.docutils, .tooltip-content').remove
# Remove code tag from function, class, method, module, etc.
css('dl > dt').each do |node|
@@ -1,7 +1,7 @@
module Docs
class Pygame < UrlScraper
self.type = 'pygame'
- self.release = '2.0.0'
+ self.release = '2.4.0'
self.base_url = 'https://www.pygame.org/docs/'
self.root_path = 'py-modindex.html'
self.links = {