Permalink
Browse files

(#6926) removing trailing whitespace

  • Loading branch information...
1 parent d23a698 commit e29e629ac53196d3548d4a57f14da07a66cbbbba ghoneycutt committed Mar 31, 2011
Showing with 345 additions and 341 deletions.
  1. +6 −6 LICENSE
  2. +7 −3 README.markdown
  3. +5 −5 README_WRITING.markdown
  4. +7 −7 Rakefile
  5. +3 −3 source/contribute.markdown
  6. +16 −16 source/files/fonts/Klavika_400-Klavika_600.font.js
  7. +11 −11 source/files/javascripts/addRotate.js
  8. +3 −3 source/files/javascripts/drop_down.js
  9. +3 −3 source/files/stylesheets/ie_7.css
  10. +2 −2 source/files/stylesheets/ie_8.css
  11. +22 −22 source/files/stylesheets/style.css
  12. +2 −2 source/guides/configuring.markdown
  13. +10 −10 source/guides/custom_functions.markdown
  14. +21 −21 source/guides/faq.markdown
  15. +11 −11 source/guides/file_serving.markdown
  16. +15 −15 source/guides/inventory_service.markdown
  17. +11 −11 source/guides/language_guide.markdown
  18. +2 −2 source/guides/platforms.markdown
  19. +12 −12 source/guides/plugins_in_modules.markdown
  20. +10 −10 source/guides/rest_api.markdown
  21. +14 −14 source/guides/rest_auth_conf.markdown
  22. +1 −1 source/guides/scaling.markdown
  23. +15 −15 source/guides/style_guide.markdown
  24. +1 −1 source/guides/techniques.markdown
  25. +2 −2 source/guides/templating.markdown
  26. +3 −3 source/guides/tools.markdown
  27. +12 −12 source/guides/troubleshooting.markdown
  28. +1 −1 source/guides/virtual_resources.markdown
  29. +7 −7 source/index.markdown
  30. +10 −10 source/learning/index.markdown
  31. +26 −26 source/learning/manifests.markdown
  32. +37 −37 source/learning/ordering.markdown
  33. +19 −19 source/learning/ral.markdown
  34. +1 −1 source/man/index.markdown
  35. +1 −1 source/references/index.markdown
  36. +2 −2 spec/spec_helper.rb
  37. +3 −3 spec/view_spec.rb
  38. +11 −11 util/write-clean-pre-2.6-references.pl
View
12 LICENSE
@@ -1,4 +1,4 @@
-The content in this documentation project is
+The content in this documentation project is
Copyright (c) 2009-2010 Puppet Labs
@@ -7,15 +7,15 @@ with Attribution and Share Alike Clauses
http://creativecommons.org/licenses/by-sa/3.0/
-THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS
-OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE").
-THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW.
-ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE
+THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS
+OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE").
+THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW.
+ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE
OR COPYRIGHT LAW IS PROHIBITED.
==============================================
-The application to develop this content is
+The application to develop this content is
Copyright (c) 2009-2010 Puppet Labs
View
@@ -17,8 +17,9 @@ Steps for installing the documentation-generating code:
$ git submodule update --init
2. Use your package manager to install rake, libxml2-dev,
- libxslt-dev, and pygments. Package names may vary by platform; for example, using Macports, these packages could be installed with:
-
+ libxslt-dev, and pygments. Package names may vary by platform; for example,
+ using Macports, these packages could be installed with:
+
$ sudo port -d install rb-rake libxml2 libxslt py-pygments
3. Install the ruby dependencies:
@@ -48,7 +49,10 @@ Build Updated HTML Manpages
$ PUPPETDIR=~/Documents/puppet rake update_manpages
-You will need to point the PUPPETDIR environment variable at a git checkout of the Puppet code. Currently, we only maintain a single version of the manpages, and this task will only work cleanly with Puppet 2.7 or higher. Unlike generating references, this task is not currently run on a set schedule.
+You will need to point the PUPPETDIR environment variable at a git checkout of
+the Puppet code. Currently, we only maintain a single version of the manpages,
+and this task will only work cleanly with Puppet 2.7 or higher. Unlike
+generating references, this task is not currently run on a set schedule.
Generate a PDF or Other Single-File Documentation
-------------------------------------------------
View
@@ -11,8 +11,8 @@ matching `.html` file in `output/`.
### Format
-The basic format is [Markdown][1]. The output is generated by Jekyll and [Maruku][2], which
-supports the features provided by [PHP Markdown Extra][3].
+The basic format is [Markdown][1]. The output is generated by Jekyll and
+[Maruku][2], which supports the features provided by [PHP Markdown Extra][3].
NOTE: Markdown + ERB is supported (`.markdown.erb`), but should not be
used unless absolutely necessary. Contributions in this format are
@@ -28,7 +28,7 @@ layout: default
title: Language Tutorial
---
-Replace the title with the title of the document you're adding.
+Replace the title with the title of the document you're adding.
If you forget these, your document will not be generated.
@@ -55,7 +55,7 @@ Something like:
More Content
------------
- More stuff down here.
+ More stuff down here.
### Code
@@ -98,7 +98,7 @@ At minimum, you probably need to do this:
See the README for more details.
-[1]: http://daringfireball.net/projects/markdown/
+[1]: http://daringfireball.net/projects/markdown/
[2]: http://maruku.rubyforge.org/
[3]: http://michelf.com/projects/php-markdown/extra/
[4]: https://github.com/mojombo/jekyll/wiki/liquid-extensions
View
@@ -51,8 +51,8 @@ desc "Generate the documentation in a flat format for later PDF generation"
task :generate_pdf do
system("rm -rf pdf_source")
system("cp -rf source pdf_source")
- system("cp -rf pdf_mask/* pdf_source") # Copy in and/or overwrite differing files
- # The point being, this way we don't have to maintain separate copies of the actual source files, and it's clear which things are actually different for the PDF version of the page.
+ system("cp -rf pdf_mask/* pdf_source") # Copy in and/or overwrite differing files
+ # The point being, this way we don't have to maintain separate copies of the actual source files, and it's clear which things are actually different for the PDF version of the page.
Dir.chdir("pdf_source")
system("../vendor/gems/jekyll-0.7.0/bin/jekyll --kramdown ../pdf_output")
Rake::Task['references:symlink:for_pdf'].invoke
@@ -116,7 +116,7 @@ namespace :references do
puts "#{name}: #{version}"
end
end
-
+
desc "Symlink the latest & stable directories when generating a flat page for PDFing"
task :for_pdf do
require 'puppet_docs'
@@ -127,7 +127,7 @@ namespace :references do
end
end
-
+
end
desc "Symlink the latest & stable directories"
@@ -141,7 +141,7 @@ namespace :references do
end
namespace :puppetdoc do
-
+
references.each do |name|
desc "Write references/VERSION/#{name}"
task name => 'references:check_version' do
@@ -156,7 +156,7 @@ namespace :references do
task :puppetdoc => references.map { |r| "puppetdoc:#{r}" }
namespace :index do
-
+
desc "Generate a stub index for VERSION"
task :stub => 'references:check_version' do
filename = Pathname.new('source/references') + ENV['VERSION'] + 'index.markdown'
@@ -178,7 +178,7 @@ namespace :references do
end
task :check_version do
- abort "No VERSION given (must be a valid repo tag)" unless ENV['VERSION']
+ abort "No VERSION given (must be a valid repo tag)" unless ENV['VERSION']
end
task :fetch_tags do
@@ -22,15 +22,15 @@ if you don't already have one.
In your ticket, please give as much information as possible about what's
missing, what's inaccurate, or what's outdated, including URLs to the affected pages
-and your best understanding of what the documentation _should_ say.
+and your best understanding of what the documentation _should_ say.
We'll begin looking into the problem and update the ticket as soon as possible.
Reporting Errors and Typos
--------------------------
If you spot a typo or other minor error and don't want to go through
-the overhead of filing a ticket or editing the documentation, you can
-report it via email to <faq@puppetlabs.com>.
+the overhead of filing a ticket or editing the documentation, you can
+report it via email to <faq@puppetlabs.com>.
Editing the Documentation
-------------------------

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -6,22 +6,22 @@
//
-//Using the ready callback from jQuery to "plant" the
-//banner add. Place this on another even hook if you
+//Using the ready callback from jQuery to "plant" the
+//banner add. Place this on another even hook if you
//like, there are no parameters in use here.
-$(document).ready(function() {
+$(document).ready(function() {
//First parameter is the ID of the add element
var addEleId = 'content_add';
//Grab the add element
var addElement = $("#" + addEleId);
-
+
//Grab the current directory (path)
var pathName = window.location.pathname;
var pathEles = pathName.split('/');
var path = '';
//Get current ads
- if(pathName != '/') {
+ if(pathName != '/') {
for(var i in pathEles)
{
if(i < pathEles.length) {
@@ -34,22 +34,22 @@ $(document).ready(function() {
}
}
}
- else {
+ else {
path = '/';
}
//Retreive the appropriate image array
ads = getAds();
var curImage = '';
var theseAds = ads[path];
- if(theseAds != undefined && theseAds.length > 0) {
+ if(theseAds != undefined && theseAds.length > 0) {
var curIndex = Math.floor(Math.random() * theseAds.length);
var curImage = theseAds[curIndex];
}
- if(curImage != undefined && curImage.length > 0) {
+ if(curImage != undefined && curImage.length > 0) {
$("#bannerImage").append('<a href="http://info.puppetlabs.com/puppet-enterprise?utm_source=docs" /><img src="' + curImage + '" border="0" /></a>');
}
-
+
});
//Image associative array method, simple array instantiation
@@ -59,7 +59,7 @@ function getAds()
var ads = new Array();
//These paths must include HTML paths to display an add
//any pages that are EXCEPT the root path, which is a
- //single slash
+ //single slash
//
//The image paths can be local or remote, link to any image you like...
//Seperate each image path with a comma
@@ -69,7 +69,7 @@ function getAds()
//First line is path
//single slash value is the root path
ads['/'] = ['/files/images/doc_easy.jpg'];
- ads['/index.html'] = [''];
+ ads['/index.html'] = [''];
ads['/guides/best_practices.html'] = [''];
ads['/guides/complete_resource_example.html'] = [''];
ads['/guides/configuring.html'] = ['/files/images/ad_10mins.jpg'];
@@ -9,10 +9,10 @@ $(document).ready(function() {
});
return false;
});
-
+
$('li.with-submenu > a').click(function(){
if ($(this).attr("href") == "#"){
- var navElement = $(this).parent().find('.drop-down-trigger').click();
+ var navElement = $(this).parent().find('.drop-down-trigger').click();
}
});
-});
+});
@@ -25,7 +25,7 @@ section#notice pre,
.portals .portal,
ul.products li.product,
form#contactform div.first-name,
-form#contactform div.last-name
+form#contactform div.last-name
div.wp-pagenavi a.page,
div.wp-pagenavi span.current{
display: block;
@@ -219,7 +219,7 @@ body.blog #masthead ol li:hover span.drop-down-trigger {
#subscription-section a span.count {
position: relative;
- top: 0.25em;
+ top: 0.25em;
}
#subscription-section a span.label{
@@ -343,4 +343,4 @@ body#resources.docs section#content div.site-width div.primary-secondary-content
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=100);
}
-/* @end */
+/* @end */
@@ -164,7 +164,7 @@ body.blog #masthead ol li:hover span.drop-down-trigger {
#subscription-section a span.count {
position: relative;
- top: 0.25em;
+ top: 0.25em;
}
#subscription-section a span.label{
@@ -242,4 +242,4 @@ label.error {
height: auto;
}
-/* @end */
+/* @end */
Oops, something went wrong.

0 comments on commit e29e629

Please sign in to comment.