A Rails engine to provide the ability to add documentation to a Rails application
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
config
db
doc
lib
test
.gitignore
Gemfile
Gemfile.lock
MIT-LICENSE
README.md
documentation.gemspec

README.md

Documentation

Documentation is a Rails engine which provides a complete system for managing a set of hierarchical documentation. Once installed in an application, you'll have a complete user interface for viewing as well as editing a set of markdown pages.

Screenshot

Installation

To get started, you need to add Documentation to your Gemfile and run bundle.

gem 'documentation', '~> 1.0.0'

Gem Version

Next, you'll need to run the setup generator which will add a route to your config/routes.rb file for the Documentation interface.

bundle exec rails generate documentation:setup

You now need to populate your database schema and load the initial documentation pages.

bundle exec rake db:migrate documentation:install_guides

Once this is done, you can go ahead and start up your Rails application and browse to /docs to view your documentation system.