Ver código fonte

Update Trio documentation (0.22.2)

Simon Legner 2 anos atrás
pai
commit
e39bb276ab

+ 2 - 2
assets/stylesheets/components/_page.scss

@@ -8,8 +8,8 @@
 
   &._page-error { position: static; }
 
-  > h1 { @extend ._lined-heading; }
-  > h1:first-child { margin-top: 0; }
+  > h1, > section > h1 { @extend ._lined-heading; }
+  > h1:first-child, > section:first-of-type > h1 { margin-top: 0; }
 
   a[href^="http:"], a[href^="https:"] { @extend %external-link; }
 

+ 1 - 1
lib/docs/scrapers/trio.rb

@@ -1,7 +1,7 @@
 module Docs
   class Trio < UrlScraper
     self.type = 'simple'
-    self.release = '0.18.0'
+    self.release = '0.22.2'
     self.base_url = "https://trio.readthedocs.io/en/v#{self.release}/"
     self.root_path = 'index.html'
     self.links = {