From 911cd7a399bd5f3ae3b01d177fba5345460cf07e Mon Sep 17 00:00:00 2001 From: Simon Legner Date: Wed, 23 Feb 2022 20:34:59 +0100 Subject: [PATCH] Update SQLite documentation (3.38.0) --- docs/file-scrapers.md | 2 +- lib/docs/filters/sqlite/clean_html.rb | 2 ++ lib/docs/scrapers/sqlite.rb | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/file-scrapers.md b/docs/file-scrapers.md index 25f4f471..56025456 100644 --- a/docs/file-scrapers.md +++ b/docs/file-scrapers.md @@ -263,5 +263,5 @@ Download the docs from https://sqlite.org/download.html, unzip it, and rename it to `/path/to/devdocs/docs/sqlite` ```sh -curl https://sqlite.org/2021/sqlite-doc-3370000.zip | bsdtar --extract --file - --directory=docs/sqlite/ +curl https://sqlite.org/2022/sqlite-doc-3380000.zip | bsdtar --extract --file - --directory=docs/sqlite/ --strip-components=1 ``` diff --git a/lib/docs/filters/sqlite/clean_html.rb b/lib/docs/filters/sqlite/clean_html.rb index 5407677d..b9cd3693 100644 --- a/lib/docs/filters/sqlite/clean_html.rb +++ b/lib/docs/filters/sqlite/clean_html.rb @@ -90,6 +90,8 @@ module Docs node.remove_attribute('fill') elsif node['style'] == 'fill:none;stroke-width:2.16;stroke:rgb(0,0,0);' node.add_class('stroke') + elsif node['style'] == 'fill:none;stroke-width:2.16;stroke-linejoin:round;stroke:rgb(0,0,0);' + node.add_class('stroke') elsif node['style'] == 'fill:none;stroke-width:3.24;stroke:rgb(211,211,211);' node.add_class('stroke') elsif node['style'] diff --git a/lib/docs/scrapers/sqlite.rb b/lib/docs/scrapers/sqlite.rb index d2111dcb..854eb4a9 100644 --- a/lib/docs/scrapers/sqlite.rb +++ b/lib/docs/scrapers/sqlite.rb @@ -2,7 +2,7 @@ module Docs class Sqlite < FileScraper self.name = 'SQLite' self.type = 'sqlite' - self.release = '3.37.0' + self.release = '3.38.0' self.base_url = 'https://sqlite.org/' self.root_path = 'docs.html' self.initial_paths = %w(keyword_index.html)