Sha256: d3c539fa93899d43c772c37abf40872f51de6d25733e38533f903991becff2b2
Contents?: true
Size: 974 Bytes
Versions: 2
Compression:
Stored size: 974 Bytes
Contents
--- layout: bootstrap title: <%= options[:title] || "#{Origen.app.namespace} - Docs" %> --- <%= render "templates/web/partials/navbar.html", tab: :docs %> % s = {} %# This creates the index on the left of your doc pages %# %# Naming of the keys is very important and must be of the form: %# <section>_<page> with no other underscores %# Origen will then look for the corresponding page in: %# templates/web/docs/<section>/<page>.md.erb %# %# See here for more info: http://origen.freescale.net/doc_helpers/latest/examples/searchable/intro/ % s["Environment"] = { % environment_introduction: "Introduction", % environment_installation: "Installation", % } % s["Developers"] = { % developers_creating: "Creating a Generator", % } % %# Define additional sections as required, e.g. %# s["Registers"] = { %# registers_map: "Register Map", %# } % render "doc_helpers/searchable.html", options.merge(:index => s) do <%= yield %> <%= yammer_comments %> % end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
origen_app_generators-0.0.3 | templates/web/layouts/_doc.html.erb |
origen_app_generators-0.0.2 | templates/web/layouts/_doc.html.erb |