Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit 0bae5fc

Browse files
author
Jacob Müller
committed
Merge branch 'pr/2' into fix-styleguide-trigger-positioning
2 parents 18dba19 + 9a338b6 commit 0bae5fc

File tree

1,088 files changed

+21926
-19405
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,088 files changed

+21926
-19405
lines changed

.eslintrc.js

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
module.exports = {
2+
"globals": {
3+
"describe": true,
4+
"beforeEach": true,
5+
"it": true,
6+
"expect": true
7+
},
8+
"env": {
9+
"node": true
10+
},
11+
"extends": "eslint:recommended",
12+
"rules": {
13+
"indent": [
14+
"error",
15+
2
16+
],
17+
"linebreak-style": [
18+
"error",
19+
"unix"
20+
],
21+
"quotes": [
22+
"error",
23+
"single"
24+
],
25+
"semi": [
26+
"error",
27+
"always"
28+
]
29+
}
30+
};

.firebaserc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"projects": {
3+
"live": "angular-io",
4+
"ngdocsdev": "ngdocsdev"
5+
}
6+
}

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,12 @@ _.*
2121
**/resources/zips
2222
public/docs/xref-*.*
2323
_zip-output
24-
www
24+
www*
2525
npm-debug*.log*
2626
*.plnkr.html
2727
plnkr.html
28+
*.eplnkr.html
29+
eplnkr.html
2830
*plnkr.no-link.html
2931
public/docs/*/latest/guide/cheatsheet.json
3032
protractor-results.txt

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5
1+
6

.travis.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,28 @@ dist: trusty
22
sudo: required
33
language: node_js
44
node_js:
5-
- "5"
5+
- "6"
66
os:
77
- linux
88
env:
99
global:
1010
- DBUS_SESSION_BUS_ADDRESS=/dev/null
1111
- DISPLAY=:99.0
1212
- CHROME_BIN=chromium-browser
13-
- LATEST_RELEASE=2.0.0-rc.4
13+
# using SHA instead of version to fix build-compile issue
14+
- LATEST_RELEASE=cfc12c653970c9ad6d807a6a8ebff58edbc568a0
1415
- TASK_FLAGS="--dgeni-log=warn"
15-
# - TASK_FLAGS=""
1616
matrix:
1717
- TASK=lint
1818
- TASK="run-e2e-tests --fast" SCRIPT=examples-install.sh
1919
- TASK="run-e2e-tests --fast" SCRIPT=examples-install-preview.sh
20-
- TASK=build-compile SCRIPT=deploy-install.sh WAIT="travis_wait 50"
21-
- TASK=build-compile SCRIPT=deploy-install-preview.sh WAIT="travis_wait 50"
20+
- TASK=build-compile SCRIPT=deploy-install.sh WAIT="travis_wait 50" POST_SCRIPT="check-docs.sh -v"
21+
- TASK=build-compile SCRIPT=deploy-install-preview.sh WAIT="travis_wait 50" POST_SCRIPT="check-docs.sh -v"
2222
matrix:
2323
fast_finish: true
2424
allow_failures:
2525
- env: TASK="run-e2e-tests --fast" SCRIPT=examples-install-preview.sh
26-
- env: TASK=build-compile SCRIPT=deploy-install-preview.sh WAIT="travis_wait 50"
26+
- env: TASK=build-compile SCRIPT=deploy-install-preview.sh WAIT="travis_wait 50" POST_SCRIPT="check-docs.sh -v"
2727
before_install:
2828
- source ./scripts/env-set.sh
2929
- ./scripts/before-install.sh
@@ -34,3 +34,4 @@ before_script:
3434
- sh -e /etc/init.d/xvfb start
3535
script:
3636
- $WAIT gulp $TASK $TASK_FLAGS
37+
- if [[ -n "$POST_SCRIPT" ]]; then ./scripts/$POST_SCRIPT; fi

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Angular.io
22
[![Build Status][travis-badge]][travis-badge-url]
33

4-
Angular.io is site for Angular 2 **documentation** .
4+
Angular.io is site for Angular **documentation** .
55

66
This site also includes links to other helpful angular resources including
77
Angular 2, Angular 1, Angular Material, and AngularFire.
@@ -21,16 +21,18 @@ Filing issues is helpful but **pull requests** that improve the docs are even be
2121

2222
Learn how to [contribute to Angular.io](https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md).
2323

24+
> **IMPORTANT**: Do _NOT_ make changes to cached files under `public/docs/ts/_cache`. Cached files are updated through a separate workflow.
25+
2426
## Development Setup
2527
This site relies heavily on node and npm.
2628

2729
1. Make sure you are using at least node v.5+ and latest npm;
2830
if not install [nvm](https://github.com/creationix/nvm) to get node going on your machine.
2931

30-
1. install these npm packages *globally*: `npm install -g harp gulp`
32+
1. Install these npm packages *globally*: `npm install -g harp gulp`
3133

32-
1. clone this repo and the [angular source code repo](https://github.com/angular/angular) to the same parent directory.
33-
The two cloned repo directories must be sibling.
34+
1. Clone this repo, the [angular/angular source code repo](https://github.com/angular/angular), and the [dart-lang/angular2 source code repo](https://github.com/dart-lang/angular2) to the same parent directory.
35+
The three cloned repo directories must be siblings, with the latter two repo directories named **angular** and **angular-dart**, respectively.
3436

3537
1. cd into root directory `angular.io/`
3638

@@ -71,11 +73,11 @@ If you are only going to work on a specific part of the docs, such as the dev gu
7173
## Code Sample Development
7274

7375
All documentation is supported by sample code and plunkers.
74-
Such code resides in the `public/docs/_examples` directory, under chapter-specific directories, further divided by language track.
76+
Such code resides in the `public/docs/_examples` directory, under page-specific directories, further divided by language track.
7577

7678
For example, the TypeScript QuickStart sample is in `public/docs/_examples/quickstart/ts`.
7779

78-
All samples are in a consistent directory structure using the same styles and the same npm packages, including the latest release of Angular 2.
80+
All samples are in a consistent directory structure using the same styles and the same npm packages, including the latest release of Angular.
7981
This consistency is possible in part thanks to gulp-driven tooling.
8082
To run the samples locally and confirm that they work properly,
8183
take the following extra steps to prepare the environment:

0 commit comments

Comments
 (0)