Updated PyGame (2.4)

pull/1993/head
ClasherKasten 2 years ago
parent 4da8e1aa8f
commit e5c08cdf52

@ -9,4 +9,6 @@
.line-block > .line:first-child { margin-bottom: 1em; } .line-block > .line:first-child { margin-bottom: 1em; }
.line-block > .line:only-child { margin-bottom: 0em; } .line-block > .line:only-child { margin-bottom: 0em; }
span.signature { font-family: monospace; } span.signature { font-family: monospace; }
.warning { @extend %note, %note-red }
} }

@ -22,7 +22,7 @@ module Docs
end end
def other 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. # Remove code tag from function, class, method, module, etc.
css('dl > dt').each do |node| css('dl > dt').each do |node|

@ -1,7 +1,7 @@
module Docs module Docs
class Pygame < UrlScraper class Pygame < UrlScraper
self.type = 'pygame' self.type = 'pygame'
self.release = '2.0.0' self.release = '2.4.0'
self.base_url = 'https://www.pygame.org/docs/' self.base_url = 'https://www.pygame.org/docs/'
self.root_path = 'py-modindex.html' self.root_path = 'py-modindex.html'
self.links = { self.links = {

Loading…
Cancel
Save