dellcloudedge/barclamp-crowbar — pull request #92 by cloudedge (2012-07-23 05:09:38+00:00)
Title: Moving dynamic docs to use database [2/7]

This is some work that fixes the dynamic doc system that was in place
by moving the indexs to the database.

May require you to rake db:create & rake db:migrate!

The initial call to the /docs will read and generate the index.

.../app/controllers/docs_controller.rb | 155 +++++-------------
crowbar_framework/app/models/doc.rb | 27 +++
.../app/views/barclamp/_node_selector.html.haml | 2 +-
crowbar_framework/app/views/docs/_index.html.haml | 8 -
crowbar_framework/app/views/docs/index.html.haml | 37 +++--
crowbar_framework/app/views/docs/topic.html.haml | 24 ++--
.../app/views/layouts/application.html.haml | 4 +-
crowbar_framework/config/routes.rb | 173 +++++++++-----------
.../db/migrate/20120722130500_create_docs.rb | 38 +++++
crowbar_framework/doc/crowbar.yml | 75 ++++-----
10 files changed, 248 insertions(+), 295 deletions(-)