Contribute to the Rails Guides
Rails Guides aim to improve the Rails documentation and to make the barrier to entry as low as possible. A reasonably experienced developer should be able to use the Guides to come up to speed on Rails quickly. You can track the overall effort at the Rails Guides Lighthouse. Our sponsors have contributed prizes for those who write an entire guide, but there are many other ways to contribute.
How to Contribute?
- We have an open commit policy: anyone is welcome to contribute and to review contributions.
- docrails is hosted on GitHub and has public write access.
- Guides are written in Textile, and reside at in the docrails project.
- Follow the Rails Guides Conventions.
- Assets are stored in the directory.
- Sample format : Active Record Associations.
- Sample output : Active Record Associations.
- You can build the Guides during testing by running in the directory.
- You’re encouraged to validate XHTML for the generated guides before commiting your changes by running in the directory.
- Edge guides can be consulted online. That website is generated periodically from docrails.
What to Contribute?
- We need authors, editors, proofreaders, and translators. Adding a single paragraph of quality content to a guide is a good way to get started.
- The easiest way to start is by improving an existing guide:
- Improve the structure to make it more coherent.
- Add missing information.
- Correct any factual errors.
- Fix typos or improve style.
- Bring it up to date with the latest Edge Rails.
- We’re also open to suggestions for entire new guides:
- Contact lifo or fxn to get your idea approved. See the Contact section below.
- If you’re the main author on a significant guide, you’re eligible for the prizes.
How is the process?
- The preferred way to contribute is to commit to docrails directly.
- A new guide is only edited by its author until finished though. In that case feedback can be given in its LH ticket.
- If you are writing a new guide freely commit to docrails partial work and ping lifo or fxn when done with a first draft.
- Guides reviewers will then provide feedback, some of it possibly in form of direct commits to agilize the process.
- Eventually the guide will be approved and added to the index.
For each completed guide, the lead contributor will receive all of the following prizes:
- $200 from Caboose Rails Documentation Project.
- 1 year of GitHub Micro account worth $84.
- 1 year of RPM Basic (Production performance management) for up to 10 hosts worth 12 months x $40 per host x 10 hosts = $4800. And also, savings of $45 per host per month over list price to upgrade to advanced product.
- Guides are licensed under a Creative Commons Attribution-Share Alike 3.0 License.
- If you’re not sure whether a guide is actively being worked on, stop by IRC and ask.
- If the same guide writer wants to write multiple guides, that’s ideally the situation we’d love to be in! However, that guide writer will only receive the cash prize for all the subsequent guides (and not the GitHub or RPM prizes).
- Our review team will have the final say on whether the guide is complete and of good enough quality.
The translation effort for the Rails Guides is just getting underway. We know about projects to translate the Guides into Spanish, Portuguese, Polish, and French. For more details or to get involved see the Translating Rails Guides page.
Ruby on Rails: Documentation is the mailing list for all the guides/documentation related discussions.