Giter Club home page Giter Club logo

puppet-docs's Introduction

Puppet Docs

Curated documentation for Puppet and tools for generating a deployable copy of the docs site.

Installation

The tools and rake tasks for generating the puppet-docs site require Ruby 2.2.3 or greater.

To install the documentation-generating code:

  1. Clone the repository:

    $ git clone git://github.com/puppetlabs/puppet-docs.git
    
  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:

    $ sudo port -d install rb-rake libxml2 libxslt py-pygments
    

    Make sure there is a pygmentize command available! If your package tools install the pygmentize binary with a different name (like Macports does), you must symlink it so Jekyll can find the command.

  3. Install the Ruby dependencies:

    The Puppet docs project uses Ruby Bundler to ensure that you have the correct dependencies installed on your system and that the documents are being built with the correct versions of needed binaries. To install the project's requirements:

    $ sudo gem install bundler
    $ cd puppet-docs
    $ bundle install --path=vendor/bundle
    

Building and viewing

  1. Generate the documentation:

    $ rake generate
    
  2. Start a little server to view it at http://localhost:9292:

    $ rake serve
    

    (You can use rake run to combine these steps.)

Errors and omissions

If something in the documentation doesn't seem right -- or if you think something important is missing, please submit a ticket to the "DOCUMENTATION" project (not to Puppet itself). The best way to get your change in is to contribute it; see the next section for details.

Contributing changes

  1. Fork the project (we recommend GitHub)
  2. Make sure you read the writing guide (README_WRITING.markdown) and the style and usage guide, which are both in the root of this project.
  3. Make your documentation addition/fix -- preferably in a branch.
  4. Commit, do not mess with the README, LICENSE, etc.
  5. Open a pull request to the puppet-docs repo, requesting your contribution be added.

Copyright

Copyright (c) 2009-2017 Puppet, Inc. See LICENSE for details.

puppet-docs's People

Contributors

nfagerlund avatar ipeldridge avatar jtappa avatar mfredette avatar larissalane avatar gguillotte avatar jamtur01 avatar juxtin avatar misseuropa avatar kbarber avatar cprice404 avatar sharpie avatar joshcooper avatar psoloway avatar haus avatar blkperl avatar ncorrare avatar binford2k avatar stahnma avatar 2is3 avatar ghoneycutt avatar wkalt avatar mikeyp avatar reinh avatar pdxmph avatar elyscape avatar ody avatar ferventcoder avatar hlindberg avatar zaphod42 avatar

Watchers

James Cloos avatar Andreas Ntaflos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.