Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

This branch is 4 commits behind rhomobile:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
docs
lib
public
views
.gitignore
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru
config.yml
docs.rb
environment.rb
pdfmaker.rb
toc.rb
topic.rb

README.md

Rhodes API Documentation Project

This is a simple CMS and documentation for the Rhomobile platform: http://rhodesapi.rhomobile.com

Edge changes to this repository are tracked realtime on http://rhodesapi-edge.rhomobile.com

If you'd like to propose an edit to the Rhodes API docs, fork this repo, then send us a pull request.

This tool is based off the excellent heroku-docs project!

Setup

  • On Windows? Install the Development Kit. Then run:

    $ gem install rdiscount --platform=ruby -v=1.6.8
    
  • Run the following commands:

    # install prereqs and shotgun the docs server
    $ cd rhodes-api-docs
    $ sudo gem install bundler (if you don't have it already)
    $ bundle install
    $ rake start #=> this will start the server and load the docs home page in your browser
    

Rebuilding & Publishing

This app loads content from sub-directories located in config.yml.

This will copy all content from the sub-directories into docs/. Then push to heroku:

$ git add docs/
$ git commit -m "adding new docs"
$ git push heroku master

The app loads content from the docs subdirectory. Pages are served with a 1 hour cache setting.

About

Originally written by Ryan Tomayko and Adam Wiggins. This application is maintained by Rhomobile Dev.

Code is released under the MIT License

All rights reserved on the content (text files in the docs subdirectory), although you're welcome to modify these for the purpose of suggesting edits.

Something went wrong with that request. Please try again.