Giter Club home page Giter Club logo

rails_tutorial_translation_4_0_version's Introduction

Translation of the Ruby on Rails Tutorial (4.0 version)

This repository contains the HTML source for the Rails 4.0 version of the Ruby on Rails Tutorial, with the goal of allowing translation of the tutorial to languages other than the lingua franca.

Getting started

To translate the Ruby on Rails Tutorial, simply fork this repository, clone it to your local machine, and get started translating it to your language of choice. If you want to work with other translators (which I certainly encourage), add them as collaborators to the repository as needed. At any time, you are free to deploy the result to a URL of your choice. Once it's up and ready for public consumption, send the URI to [email protected] and I'll link to it from the main Rails Tutorial website.

Since I often make minor fixes to the book, I recommend occasionally merging in changes from the master branch. If merging causes too many conflicts, you can omit this optional step.

Source files

The repository contains an HTML source file for each chapter of the Ruby on Rails Tutorial, as well as two CSS files for styling and an images directory with all of the book's figures. Note that the image URIs in the HTML files are relative, i.e., they appear as

images/figures/foo.png

with no leading slash. This is so that when you view the HTML files locally all the images load correctly.

For a fully deployed version of the book, you may have to change the image paths from relative to absolute, such as

/images/figures/foo.png

If this ends up being the case, I recommend writing a script to build the production output. You may find the Ruby line

text.gsub!('"images/', '"/images/')

to be useful in this context.

License

Ruby on Rails Tutorial. Copyright © 2013 by Michael Hartl.

The HTML source of the Ruby on Rails Tutorial book is available under the Creative Commons Attribution-ShareAlike 3.0 Unported License, which allows translation of the book as long as you give attribution to the original author (Michael Hartl) and distribute the translation under the same license.

rails_tutorial_translation_4_0_version's People

Contributors

mhartl avatar wilcoxst avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.