Finish Terraform scraper

pull/822/merge
Thibaut Courouble 7 years ago
parent 716fc26af1
commit b4cd5f1802

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

After

Width:  |  Height:  |  Size: 42 KiB

@ -1,7 +1,7 @@
[
[
"2018-07-08",
"New documentation: <a href=\"/leaflet/\">Leaflet</a>"
"New documentations: <a href=\"/leaflet/\">Leaflet</a>, <a href=\"/terraform/\">Terraform</a>"
], [
"2018-03-26",
"DevDocs is joining the freeCodeCamp community. Read the announcement <a href=\"https://medium.freecodecamp.org/devdocs-is-joining-the-freecodecamp-community-ae185a1c14a6\" target=\"_blank\">here</a>."

@ -645,6 +645,11 @@ credits = [
'2018 The TensorFlow Authors',
'CC BY',
'https://creativecommons.org/licenses/by/3.0/'
], [
'Terraform',
'2018 HashiCorp',
'MPL',
'https://raw.githubusercontent.com/hashicorp/terraform-website/master/LICENSE.md'
], [
'Twig',
'2009-2017 The Twig Team',

@ -96,6 +96,7 @@
'pages/support_tables',
'pages/tcl_tk',
'pages/tensorflow',
'pages/terraform',
'pages/underscore',
'pages/vue',
'pages/webpack',

@ -171,3 +171,4 @@
._icon-jekyll:before { background-position: -1rem -3rem; @extend %doc-icon-2; }
._icon-babel:before { background-position: -2rem -3rem; @extend %doc-icon-2; }
._icon-leaflet:before { background-position: -3rem -3rem; @extend %doc-icon-2; }
._icon-terraform:before { background-position: -4rem -3rem; @extend %doc-icon-2; }

@ -19,6 +19,11 @@ module Docs
node['data-language'] = 'ruby'
end
node.content = node.content
node.remove_attribute('class')
end
css('.highlight').each do |node|
node.before(node.children).remove
end
doc

@ -4,7 +4,6 @@ module Docs
self.type = 'terraform'
self.release = '0.11.7'
self.base_url = 'https://www.terraform.io/docs/'
# self.dir = '/mnt/c/Users/Doug/Code/terraform-docs/www.terraform.io/docs'
self.root_path = 'index.html'
self.links = {
home: 'https://www.terraform.io/',
@ -16,7 +15,7 @@ module Docs
options[:skip_patterns] = [/enterprise/, /enterprise-legacy/]
options[:attribution] = <<-HTML
Copyright &copy; 2018 HashiCorp</br>
&copy; 2018 HashiCorp</br>
Licensed under the MPL 2.0 License.
HTML
end

Binary file not shown.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 806 B

After

Width:  |  Height:  |  Size: 356 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 577 B

Loading…
Cancel
Save