[devdocsgjs/main: 179/239] Skip tailwind 3 setup instructions
- From: Andy Holmes <andyholmes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devdocsgjs/main: 179/239] Skip tailwind 3 setup instructions
- Date: Fri, 8 Apr 2022 07:47:42 +0000 (UTC)
commit 30eb206f6d3f4ed5899f759c6153eb12b1b1f4ee
Author: IgnusG <6438760+IgnusG users noreply github com>
Date: Mon Feb 21 21:37:38 2022 +0100
Skip tailwind 3 setup instructions
lib/docs/scrapers/tailwindcss.rb | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
---
diff --git a/lib/docs/scrapers/tailwindcss.rb b/lib/docs/scrapers/tailwindcss.rb
index 48b856c8..c9d9a887 100644
--- a/lib/docs/scrapers/tailwindcss.rb
+++ b/lib/docs/scrapers/tailwindcss.rb
@@ -21,7 +21,15 @@ module Docs
# removed so it is easy to "get_type" (see tailwindcss/entries.rb line #15)
%r{\/colors\z}
- ]
+ options[:skip_patterns] = [
+ # Skip setup instructions
+ /\/browser-support$/,
+ /\/editor-setup$/,
+ /\/installation$/,
+ /\/optimizing-for-production$/,
+ /\/upgrade-guide/,
+ /\/using-with-preprocessors/
+ ]
#Obtainable from https://github.com/tailwindlabs/tailwindcss/blob/master/LICENSE
options[:attribution] = <<-HTML
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]