Update Chef documentation (12.13, 11.18)

pull/496/head
Thibaut Courouble 8 years ago
parent 6688dd7ac0
commit e10e40ede1

@ -10,16 +10,22 @@ module Docs
end
CLIENT_TYPE_BY_SLUG_END_WITH = {
'knife_common_options' => 'Knife Commands',
'knife_using' => 'Knife Commands',
'resource_common' => 'Chef Resources',
'config_rb_knife_optional_settings' => 'Config Files'
'knife_common_options' => 'Workflow Tools',
'knife_using' => 'Workflow Tools',
'resource_common' => 'Cookbooks',
'config_rb_knife_optional_settings' => 'Workflow Tools',
'knife_index_rebuild' => 'Workflow Tools',
'handlers' => 'Extend Chef',
'dsl_recipe' => 'Extend Chef',
'resource' => 'Extend Chef'
}
SERVER_TYPE_BY_SLUG_END_WITH = {
'auth' => 'Theory & Concepts',
'install_server' => 'Setup & Config',
'install_server_pre' => 'Setup & Config',
'config_rb_server_optional_settings' => 'Config Files'
'config_rb_server_optional_settings' => 'Manage the Server',
'ctl_chef_server' => 'Manage the Server'
}
def get_type

@ -13,7 +13,8 @@ module Docs
/\A[^\/]+\/\z/,
/\A[^\/]+\/index\.html\z/,
/\A[^\/]+\/release_notes\.html\z/,
/\Aserver[^\/]+\/chef_overview\.html\z/ ]
/\Aserver[^\/]+\/chef_overview\.html\z/,
/\A[\d\-]+\/server_components\.html\z/ ]
options[:attribution] = <<-HTML
&copy; Chef Software, Inc.<br>
@ -24,10 +25,10 @@ module Docs
HTML
version '12' do
self.release = '12.9'
self.release = '12.13'
options[:client_path] = client_path = '12-9'
options[:server_path] = server_path = 'server_12-5'
options[:client_path] = client_path = '12-13'
options[:server_path] = server_path = 'server_12-8'
self.root_path = "#{client_path}/chef_overview.html"
self.initial_paths = ["#{server_path}/server_components.html"]
@ -39,7 +40,7 @@ module Docs
self.release = '11.18'
options[:client_path] = client_path = '11-18'
options[:server_path] = server_path = 'server_12-5'
options[:server_path] = server_path = 'server_12-8'
self.root_path = "#{client_path}/chef_overview.html"
self.initial_paths = ["#{server_path}/server_components.html"]

Loading…
Cancel
Save