From 7b334a5cb03e0818ff94f687fc42aaf7076c0db0 Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sun, 30 Oct 2016 17:03:22 -0400 Subject: [PATCH] Update Bootstrap documentation (alpha.5, 3.3.7) --- lib/docs/filters/bootstrap/entries_v4.rb | 1 + lib/docs/scrapers/bootstrap.rb | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/docs/filters/bootstrap/entries_v4.rb b/lib/docs/filters/bootstrap/entries_v4.rb index e69ddbee..7ffc7e69 100644 --- a/lib/docs/filters/bootstrap/entries_v4.rb +++ b/lib/docs/filters/bootstrap/entries_v4.rb @@ -5,6 +5,7 @@ module Docs name = at_css('.bd-content h1').content.strip name.remove! ' system' return type if name == 'Overview' + name.prepend 'Utilities: ' if subpath.start_with?('utilities') name end diff --git a/lib/docs/scrapers/bootstrap.rb b/lib/docs/scrapers/bootstrap.rb index 15fd4411..67270cf1 100644 --- a/lib/docs/scrapers/bootstrap.rb +++ b/lib/docs/scrapers/bootstrap.rb @@ -15,13 +15,13 @@ module Docs HTML version '4' do - self.release = 'alpha.4' + self.release = 'alpha.5' self.base_url = 'https://v4-alpha.getbootstrap.com/' self.root_path = 'getting-started/introduction' html_filters.push 'bootstrap/entries_v4', 'bootstrap/clean_html_v4' - options[:only_patterns] = [/\Agetting-started\//, /\Alayout\//, /\Acontent\//, /\Acomponents\//] + options[:only_patterns] = [/\Agetting-started\//, /\Alayout\//, /\Acontent\//, /\Acomponents\//, /\Autilities\//] end version '3' do