From e39bb276aba39e8a431ca8c603c71f13c10446df Mon Sep 17 00:00:00 2001 From: Simon Legner Date: Wed, 2 Aug 2023 22:07:58 +0200 Subject: [PATCH] Update Trio documentation (0.22.2) --- assets/stylesheets/components/_page.scss | 4 ++-- lib/docs/scrapers/trio.rb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/stylesheets/components/_page.scss b/assets/stylesheets/components/_page.scss index 60a970b9..de02fffb 100644 --- a/assets/stylesheets/components/_page.scss +++ b/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; } diff --git a/lib/docs/scrapers/trio.rb b/lib/docs/scrapers/trio.rb index ea6186e1..141a408e 100644 --- a/lib/docs/scrapers/trio.rb +++ b/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 = {