1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00
Commit graph

22 commits

Author SHA1 Message Date
Tim Felgentreff
bee190b42e Update README's to avoid surprises when using RDoc 3.10 2011-10-10 18:57:44 -07:00
Konstantin Haase
d1ab58deb3 rename public to public_folder, fixes #301 2011-06-16 00:24:27 +02:00
Gaku Ueda
29a57d741f Removed untranslated words and updated the Japanese translation. 2011-06-04 20:13:10 -07:00
Takanori Ishikawa
a44f338395 Added wildcard pattern with block parameters in README (ja) 2011-05-18 01:09:39 +09:00
Konstantin Haase
6ad90f55e5 Merge branch 'master' into tilt-1.3 2011-04-17 14:47:37 +02:00
Konstantin Haase
66f1256167 env is accessable directly, no need to use request.env 2011-04-17 12:45:06 +02:00
Konstantin Haase
9ce9e543e0 add support for creole templates 2011-04-15 11:59:06 +02:00
Konstantin Haase
7c186a0d48 require "rdoc" -> require "rdoc/markup/to_html"
this file is not loaded but require "rdoc", moreover, we only need markup
2011-02-26 10:44:09 +01:00
Konstantin Haase
314a98fc8e Remove uneccessary # from READMEs. 2011-01-11 09:15:31 +01:00
Andrey Samsonov
796d62a487 README.* fixed typos
Signed-off-by: Konstantin Haase <konstantin.mailinglists@googlemail.com>
2010-11-11 07:59:14 -06:00
Andrew Hampton
e6887fe430 Fix typo in middleware example.
Signed-off-by: Konstantin Haase <konstantin.mailinglists@googlemail.com>
2010-11-07 09:49:23 +01:00
Konstantin Haase
ca7fbe5472 Add documentation for Slim templates. 2010-11-05 13:59:49 +01:00
Kouhei Yanagita
4fd9aeb83f Updated Japanese README to follow up latest README.rdoc.
Signed-off-by: Konstantin Haase <konstantin.mailinglists@googlemail.com>
2010-10-14 07:32:50 +02:00
Kouhei Yanagita
d842c14552 Updated Japanese README with request object documentation.
Signed-off-by: Konstantin Haase <konstantin.mailinglists@googlemail.com>
2010-10-12 23:23:23 +02:00
Konstantin Haase
dd81da11bb Add nokogiri helper method. Tilt supports Nokogiri for quite some time now, but it was not as easy to use as builder, and not documented. Tests and documentation included. 2010-10-10 13:53:43 +02:00
Konstantin Haase
1d676f41f8 Sets default content type according to template engine used instead of just text/html.
It does so by including a Mixin into the the returned string offering a content_type method. Therefore all of the following examples produce the expected results:

    # text/html
    get('/') do
      haml :index
    end

    # text/css
    get('/') do
      sass :index
    end

    # text/css
    get('/') do
      haml :index
      sass :index
    end

    # text/html
    get('/') do
      haml '= sass :index'
    end

It also allows setting the default content type for a template engine:

    set :builder, :content_type => :html

Tests and README adjustments (all languages) included.
2010-09-27 13:25:10 +02:00
Konstantin Haase
1abac3217f Add note to all README translations saying: 'Important Note: This document is just a translation of the English version and might not be up to date.'
French translation by Gabriel Andretta (ohhgabriel)
Spanish translation by michelc
Japanese translation by Kiko Uehara (kiko)

Japanese translation also includes 'Please refer to original English document for the most up to date information.'
More translations and discussion: http://gist.github.com/589498
2010-09-22 07:56:17 +02:00
Konstantin Haase
8465d492aa Avoid require "rubygems" and sudo in README. 2010-09-07 10:23:28 +02:00
Simon Rozet
60ac44901f lighthouse => github issue 2010-07-01 07:32:11 +02:00
Doug Ireton
bdab38083b In Japanese README doc, fix links to HAML and SASS Options pages. 2010-05-26 11:20:22 -07:00
Simon Rozet
6d8b333af4 Update README re. mime_type 2009-10-18 01:19:42 +02:00
Dopin
8ab1690064 Add a Japanese translation of the README
Signed-off-by: Simon Rozet <simon@rozet.name>
2009-08-12 18:06:42 +02:00