chef 13.11.3-universal-mingw32 → 13.12.3-universal-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (260) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +4 -3
  3. data/README.md +35 -40
  4. data/Rakefile +18 -22
  5. data/chef-universal-mingw32.gemspec +1 -1
  6. data/chef.gemspec +3 -3
  7. data/lib/chef/client.rb +1 -1
  8. data/lib/chef/mixin/params_validate.rb +3 -1
  9. data/lib/chef/provider/script.rb +2 -2
  10. data/lib/chef/version.rb +1 -1
  11. data/spec/functional/http/simple_spec.rb +12 -6
  12. data/spec/functional/resource/remote_file_spec.rb +19 -15
  13. data/spec/support/platform_helpers.rb +2 -1
  14. data/tasks/announce.rb +1 -1
  15. data/tasks/dependencies.rb +5 -39
  16. data/tasks/maintainers.rb +10 -10
  17. data/tasks/rspec.rb +2 -2
  18. data/tasks/templates/prerelease.md.erb +11 -2
  19. data/tasks/templates/release.md.erb +9 -1
  20. metadata +6 -247
  21. data/CONTRIBUTING.md +0 -151
  22. data/VERSION +0 -1
  23. data/acceptance/.gitignore +0 -3
  24. data/acceptance/.shared/kitchen_acceptance/.kitchen.digitalocean.yml +0 -33
  25. data/acceptance/.shared/kitchen_acceptance/.kitchen.ec2.yml +0 -283
  26. data/acceptance/.shared/kitchen_acceptance/.kitchen.vagrant.yml +0 -59
  27. data/acceptance/.shared/kitchen_acceptance/libraries/kitchen.rb +0 -68
  28. data/acceptance/.shared/kitchen_acceptance/metadata.rb +0 -1
  29. data/acceptance/Gemfile +0 -19
  30. data/acceptance/Gemfile.lock +0 -266
  31. data/acceptance/README.md +0 -137
  32. data/acceptance/basics/.acceptance/acceptance-cookbook/.gitignore +0 -2
  33. data/acceptance/basics/.acceptance/acceptance-cookbook/metadata.rb +0 -3
  34. data/acceptance/basics/.acceptance/acceptance-cookbook/recipes/destroy.rb +0 -1
  35. data/acceptance/basics/.acceptance/acceptance-cookbook/recipes/provision.rb +0 -1
  36. data/acceptance/basics/.acceptance/acceptance-cookbook/recipes/verify.rb +0 -1
  37. data/acceptance/basics/.kitchen.yml +0 -4
  38. data/acceptance/basics/test/integration/chef-current-install/serverspec/chef_client_spec.rb +0 -19
  39. data/acceptance/basics/test/integration/chef-current-install/serverspec/spec_helper.rb +0 -6
  40. data/acceptance/basics/test/integration/helpers/serverspec/Gemfile +0 -8
  41. data/acceptance/data-collector/.acceptance/acceptance-cookbook/.gitignore +0 -2
  42. data/acceptance/data-collector/.acceptance/acceptance-cookbook/metadata.rb +0 -3
  43. data/acceptance/data-collector/.acceptance/acceptance-cookbook/recipes/destroy.rb +0 -2
  44. data/acceptance/data-collector/.acceptance/acceptance-cookbook/recipes/provision.rb +0 -2
  45. data/acceptance/data-collector/.acceptance/acceptance-cookbook/recipes/verify.rb +0 -2
  46. data/acceptance/data-collector/.acceptance/data-collector-test/.gitignore +0 -16
  47. data/acceptance/data-collector/.acceptance/data-collector-test/Berksfile +0 -3
  48. data/acceptance/data-collector/.acceptance/data-collector-test/files/default/api.rb +0 -101
  49. data/acceptance/data-collector/.acceptance/data-collector-test/files/default/apigemfile +0 -3
  50. data/acceptance/data-collector/.acceptance/data-collector-test/files/default/client-rb-both-mode.rb +0 -4
  51. data/acceptance/data-collector/.acceptance/data-collector-test/files/default/client-rb-client-mode.rb +0 -4
  52. data/acceptance/data-collector/.acceptance/data-collector-test/files/default/client-rb-no-endpoint.rb +0 -2
  53. data/acceptance/data-collector/.acceptance/data-collector-test/files/default/client-rb-solo-mode.rb +0 -4
  54. data/acceptance/data-collector/.acceptance/data-collector-test/files/default/config.ru +0 -2
  55. data/acceptance/data-collector/.acceptance/data-collector-test/metadata.rb +0 -7
  56. data/acceptance/data-collector/.acceptance/data-collector-test/recipes/default.rb +0 -44
  57. data/acceptance/data-collector/.kitchen.yml +0 -9
  58. data/acceptance/data-collector/Berksfile +0 -3
  59. data/acceptance/data-collector/test/integration/default/serverspec/default_spec.rb +0 -208
  60. data/acceptance/data-collector/test/integration/helpers/serverspec/Gemfile +0 -8
  61. data/acceptance/omnitruck/.acceptance/acceptance-cookbook/.gitignore +0 -2
  62. data/acceptance/omnitruck/.acceptance/acceptance-cookbook/metadata.rb +0 -1
  63. data/acceptance/omnitruck/.acceptance/acceptance-cookbook/recipes/destroy.rb +0 -1
  64. data/acceptance/omnitruck/.acceptance/acceptance-cookbook/recipes/provision.rb +0 -1
  65. data/acceptance/omnitruck/.acceptance/acceptance-cookbook/recipes/verify.rb +0 -61
  66. data/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/.gitignore +0 -2
  67. data/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/libraries/cookbook_kitchen.rb +0 -43
  68. data/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/libraries/top_cookbooks.rb +0 -41
  69. data/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/metadata.rb +0 -3
  70. data/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/recipes/destroy.rb +0 -1
  71. data/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/recipes/provision.rb +0 -1
  72. data/acceptance/top-cookbooks/.acceptance/acceptance-cookbook/recipes/verify.rb +0 -1
  73. data/acceptance/top-cookbooks/.gitignore +0 -1
  74. data/acceptance/top-cookbooks/.kitchen.chocolatey.yml +0 -6
  75. data/acceptance/top-cookbooks/.kitchen.iis.yml +0 -4
  76. data/acceptance/top-cookbooks/.kitchen.learn-the-basics-rhel.yml +0 -7
  77. data/acceptance/top-cookbooks/.kitchen.learn-the-basics-ubuntu.yml +0 -7
  78. data/acceptance/top-cookbooks/.kitchen.learn-the-basics-windows.yml +0 -7
  79. data/acceptance/top-cookbooks/.kitchen.powershell.yml +0 -4
  80. data/acceptance/top-cookbooks/.kitchen.sql_server.yml +0 -5
  81. data/acceptance/top-cookbooks/.kitchen.winbox.yml +0 -8
  82. data/acceptance/top-cookbooks/.kitchen.windows.yml +0 -38
  83. data/acceptance/trivial/.acceptance/acceptance-cookbook/.gitignore +0 -2
  84. data/acceptance/trivial/.acceptance/acceptance-cookbook/metadata.rb +0 -2
  85. data/acceptance/trivial/.acceptance/acceptance-cookbook/recipes/destroy.rb +0 -1
  86. data/acceptance/trivial/.acceptance/acceptance-cookbook/recipes/provision.rb +0 -1
  87. data/acceptance/trivial/.acceptance/acceptance-cookbook/recipes/verify.rb +0 -1
  88. data/acceptance/trivial/.kitchen.yml +0 -7
  89. data/acceptance/trivial/test/integration/chef-current-install/inspec/chef_client_spec.rb +0 -5
  90. data/acceptance/windows-service/.acceptance/acceptance-cookbook/.gitignore +0 -2
  91. data/acceptance/windows-service/.acceptance/acceptance-cookbook/metadata.rb +0 -2
  92. data/acceptance/windows-service/.acceptance/acceptance-cookbook/recipes/destroy.rb +0 -1
  93. data/acceptance/windows-service/.acceptance/acceptance-cookbook/recipes/provision.rb +0 -1
  94. data/acceptance/windows-service/.acceptance/acceptance-cookbook/recipes/verify.rb +0 -1
  95. data/acceptance/windows-service/.kitchen.yml +0 -7
  96. data/acceptance/windows-service/test/integration/chef-windows-service/inspec/chef_windows_service_spec.rb +0 -58
  97. data/distro/common/html/_sources/ctl_chef_client.txt +0 -36
  98. data/distro/common/html/_sources/ctl_chef_server.txt +0 -341
  99. data/distro/common/html/_sources/ctl_chef_shell.txt +0 -15
  100. data/distro/common/html/_sources/ctl_chef_solo.txt +0 -25
  101. data/distro/common/html/_sources/index.txt +0 -135
  102. data/distro/common/html/_sources/knife.txt +0 -74
  103. data/distro/common/html/_sources/knife_bootstrap.txt +0 -56
  104. data/distro/common/html/_sources/knife_client.txt +0 -151
  105. data/distro/common/html/_sources/knife_common_options.txt +0 -6
  106. data/distro/common/html/_sources/knife_configure.txt +0 -29
  107. data/distro/common/html/_sources/knife_cookbook.txt +0 -236
  108. data/distro/common/html/_sources/knife_cookbook_site.txt +0 -157
  109. data/distro/common/html/_sources/knife_data_bag.txt +0 -160
  110. data/distro/common/html/_sources/knife_delete.txt +0 -26
  111. data/distro/common/html/_sources/knife_deps.txt +0 -61
  112. data/distro/common/html/_sources/knife_diff.txt +0 -34
  113. data/distro/common/html/_sources/knife_download.txt +0 -44
  114. data/distro/common/html/_sources/knife_edit.txt +0 -26
  115. data/distro/common/html/_sources/knife_environment.txt +0 -158
  116. data/distro/common/html/_sources/knife_exec.txt +0 -47
  117. data/distro/common/html/_sources/knife_index_rebuild.txt +0 -21
  118. data/distro/common/html/_sources/knife_list.txt +0 -33
  119. data/distro/common/html/_sources/knife_node.txt +0 -250
  120. data/distro/common/html/_sources/knife_raw.txt +0 -35
  121. data/distro/common/html/_sources/knife_recipe_list.txt +0 -23
  122. data/distro/common/html/_sources/knife_role.txt +0 -157
  123. data/distro/common/html/_sources/knife_search.txt +0 -53
  124. data/distro/common/html/_sources/knife_serve.txt +0 -19
  125. data/distro/common/html/_sources/knife_show.txt +0 -27
  126. data/distro/common/html/_sources/knife_ssh.txt +0 -43
  127. data/distro/common/html/_sources/knife_ssl_check.txt +0 -41
  128. data/distro/common/html/_sources/knife_ssl_fetch.txt +0 -41
  129. data/distro/common/html/_sources/knife_status.txt +0 -37
  130. data/distro/common/html/_sources/knife_tag.txt +0 -69
  131. data/distro/common/html/_sources/knife_upload.txt +0 -49
  132. data/distro/common/html/_sources/knife_user.txt +0 -127
  133. data/distro/common/html/_sources/knife_using.txt +0 -43
  134. data/distro/common/html/_sources/knife_xargs.txt +0 -30
  135. data/distro/common/html/_static/ajax-loader.gif +0 -0
  136. data/distro/common/html/_static/basic.css +0 -537
  137. data/distro/common/html/_static/chef.ico +0 -0
  138. data/distro/common/html/_static/chef_html_logo.png +0 -0
  139. data/distro/common/html/_static/comment-bright.png +0 -0
  140. data/distro/common/html/_static/comment-close.png +0 -0
  141. data/distro/common/html/_static/comment.png +0 -0
  142. data/distro/common/html/_static/contents.png +0 -0
  143. data/distro/common/html/_static/doctools.js +0 -238
  144. data/distro/common/html/_static/down-pressed.png +0 -0
  145. data/distro/common/html/_static/down.png +0 -0
  146. data/distro/common/html/_static/file.png +0 -0
  147. data/distro/common/html/_static/guide.css +0 -505
  148. data/distro/common/html/_static/jquery.js +0 -2
  149. data/distro/common/html/_static/minus.png +0 -0
  150. data/distro/common/html/_static/navigation.png +0 -0
  151. data/distro/common/html/_static/plus.png +0 -0
  152. data/distro/common/html/_static/pygments.css +0 -62
  153. data/distro/common/html/_static/searchtools.js +0 -622
  154. data/distro/common/html/_static/underscore.js +0 -31
  155. data/distro/common/html/_static/up-pressed.png +0 -0
  156. data/distro/common/html/_static/up.png +0 -0
  157. data/distro/common/html/_static/websupport.js +0 -808
  158. data/distro/common/html/ctl_chef_client.html +0 -270
  159. data/distro/common/html/ctl_chef_server.html +0 -728
  160. data/distro/common/html/ctl_chef_shell.html +0 -163
  161. data/distro/common/html/ctl_chef_solo.html +0 -194
  162. data/distro/common/html/index.html +0 -202
  163. data/distro/common/html/knife.html +0 -170
  164. data/distro/common/html/knife_bootstrap.html +0 -285
  165. data/distro/common/html/knife_client.html +0 -285
  166. data/distro/common/html/knife_common_options.html +0 -96
  167. data/distro/common/html/knife_configure.html +0 -105
  168. data/distro/common/html/knife_cookbook.html +0 -487
  169. data/distro/common/html/knife_cookbook_site.html +0 -375
  170. data/distro/common/html/knife_data_bag.html +0 -374
  171. data/distro/common/html/knife_delete.html +0 -93
  172. data/distro/common/html/knife_deps.html +0 -143
  173. data/distro/common/html/knife_diff.html +0 -123
  174. data/distro/common/html/knife_download.html +0 -145
  175. data/distro/common/html/knife_edit.html +0 -89
  176. data/distro/common/html/knife_environment.html +0 -322
  177. data/distro/common/html/knife_exec.html +0 -220
  178. data/distro/common/html/knife_index_rebuild.html +0 -83
  179. data/distro/common/html/knife_list.html +0 -114
  180. data/distro/common/html/knife_node.html +0 -458
  181. data/distro/common/html/knife_raw.html +0 -110
  182. data/distro/common/html/knife_recipe_list.html +0 -91
  183. data/distro/common/html/knife_role.html +0 -295
  184. data/distro/common/html/knife_search.html +0 -203
  185. data/distro/common/html/knife_serve.html +0 -79
  186. data/distro/common/html/knife_show.html +0 -104
  187. data/distro/common/html/knife_ssh.html +0 -177
  188. data/distro/common/html/knife_ssl_check.html +0 -151
  189. data/distro/common/html/knife_ssl_fetch.html +0 -151
  190. data/distro/common/html/knife_status.html +0 -144
  191. data/distro/common/html/knife_tag.html +0 -138
  192. data/distro/common/html/knife_upload.html +0 -153
  193. data/distro/common/html/knife_user.html +0 -242
  194. data/distro/common/html/knife_using.html +0 -210
  195. data/distro/common/html/knife_xargs.html +0 -122
  196. data/distro/common/html/objects.inv +0 -0
  197. data/distro/common/html/search.html +0 -82
  198. data/distro/common/html/searchindex.js +0 -1
  199. data/distro/common/man/man1/README.md +0 -58
  200. data/distro/common/man/man1/chef-shell.1 +0 -194
  201. data/distro/common/man/man1/knife-bootstrap.1 +0 -215
  202. data/distro/common/man/man1/knife-client.1 +0 -443
  203. data/distro/common/man/man1/knife-configure.1 +0 -161
  204. data/distro/common/man/man1/knife-cookbook-site.1 +0 -552
  205. data/distro/common/man/man1/knife-cookbook.1 +0 -770
  206. data/distro/common/man/man1/knife-data-bag.1 +0 -617
  207. data/distro/common/man/man1/knife-delete.1 +0 -127
  208. data/distro/common/man/man1/knife-deps.1 +0 -246
  209. data/distro/common/man/man1/knife-diff.1 +0 -226
  210. data/distro/common/man/man1/knife-download.1 +0 -258
  211. data/distro/common/man/man1/knife-edit.1 +0 -121
  212. data/distro/common/man/man1/knife-environment.1 +0 -496
  213. data/distro/common/man/man1/knife-exec.1 +0 -362
  214. data/distro/common/man/man1/knife-index-rebuild.1 +0 -63
  215. data/distro/common/man/man1/knife-list.1 +0 -174
  216. data/distro/common/man/man1/knife-node.1 +0 -716
  217. data/distro/common/man/man1/knife-raw.1 +0 -172
  218. data/distro/common/man/man1/knife-recipe-list.1 +0 -85
  219. data/distro/common/man/man1/knife-role.1 +0 -426
  220. data/distro/common/man/man1/knife-search.1 +0 -359
  221. data/distro/common/man/man1/knife-serve.1 +0 -109
  222. data/distro/common/man/man1/knife-show.1 +0 -160
  223. data/distro/common/man/man1/knife-ssh.1 +0 -284
  224. data/distro/common/man/man1/knife-ssl-check.1 +0 -207
  225. data/distro/common/man/man1/knife-ssl-fetch.1 +0 -207
  226. data/distro/common/man/man1/knife-status.1 +0 -234
  227. data/distro/common/man/man1/knife-tag.1 +0 -189
  228. data/distro/common/man/man1/knife-upload.1 +0 -280
  229. data/distro/common/man/man1/knife-user.1 +0 -356
  230. data/distro/common/man/man1/knife-xargs.1 +0 -189
  231. data/distro/common/man/man1/knife.1 +0 -332
  232. data/distro/common/man/man8/chef-apply.8 +0 -86
  233. data/distro/common/man/man8/chef-client.8 +0 -398
  234. data/distro/common/man/man8/chef-solo.8 +0 -260
  235. data/distro/common/markdown/README +0 -3
  236. data/distro/common/markdown/man1/chef-shell.mkd +0 -195
  237. data/distro/common/markdown/man1/knife-bootstrap.mkd +0 -141
  238. data/distro/common/markdown/man1/knife-client.mkd +0 -103
  239. data/distro/common/markdown/man1/knife-configure.mkd +0 -71
  240. data/distro/common/markdown/man1/knife-cookbook-site.mkd +0 -123
  241. data/distro/common/markdown/man1/knife-cookbook.mkd +0 -263
  242. data/distro/common/markdown/man1/knife-data-bag.mkd +0 -121
  243. data/distro/common/markdown/man1/knife-environment.mkd +0 -151
  244. data/distro/common/markdown/man1/knife-exec.mkd +0 -42
  245. data/distro/common/markdown/man1/knife-index.mkd +0 -30
  246. data/distro/common/markdown/man1/knife-node.mkd +0 -130
  247. data/distro/common/markdown/man1/knife-role.mkd +0 -85
  248. data/distro/common/markdown/man1/knife-search.mkd +0 -180
  249. data/distro/common/markdown/man1/knife-ssh.mkd +0 -69
  250. data/distro/common/markdown/man1/knife-status.mkd +0 -36
  251. data/distro/common/markdown/man1/knife-tag.mkd +0 -39
  252. data/distro/common/markdown/man1/knife.mkd +0 -213
  253. data/distro/common/markdown/man8/chef-client.mkd +0 -75
  254. data/distro/common/markdown/man8/chef-expander.mkd +0 -81
  255. data/distro/common/markdown/man8/chef-expanderctl.mkd +0 -57
  256. data/distro/common/markdown/man8/chef-server-webui.mkd +0 -121
  257. data/distro/common/markdown/man8/chef-server.mkd +0 -120
  258. data/distro/common/markdown/man8/chef-solo.mkd +0 -107
  259. data/distro/common/markdown/man8/chef-solr.mkd +0 -89
  260. data/tasks/cbgb.rb +0 -84
@@ -1,238 +0,0 @@
1
- /*
2
- * doctools.js
3
- * ~~~~~~~~~~~
4
- *
5
- * Sphinx JavaScript utilities for all documentation.
6
- *
7
- * :copyright: Copyright 2007-2016, by the Sphinx team, see AUTHORS.
8
- * :license: BSD, see LICENSE for details.
9
- *
10
- */
11
-
12
- /**
13
- * select a different prefix for underscore
14
- */
15
- $u = _.noConflict();
16
-
17
- /**
18
- * make the code below compatible with browsers without
19
- * an installed firebug like debugger
20
- if (!window.console || !console.firebug) {
21
- var names = ["log", "debug", "info", "warn", "error", "assert", "dir",
22
- "dirxml", "group", "groupEnd", "time", "timeEnd", "count", "trace",
23
- "profile", "profileEnd"];
24
- window.console = {};
25
- for (var i = 0; i < names.length; ++i)
26
- window.console[names[i]] = function() {};
27
- }
28
- */
29
-
30
- /**
31
- * small helper function to urldecode strings
32
- */
33
- jQuery.urldecode = function(x) {
34
- return decodeURIComponent(x).replace(/\+/g, ' ');
35
- };
36
-
37
- /**
38
- * small helper function to urlencode strings
39
- */
40
- jQuery.urlencode = encodeURIComponent;
41
-
42
- /**
43
- * This function returns the parsed url parameters of the
44
- * current request. Multiple values per key are supported,
45
- * it will always return arrays of strings for the value parts.
46
- */
47
- jQuery.getQueryParameters = function(s) {
48
- if (typeof s == 'undefined')
49
- s = document.location.search;
50
- var parts = s.substr(s.indexOf('?') + 1).split('&');
51
- var result = {};
52
- for (var i = 0; i < parts.length; i++) {
53
- var tmp = parts[i].split('=', 2);
54
- var key = jQuery.urldecode(tmp[0]);
55
- var value = jQuery.urldecode(tmp[1]);
56
- if (key in result)
57
- result[key].push(value);
58
- else
59
- result[key] = [value];
60
- }
61
- return result;
62
- };
63
-
64
- /**
65
- * highlight a given string on a jquery object by wrapping it in
66
- * span elements with the given class name.
67
- */
68
- jQuery.fn.highlightText = function(text, className) {
69
- function highlight(node) {
70
- if (node.nodeType == 3) {
71
- var val = node.nodeValue;
72
- var pos = val.toLowerCase().indexOf(text);
73
- if (pos >= 0 && !jQuery(node.parentNode).hasClass(className)) {
74
- var span = document.createElement("span");
75
- span.className = className;
76
- span.appendChild(document.createTextNode(val.substr(pos, text.length)));
77
- node.parentNode.insertBefore(span, node.parentNode.insertBefore(
78
- document.createTextNode(val.substr(pos + text.length)),
79
- node.nextSibling));
80
- node.nodeValue = val.substr(0, pos);
81
- }
82
- }
83
- else if (!jQuery(node).is("button, select, textarea")) {
84
- jQuery.each(node.childNodes, function() {
85
- highlight(this);
86
- });
87
- }
88
- }
89
- return this.each(function() {
90
- highlight(this);
91
- });
92
- };
93
-
94
- /**
95
- * Small JavaScript module for the documentation.
96
- */
97
- var Documentation = {
98
-
99
- init : function() {
100
- this.fixFirefoxAnchorBug();
101
- this.highlightSearchWords();
102
- this.initIndexTable();
103
- },
104
-
105
- /**
106
- * i18n support
107
- */
108
- TRANSLATIONS : {},
109
- PLURAL_EXPR : function(n) { return n == 1 ? 0 : 1; },
110
- LOCALE : 'unknown',
111
-
112
- // gettext and ngettext don't access this so that the functions
113
- // can safely bound to a different name (_ = Documentation.gettext)
114
- gettext : function(string) {
115
- var translated = Documentation.TRANSLATIONS[string];
116
- if (typeof translated == 'undefined')
117
- return string;
118
- return (typeof translated == 'string') ? translated : translated[0];
119
- },
120
-
121
- ngettext : function(singular, plural, n) {
122
- var translated = Documentation.TRANSLATIONS[singular];
123
- if (typeof translated == 'undefined')
124
- return (n == 1) ? singular : plural;
125
- return translated[Documentation.PLURALEXPR(n)];
126
- },
127
-
128
- addTranslations : function(catalog) {
129
- for (var key in catalog.messages)
130
- this.TRANSLATIONS[key] = catalog.messages[key];
131
- this.PLURAL_EXPR = new Function('n', 'return +(' + catalog.plural_expr + ')');
132
- this.LOCALE = catalog.locale;
133
- },
134
-
135
- /**
136
- * add context elements like header anchor links
137
- */
138
- addContextElements : function() {
139
- $('div[id] > :header:first').each(function() {
140
- $('<a class="headerlink">\u00B6</a>').
141
- attr('href', '#' + this.id).
142
- attr('title', _('Permalink to this headline')).
143
- appendTo(this);
144
- });
145
- $('dt[id]').each(function() {
146
- $('<a class="headerlink">\u00B6</a>').
147
- attr('href', '#' + this.id).
148
- attr('title', _('Permalink to this definition')).
149
- appendTo(this);
150
- });
151
- },
152
-
153
- /**
154
- * workaround a firefox stupidity
155
- */
156
- fixFirefoxAnchorBug : function() {
157
- if (document.location.hash && $.browser.mozilla)
158
- window.setTimeout(function() {
159
- document.location.href += '';
160
- }, 10);
161
- },
162
-
163
- /**
164
- * highlight the search words provided in the url in the text
165
- */
166
- highlightSearchWords : function() {
167
- var params = $.getQueryParameters();
168
- var terms = (params.highlight) ? params.highlight[0].split(/\s+/) : [];
169
- if (terms.length) {
170
- var body = $('div.body');
171
- if (!body.length) {
172
- body = $('body');
173
- }
174
- window.setTimeout(function() {
175
- $.each(terms, function() {
176
- body.highlightText(this.toLowerCase(), 'highlighted');
177
- });
178
- }, 10);
179
- $('<p class="highlight-link"><a href="javascript:Documentation.' +
180
- 'hideSearchWords()">' + _('Hide Search Matches') + '</a></p>')
181
- .appendTo($('#searchbox'));
182
- }
183
- },
184
-
185
- /**
186
- * init the domain index toggle buttons
187
- */
188
- initIndexTable : function() {
189
- var togglers = $('img.toggler').click(function() {
190
- var src = $(this).attr('src');
191
- var idnum = $(this).attr('id').substr(7);
192
- $('tr.cg-' + idnum).toggle();
193
- if (src.substr(-9) == 'minus.png')
194
- $(this).attr('src', src.substr(0, src.length-9) + 'plus.png');
195
- else
196
- $(this).attr('src', src.substr(0, src.length-8) + 'minus.png');
197
- }).css('display', '');
198
- if (DOCUMENTATION_OPTIONS.COLLAPSE_INDEX) {
199
- togglers.click();
200
- }
201
- },
202
-
203
- /**
204
- * helper function to hide the search marks again
205
- */
206
- hideSearchWords : function() {
207
- $('#searchbox .highlight-link').fadeOut(300);
208
- $('span.highlighted').removeClass('highlighted');
209
- },
210
-
211
- /**
212
- * make the url absolute
213
- */
214
- makeURL : function(relativeURL) {
215
- return DOCUMENTATION_OPTIONS.URL_ROOT + '/' + relativeURL;
216
- },
217
-
218
- /**
219
- * get the current relative url
220
- */
221
- getCurrentURL : function() {
222
- var path = document.location.pathname;
223
- var parts = path.split(/\//);
224
- $.each(DOCUMENTATION_OPTIONS.URL_ROOT.split(/\//), function() {
225
- if (this == '..')
226
- parts.pop();
227
- });
228
- var url = parts.join('/');
229
- return path.substring(url.lastIndexOf('/') + 1, path.length - 1);
230
- }
231
- };
232
-
233
- // quick alias for translations
234
- _ = Documentation.gettext;
235
-
236
- $(document).ready(function() {
237
- Documentation.init();
238
- });
@@ -1,505 +0,0 @@
1
- /*
2
- * opscode.css_t
3
- * ~~~~~~~~~~~~~~~
4
- *
5
- * Sphinx stylesheet -- opscode theme. Originally created by
6
- * Opscode for docs.opscode.com.
7
- *
8
- * :copyright: None.
9
- * :license: This work is licensed under a Creative Commons
10
- * Attribution 3.0 Unported License
11
- *
12
- */
13
-
14
- /*
15
- * Colors
16
- * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
17
- *
18
- * #f18a20 is Opscode orange.
19
- * #212c35 is Opscode blue.
20
- *
21
- * #212c35 is used for text color and header colors
22
- * #f18a20 for header underlines and border treatments
23
- *
24
- * Triads for #f18a20: #273fa4 (blue) and #18b246 (green)
25
- * Triads for #212c35: #524a31 (tan) and #523a31 (salmon)
26
- * Triads should only be used to accent the Opscode blue or orange
27
- *
28
- * For div.admonition: #6bb1e1
29
- * For div.warning: #fcb614
30
- *
31
- * For subheaders and other treatments: #7c858c, then #b5bec6, then #d8dde3
32
- * For table headers: #7c858c (with #000000 text color)
33
- * For links: #6d3528, rollover #59b6b2
34
- *
35
- * Alternate colors in the official color palette (but try not to use): #59b6b2, #6d3528
36
- *
37
- * For regular text: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
38
- * For monospace text: 'Consolas', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace;
39
- *
40
- * For div.related, the 8px ensures that the | is spaced evenly.
41
- *
42
- */
43
-
44
- @import url("basic.css");
45
-
46
- /* -- the background color for the whole page and the borders for the topic page, header, footer */
47
- /* -- IMPORTANT -- color is the color of the text on div.document; must be black or Opscode blue */
48
-
49
- body {
50
- font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
51
- font-size: 14px;
52
- letter-spacing: -0.00em;
53
- line-height: 150%;
54
- text-align: center;
55
- background-color: #7c858c;
56
- color: #212c35;
57
- padding: 0;
58
- border: 4px solid #7c858c;
59
- border-top: 0px solid #7c858c;
60
- border-bottom: 0px solid #7c858c;
61
- margin: 0px 80px 0px 80px;
62
- min-width: 740px;
63
- }
64
-
65
-
66
-
67
- /* -- the actual topic background, must be white all the time no exceptions */
68
-
69
- div.document {
70
- background-color: #ffffff;
71
- text-align: left;
72
- background-image: url(contents.png);
73
- background-repeat: repeat-x;
74
- }
75
-
76
-
77
-
78
- /* -- the vertical line between the topics and the TOC */
79
-
80
- div.bodywrapper {
81
- margin: 0 240px 0 0;
82
- border-right: 4px solid #d8dde3;
83
- }
84
-
85
- div.body {
86
- margin: 0;
87
- padding: 0.5em 20px 20px 20px;
88
- }
89
-
90
- div.related {
91
- font-size: 1em;
92
- }
93
-
94
-
95
-
96
- /* -- the borders above and below the header and footer */
97
-
98
- div.related ul {
99
- background-color: #ffffff;
100
- height: 1.8em;
101
- border-top: 4px solid #d8dde3;
102
- border-bottom: 4px solid #d8dde3;
103
- }
104
-
105
- div.related ul li {
106
- margin: 0;
107
- padding: 0;
108
- height: 2em;
109
- float: left;
110
- }
111
-
112
- div.related ul li.right {
113
- float: right;
114
- margin-right: 5px;
115
- }
116
-
117
-
118
-
119
- /* -- the Sphinx-specific navigation text located just below the header and just above the footer */
120
-
121
- div.related ul li a {
122
- margin: 0;
123
- padding: 0 8px 0 5px;
124
- line-height: 1.75em;
125
- color: #7c858c;
126
- }
127
-
128
- div.related ul li a:hover {
129
- color: #b5bec6;
130
- }
131
-
132
-
133
- div.sphinxsidebarwrapper {
134
- padding: 0;
135
- }
136
-
137
- div.sphinxsidebar {
138
- margin: 0;
139
- padding: 0.5em 15px 15px 0;
140
- width: 210px;
141
- float: right;
142
- font-size: 1em;
143
- text-align: left;
144
-
145
- }
146
-
147
-
148
-
149
- /* -- The colors of the TOC sidebar; h3 is headers, a is the text links and both should be same color */
150
-
151
- div.sphinxsidebar h3, div.sphinxsidebar h4 {
152
- margin: 1em 0 0.5em 0;
153
- font-size: 1em;
154
- padding: 0.1em 0 0.1em 0.5em;
155
- color: #ffffff;
156
- border: 1px solid #ffffff;
157
- background-color: #7c858c;
158
- }
159
-
160
- div.sphinxsidebar a {
161
- color: #212c35;
162
- padding: 0.1em 0 0.1em 0.5em;
163
- text-decoration: none;
164
- }
165
-
166
- div.sphinxsidebar h3 a {
167
- color: #ffffff;
168
- }
169
-
170
- div.sphinxsidebar ul {
171
- padding-left: 1.5em;
172
- margin-top: 7px;
173
- padding: 0;
174
- line-height: 130%;
175
- }
176
-
177
- div.sphinxsidebar ul ul {
178
- margin-left: 20px;
179
- }
180
-
181
-
182
-
183
-
184
- /*
185
- * footer
186
- * ~~~~~~~~~~~~~~~~~~~
187
- *
188
- */
189
-
190
-
191
- div.footer {
192
- background-color: #ffffff;
193
- color: #ffffff;
194
- padding: 3px 8px 3px 0;
195
- clear: both;
196
- font-size: 0.8em;
197
- text-align: right;
198
- }
199
-
200
- div.footer a {
201
- color: #ffffff;
202
- text-decoration: none;
203
- }
204
-
205
- /* -- body styles ----------------------------------------------------------- */
206
-
207
- p {
208
- margin: 0.8em 0 0.5em 0;
209
- }
210
-
211
-
212
- a {
213
- color: #4d97c6;
214
- text-decoration: none;
215
- }
216
-
217
- a:hover {
218
- color: #7c858c;
219
- }
220
-
221
- div.body a {
222
- text-decoration: none;
223
- }
224
-
225
- em {
226
- font-style: normal;
227
- }
228
-
229
- /* -- header styles, basically Opscode blue with colored underlines and decreasing border bottom sizes */
230
-
231
- h1 {
232
- margin: 0.5;
233
- padding: 0.7em 0 0.3em 0;
234
- font-size: 1.75em;
235
- color: #212c35;
236
- border-bottom:solid 4px #f18a20;
237
- }
238
-
239
- h2 {
240
- margin: 1.3em 0 0.2em 0;
241
- font-size: 1.55em;
242
- color: #212c35;
243
- padding: 0.7em 0 0.3em 0;
244
- border-bottom:solid 2px #7c858c;
245
- }
246
-
247
- h3 {
248
- margin: 1em 0 -0.3em 0;
249
- font-size: 1.35em;
250
- color: #212c35;
251
- padding: 0.7em 0 0.3em 0;
252
- border-bottom:solid 1px #7c858c;
253
- }
254
-
255
- h4 {
256
- margin: 1em 0 -0.3em 0;
257
- font-size: 1.15em;
258
- color: #212c35;
259
- padding: 0.7em 0 0.3em 0;
260
- border-bottom:solid 0px #7c858c;
261
- }
262
-
263
- div.body h1 a, div.body h2 a, div.body h3 a, div.body h4 a, div.body h5 a, div.body h6 a {
264
- color: #ffffff!important;
265
- }
266
-
267
- h1 a.anchor, h2 a.anchor, h3 a.anchor, h4 a.anchor, h5 a.anchor, h6 a.anchor {
268
- display: none;
269
- margin: 0 0 0 0.3em;
270
- padding: 0 0.2em 0 0.2em;
271
- color: #ffffff!important;
272
- }
273
-
274
- h1:hover a.anchor, h2:hover a.anchor, h3:hover a.anchor, h4:hover a.anchor,
275
- h5:hover a.anchor, h6:hover a.anchor {
276
- display: inline;
277
- }
278
-
279
- h1 a.anchor:hover, h2 a.anchor:hover, h3 a.anchor:hover, h4 a.anchor:hover,
280
- h5 a.anchor:hover, h6 a.anchor:hover {
281
- color: #ffffff;
282
- background-color: #ffffff;
283
- }
284
-
285
-
286
-
287
-
288
- a.headerlink {
289
- color: #ffffff!important;
290
- font-size: 1em;
291
- margin-left: 6px;
292
- padding: 0 4px 0 4px;
293
- text-decoration: none!important;
294
- }
295
-
296
- a.headerlink:hover {
297
- background-color: #ffffff;
298
- color: #ffffff!important;
299
- }
300
-
301
- cite, code, tt {
302
- font-family: 'Consolas', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace;
303
- font-size: 0.95em;
304
- letter-spacing: 0.01em;
305
- }
306
-
307
-
308
-
309
-
310
-
311
- tt {
312
- background-color: #ebecf1;
313
- border-bottom: 1px solid #d8dde3;
314
- color: #212c35;
315
- }
316
-
317
- tt.descname, tt.descclassname, tt.xref {
318
- border: 0;
319
- }
320
-
321
- /* -- has Opscode orange for testing */
322
-
323
- hr {
324
- border: 1px solid #f18a20;
325
- margin: 2em;
326
- }
327
-
328
- /* -- has Opscode orange for testing */
329
-
330
- a tt {
331
- border: 0;
332
- color: #f18a20;
333
- }
334
-
335
- /* -- has Opscode orange for testing */
336
-
337
- a tt:hover {
338
- color: #f18a20;
339
- }
340
-
341
- /* -- has Opscode orange for testing */
342
-
343
- pre {
344
- font-family: 'Consolas', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace;
345
- font-size: 0.95em;
346
- letter-spacing: 0.015em;
347
- line-height: 120%;
348
- padding: 0.5em;
349
- border: 0.0px solid #d8dde3;
350
- background-color: #ebecf1;
351
- }
352
-
353
- pre a {
354
- color: inherit;
355
- text-decoration: underline;
356
- }
357
-
358
- td.linenos pre {
359
- padding: 0.5em 0;
360
- }
361
-
362
- /* -- has Opscode orange for testing */
363
-
364
- div.quotebar {
365
- background-color: #f18a20;
366
- max-width: 250px;
367
- float: right;
368
- padding: 2px 7px;
369
- border: 1px solid #f18a20;
370
- }
371
-
372
- /* -- has Opscode orange for testing */
373
-
374
- div.topic {
375
- background-color: #f18a20;
376
- }
377
-
378
-
379
- /* -- table styles */
380
-
381
- table.docutils {
382
- border: 0;
383
- border-collapse: separate;
384
- border-spacing:4px;
385
-
386
- }
387
-
388
- table.docutils th {
389
- padding: 1px 8px 1px 5px;
390
- border-top: 0;
391
- border-left: 0;
392
- border-right: 0;
393
- border-bottom: 0px solid #ffffff;
394
- background-color: #7c858c;
395
- color: #ffffff;
396
- }
397
-
398
- table.docutils td {
399
- padding: 5px 5px 5px 5px;
400
- border-top: 0;
401
- border-left: 0;
402
- border-right: 0;
403
- border-bottom: 1px dashed #7c858c;
404
- }
405
-
406
- table.field-list td, table.field-list th {
407
- border: 0 !important;
408
- }
409
-
410
- table.footnote td, table.footnote th {
411
- border: 0 !important;
412
- }
413
-
414
- th {
415
- text-align: left;
416
- padding-right: 5px;
417
- }
418
-
419
- table.citation {
420
- border-left: solid 1px gray;
421
- margin-left: 1px;
422
- }
423
-
424
- table.citation td {
425
- border-bottom: none;
426
- }
427
-
428
-
429
-
430
-
431
-
432
-
433
-
434
- div.admonition, div.warning {
435
- font-size: 0.9em;
436
- margin: 1em 0 1em 0;
437
- border: 1px solid #6bb1e1;
438
- background-color: #ffffff;
439
- padding: 0;
440
- }
441
-
442
- div.admonition p, div.warning p {
443
- margin: 0.5em 1em 0.5em 1em;
444
- padding: 0;
445
- }
446
-
447
- div.admonition pre, div.warning pre {
448
- margin: 0.4em 1em 0.4em 1em;
449
- }
450
-
451
- div.admonition p.admonition-title,
452
- div.warning p.admonition-title {
453
- margin: 0;
454
- padding: 0.1em 0 0.1em 0.5em;
455
- color: #ffffff;
456
- border-bottom: 1px solid #6bb1e1;
457
- font-weight: bold;
458
- background-color: #6bb1e1;
459
- }
460
-
461
-
462
-
463
-
464
- div.warning {
465
- border: 1px solid #fcb614;
466
- }
467
-
468
- div.warning p.admonition-title {
469
- background-color: #fcb614;
470
- border-bottom-color: #fcb614;
471
- }
472
-
473
- div.admonition ul, div.admonition ol,
474
- div.warning ul, div.warning ol {
475
- margin: 0.1em 0.5em 0.5em 3em;
476
- padding: 0;
477
- }
478
-
479
-
480
-
481
-
482
- div.versioninfo {
483
- margin: 1em 0 0 0;
484
- border: 1px solid #ffffff;
485
- background-color: #ffffff;
486
- padding: 8px;
487
- line-height: 1.3em;
488
- font-size: 0.9em;
489
- }
490
-
491
-
492
-
493
-
494
- .viewcode-back {
495
- font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
496
- }
497
-
498
-
499
-
500
-
501
- div.viewcode-block:target {
502
- background-color: #ffffff;
503
- border-top: 1px solid #ffffff;
504
- border-bottom: 1px solid #ffffff;
505
- }