summaryrefslogtreecommitdiff
path: root/jni/ruby/lib/rdoc/generator/template/darkfish/index.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'jni/ruby/lib/rdoc/generator/template/darkfish/index.rhtml')
-rw-r--r--jni/ruby/lib/rdoc/generator/template/darkfish/index.rhtml23
1 files changed, 23 insertions, 0 deletions
diff --git a/jni/ruby/lib/rdoc/generator/template/darkfish/index.rhtml b/jni/ruby/lib/rdoc/generator/template/darkfish/index.rhtml
new file mode 100644
index 0000000..7d1c748
--- /dev/null
+++ b/jni/ruby/lib/rdoc/generator/template/darkfish/index.rhtml
@@ -0,0 +1,23 @@
+<body id="top" role="document" class="file">
+<nav role="navigation">
+ <div id="project-navigation">
+ <%= render '_sidebar_navigation.rhtml' %>
+
+ <%= render '_sidebar_search.rhtml' %>
+ </div>
+
+ <div id="project-metadata">
+ <%= render '_sidebar_pages.rhtml' %>
+ <%= render '_sidebar_classes.rhtml' %>
+ </div>
+</nav>
+
+<main role="main">
+<% if @options.main_page and
+ main_page = @files.find { |f| f.full_name == @options.main_page } then %>
+<%= main_page.description %>
+<% else %>
+<p>This is the API documentation for <%= @title %>.
+<% end %>
+</main>
+