Skip to content

Commit

Permalink
Restructured documentation on yml config
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Boerger committed Nov 12, 2015
1 parent c0f83e3 commit 61b51eb
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 14 deletions.
27 changes: 27 additions & 0 deletions crowbar_framework/config/docs/openstack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
en:
docs:
deployment:
heading: 'Deployment Resources'
order: 100
items:
crowbar_deployment_guide:
text: 'Crowbar Deployment Guide'
pdf: '/docs/crowbar_deployment_guide.pdf'
order: 90
openstack_users_guide:
text: 'OpenStack User Guide'
pdf: '/docs/openstack_users_guide.pdf'
order: 200

# Here's an example of how to add links for downstream documentation
# others:
# heading: 'Other Resources'
# items:
# end_user_guide:
# text: 'End User Guide'
# link: '/docs/user/'
# pdf: '/docs/user_en.pdf'
# admin_user_guide:
# text: 'Admin User Guide'
# link: '/docs/admin/'
# pdf: '/docs/admin_en.pdf'
3 changes: 0 additions & 3 deletions crowbar_framework/config/locales/openstack/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ en:
nav:
barclamps:
openstack: 'OpenStack'
help:
crowbar_deployment: 'Crowbar Deployment Guide'
openstack_users: 'OpenStack Users Guide'
barclamp:
openstack:
edit_attributes:
Expand Down
11 changes: 0 additions & 11 deletions openstack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,3 @@ nav:
route: 'index_barclamp_path'
params:
controller: 'openstack'
help:
crowbar_deployment:
order: 30
path: '/docs/crowbar_deployment_guide.pdf'
html:
target: '_blank'
openstack_users:
order: 40
path: '/docs/openstack_users_guide.pdf'
html:
target: '_blank'

0 comments on commit 61b51eb

Please sign in to comment.