Unified · Split
| @@ -5,6 +5,11 @@ module Docs · 4 unmodified lines | ||
| 5 | 5 | @doc = at_css('article > section') |
| 6 | 6 | |
| 7 | 7 | css('.anchor-link').remove |
| 8 | + css('.avatar-list').remove | |
| 9 | + | |
| 10 | + css('header > h1').each do |node| | |
| 11 | + node.parent.before(node).remove | |
| 12 | + end | |
| 8 | 13 | |
| 9 | 14 | css('pre').each do |node| |
| 10 | 15 | node.content = node.css('.line').map(&:content).join("\n") |
| @@ -14,6 +14,8 @@ module Docs · 13 unmodified lines | ||
| 14 | 14 | end |
| 15 | 15 | |
| 16 | 16 | def additional_entries |
| 17 | + return if slug.start_with?('guides/deploy') | |
| 18 | + return if slug.start_with?('guides/integrations-guide') | |
| 17 | 19 | at_css('article').css('h2, h3').each_with_object [] do |node, entries| |
| 18 | 20 | type = node.content.strip |
| 19 | 21 | type.sub! %r{\s*#\s*}, '' |
| @@ -14,7 +14,9 @@ module Docs · 13 unmodified lines | ||
| 14 | 14 | Licensed under the MIT License. |
| 15 | 15 | HTML |
| 16 | 16 | |
| 17 | − self.release = '1.4.7' | |
| 17 | + options[:skip_patterns] = [/tutorial/] | |
| 18 | + | |
| 19 | + self.release = '1.6.3' | |
| 18 | 20 | self.base_url = 'https://docs.astro.build/en/' |
| 19 | 21 | self.initial_paths = %w(getting-started/) |
| 20 | 22 | |