The source for the Ember.js Guides.
Please see CONTRIBUTING.md.
The Guides' content is in the source
folder. The left nav bar is produced from
data/pages.yml
. lib
contains Middleman plugins, and spec
contains tests
for those plugins.
The Guides are built with Middleman, which runs on Ruby 1.9.3 or newer (2.0.0 recommended).
During build, Middleman will require Aspell to look for misspellings. On Macs, it can be installed via Homebrew:
brew install aspell --with-lang-en
On Windows, you can download an installer, but unfortunately it is unmaintained. On Linux, you can install with your distribution's package manager. On all platforms, you can also build the most recent version from source.
To get started:
git clone git://github.com/emberjs/guides.git
cd guides
bundle
bundle exec middleman
Then visit http://localhost:4567/.
If you run into problems, check Troubleshooting.md.
If you have a false hit during spellchecking, you can add the word to /data/spelling-exceptions.txt
.
Words are line separated and case insensitive.
This section will document some of the processes that members of the documentation team should adhere to.
The two weeks preceeding a scheduled release is considered the review period of the Guides. It is only during this period that pull requests for the relevant milestone are to be merged in.
Before the review period starts, the previous version should be re-released with any updates.
infrastructure
: This label refers to issues that involve writing code, rather than writing documentation.help wanted
: This label is for issues that are suitable for any interested contributor to work on.
Future
: Any future work that has is not scheduled for the next releaseM.N
: Work that is scheduled for theM.N
(Major.Minor) release
You should use homu when accepting pull requests. You can read about the available commands in the front page.
The Guides repository has homu configured to auto-squash commits.
Before merging you should check the following:
- Milestone. If it's assigned to the Milestone of the next release, only merge during the review period.
- Assignee. If it's assigned to someone, get explicit authorization from them before merging.