diff --git a/Rakefile b/Rakefile index 5b8a3c1..d362c33 100755 --- a/Rakefile +++ b/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 diff --git a/templates/html/assets/stylesheets/core.css b/templates/html/assets/stylesheets/core.css index 54bc8a4..6378bfa 100644 --- a/templates/html/assets/stylesheets/core.css +++ b/templates/html/assets/stylesheets/core.css @@ -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; diff --git a/templates/html/index.erb b/templates/html/index.erb index 3164a7e..b2b1e37 100644 --- a/templates/html/index.erb +++ b/templates/html/index.erb @@ -1,12 +1,9 @@ <% @title = "Home" %> -
Welcome to the Prototype API Documentation.
+ <%= @index_page_content %>