diff --git a/docs/content/misc/contribute.ngdoc b/docs/content/misc/contribute.ngdoc index dd0a75f38983..84081e8ba9fc 100644 --- a/docs/content/misc/contribute.ngdoc +++ b/docs/content/misc/contribute.ngdoc @@ -60,26 +60,35 @@ Afterwards, go ahead and [fork](http://help.github.com/forking) the [main Angula To build AngularJS, you clone the source code repository and use Grunt to generate the non-minified and minified AngularJS files: -```shell -# Clone your Github repository: -git clone git@github.com:/angular.js.git - -# Go to the AngularJS directory: -cd angular.js +1. Clone your Github repository: + ``` + git clone git@github.com:/angular.js.git + ``` -# Add the main AngularJS repository as an upstream remote to your repository: -git remote add upstream https://github.com/angular/angular.js.git +2. Go to the AngularJS directory: + ```shell + cd angular.js + ``` -# Install node.js dependencies: -npm install +3. Add the main AngularJS repository as an upstream remote to your repository: + ``` + git remote add upstream https://github.com/angular/angular.js.git + ``` -# Install bower components: -bower install +4. Install node.js dependencies: + ```shell + npm install + ``` -# Build AngularJS: -grunt package -``` +5. Install bower components: + ```shell + bower install + ``` +6. Build AngularJS: + ```shell + grunt package + ```
**Note:** If you're using Windows, you must use an elevated command prompt (right click, run as