README.md in copy-0.1.5 vs README.md in copy-0.1.6
- old
+ new
@@ -4,23 +4,21 @@
mynewsite/
├── Gemfile <- Uncomment the gems you need for storage.
├── config.ru <- Configure storage, user, and password here.
├── public <- The public root of your new site.
- │ ├── favicon.ico Ships with a few helpful defaults.
+ │ ├── favicon.ico <- A blank favicon, replace with your own.
│ ├── images
│ ├── javascripts
- │ │ └── main.js
- │ ├── robots.txt
+ │ │ └── main.js <- A good place for your basic scripts.
+ │ ├── robots.txt <- Read file for details.
│ └── stylesheets
- │ └── main.css
+ │ └── main.css <- Toss some CSS styles in here.
└── views <- Your views, layouts, and partials live here.
├── index.html.erb
- └── layout.html.erb
+ └── layout.html.erb <- Optional global layout file.
-The layout (`layout.html.erb`) yields to all the views. It's not required so delete it if your views contain full html documents.
-
Copy automatically maps URLs to files in your `views` directory.
* `/` → `index.html.erb`
* `/about` → `about.html.erb` or `about/index.html.erb`
* `/about/us` → `about/us.html.erb`
@@ -33,11 +31,11 @@
408.996.1010
<% end %>
The text provided in the block will be saved and can then be edited live on the site. All content is formatted with Markdown. [See demo](http://copy-demo.heroku.com) for a live example or [view the source](https://github.com/javan/copy-demo).
-Single line blocks will be edited in a text field as opposed to a textarea. Perfect for headlines.
+Single line blocks will be rendered in a span (by default). Perfect for headlines.
<h1><% copy :title do %>Like a boss!<% end %></h1>
**Partials** can be rendered from any view with the `partial` helper. Their filenames are always prefixed with an underscore.
@@ -63,6 +61,6 @@
Browse to `/_copy` and drag the "Edit Copy" link to your bookmarks bar. Return to your site, click the bookmark (you'll be prompted for your username and password) and then click on the highlighted text to edit it. That's it!
----
-© 2011 Javan Makhmali
+[![Build Status](http://travis-ci.org/javan/copy.png)](http://travis-ci.org/javan/copy) — © 2011 Javan Makhmali
\ No newline at end of file