Skip to content

Commit

Permalink
Fix master docs link, upload general logo
Browse files Browse the repository at this point in the history
  • Loading branch information
quirkey committed Jan 27, 2011
1 parent 735236d commit 982ef5c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions lib/sammyjs-org.rb
Expand Up @@ -48,11 +48,10 @@ class SammyjsOrg < Sinatra::Application
redirect "/docs/api/#{@current_version}/"
end

get '/docs/api/?:version?/:page?' do
get '/docs/api/?:version?/?:page?' do
@general_header = true
@version = params[:version] || @current_version
@page = params[:page] || 'index'
puts @page.inspect
if @page =~ /\.html$/
haml "= html('docs/api/#{@version}/#{@page}')", :layout => :simple
else
Expand Down
Binary file added public/images/sammy-logo.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion views/docs.textile
Expand Up @@ -15,7 +15,7 @@ The API docs are generated from inline comments in the source. The API documenta

*"View the documentation for the latest stable version":/docs/api/stable*

*"View the API docs for master/edge":/docs/api/master*
*"View the API docs for master/edge":/docs/api/master/*


h3(#blocks). Building Blocks
Expand Down

0 comments on commit 982ef5c

Please sign in to comment.