Welcome! This site contains the latest Magento developer documentation for ongoing Magento 2.0 releases.
To contribute, please fork the 2.0 branch and submit any PRs to this same branch as well.
To preview your work before submitting it to us, you can view the site locally using Jekyll.
The devdocs site now displays the last modified date of each topic on the right side of the page. This provides you a handy way of seeing what's new on our site.
If you're currently building this site, you must update your Gemfile to include a new Gem, jekyll-last-modified-at
. Otherwise, you cannot run Jekyll locally.
To update your Gemfile, enter the following command at a command prompt:
bundle install
(If the command fails, try sudo bundle install
.)
El Capitan and later versions of Mac OS X require additional steps prior to installation due to security improvements.
Change to the devdocs
root directory and enter the following commands to install and run Jekyll:
# Install Bundler into /usr/local/bin directory instead of protected /usr/bin
$ sudo gem install bundler -n /usr/local/bin
To build this site using Jekyll:
# Install dependencies
$ bundle install
# Visit http://localhost:4000 in your favorite browser!
$ bin/jekyll serve
To simplify the process of building this site locally using Jekyll, we enable you to run a ready-made Vagrant container that has everything you need.
To use it, see the Vagrant README.
If you have questions, open an issue and ask us. We're looking forward to hearing from you!