Sha256: 69a3e6b3cb773aa9dbb1226f1b0bc0cb47ed1e3cf08c8d2764c48a37cad546e8

Contents?: true

Size: 956 Bytes

Versions: 2

Compression:

Stored size: 956 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",
%   environment_definitions: "Definitions and Acronyms",
% }
%
%# 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/app_generators/application/templates/web/layouts/_doc.html.erb
origen_app_generators-0.0.2 templates/app_generators/application/templates/web/layouts/_doc.html.erb