GithubHelp home page GithubHelp logo

ey-docs's Introduction

The Engine Yard Docs

This repo holds all the content (and other bits) for the Engine Yard docs, located at EY Docs.

The inspiration of this method of documentation came from the awesome guys at Basho who have the Basho Wiki setup with Gollum.

We are using Gollum and Gollum-Site to generate the documentation. Gollum is a great piece of open source software released by the GitHub team that lets you maintain and build wikis from the contents of a Git repo.

gollum-site generates html from pages written in any format supported by Gollum (ASCIIDoc, Creole, Markdown, Textile, etc.).

## How to Contribute

Part of the reason we switched to Gollum and GitHub for the EY Docs was to make it easier for people to contribute. Just treat it like a code repo: If you have anything to change or add, simply:

  1. Fork this repo

  2. Build a local copy

  3. Create a new Branch:

     git checkout -b <branch-name>
    
  4. Add your changes

  5. Commit changes to your branch

  6. Send us a pull request

If it's a small or obvious change, we're likely to merge it right away. If we have questions, we'll communicate with you using the pull request's issue page.

The Gollum README provides a great introduction to using the wiki system.

## Building the Docs Locally

If you want to build and view the EY Docs locally, here is what you need to do:

  1. Clone this repo:

     git clone git://github.com/engineyard/ey-docs.git
    
  2. Ensure that you have Bundler installed:

     gem install bundler
    
  3. Install all pre-requisite gems:

     bundle install
    
  4. Generate the site and start a local server (This will take a minute. Don't fret.)

     bundle exec rake generate   # Will generate the files
     bundle exec rake serve      # Will start the gollum-site server
    

    bundle exec rake dev # Generate and run the gollum site in development mode

  5. Navigate to http://localhost:3011/Home.html (Default) to access a fully-functional copy of the EY Docs.

Sanitization

You can customize sanitization with three options:

  • --allow_elements: custom elements allowed, comma separated

  • --allow_attributes: custom attributes allowed, comma separated

  • --allow_protocols: custom protocols in href allowed, comma separated

     `$ gollum-site generate --allow_elements embed,object --allow_attributes src --allow_protocols irc`
    
## Issues, Questions, Comments, Etc.

ey-docs's People

Contributors

7hunderbird avatar acco avatar betelgeuse avatar britttheish avatar calavera avatar danishkhan avatar dennisjbell avatar drnic avatar emachnic avatar gpxl avatar janeday avatar joshbhamilton avatar nick-desteffen avatar nicksieger avatar randommood avatar shong avatar tjl2 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  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.