浏览代码

Update SQLite documentation (3.38.0)

Simon Legner 3 年之前
父节点
当前提交
911cd7a399
共有 3 个文件被更改,包括 4 次插入2 次删除
  1. 1 1
      docs/file-scrapers.md
  2. 2 0
      lib/docs/filters/sqlite/clean_html.rb
  3. 1 1
      lib/docs/scrapers/sqlite.rb

+ 1 - 1
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
 ```

+ 2 - 0
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']

+ 1 - 1
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)