doc: Add README.markdown as index page to API documentation.
This commit is contained in:
parent
ff5dbe343f
commit
d5947d9d78
3
Rakefile
3
Rakefile
@ -35,7 +35,8 @@ module PrototypeHelper
|
||||
|
||||
PDoc::Runner.new(temp_path, {
|
||||
:output => DOC_DIR,
|
||||
:templates => File.join(TEMPLATES_DIR, "html")
|
||||
:templates => File.join(TEMPLATES_DIR, "html"),
|
||||
:index_page => 'README.markdown'
|
||||
}).run
|
||||
|
||||
rm_rf temp_path
|
||||
|
@ -291,15 +291,9 @@ pre code {
|
||||
|
||||
.page-content .page-introduction {
|
||||
margin-left: 120px;
|
||||
font-size: 15px;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
|
||||
.page-content .page-introduction p {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
|
||||
.page-content .section {
|
||||
width: 955px;
|
||||
margin: 10px 0 20px;
|
||||
|
@ -1,12 +1,9 @@
|
||||
<% @title = "Home" %>
|
||||
|
||||
<h2 class="page-title">Prototype API</h2>
|
||||
|
||||
<div class="page-introduction">
|
||||
<p>Welcome to the Prototype API Documentation.</p>
|
||||
<%= @index_page_content %>
|
||||
</div> <!-- .section -->
|
||||
|
||||
|
||||
<div class="section section-sections">
|
||||
<div class="section-title">
|
||||
<h3>Sections</h3>
|
||||
|
Loading…
Reference in New Issue
Block a user