Skip to content

Commit d318be4

Browse files
filipesilvahansl
authored andcommitted
docs: fix wiki paths in 1.x docs
1 parent 4385e15 commit d318be4

File tree

9 files changed

+64
-62
lines changed

9 files changed

+64
-62
lines changed

docs/documentation/1.x/_Sidebar.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

docs/documentation/1.x/generate.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66
`ng generate [name]` generates the specified blueprint
77

88
## Available blueprints:
9-
- [class](generate/class)
10-
- [component](generate/component)
11-
- [directive](generate/directive)
12-
- [enum](generate/enum)
13-
- [guard](generate/guard)
14-
- [interface](generate/interface)
15-
- [module](generate/module)
16-
- [pipe](generate/pipe)
17-
- [service](generate/service)
9+
- [class](1.x/generate/class)
10+
- [component](1.x/generate/component)
11+
- [directive](1.x/generate/directive)
12+
- [enum](1.x/generate/enum)
13+
- [guard](1.x/generate/guard)
14+
- [interface](1.x/generate/interface)
15+
- [module](1.x/generate/module)
16+
- [pipe](1.x/generate/pipe)
17+
- [service](1.x/generate/service)
1818

1919
## Options
2020
<details>

docs/documentation/1.x/home.md

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
# Angular CLI
44

5+
NOTE: this documentation is for Angular CLI 1.x. For Angular CLI 6 go [here](home) instead.
6+
57
### Overview
68
The Angular CLI is a tool to initialize, develop, scaffold and maintain [Angular](https://angular.io) applications
79

@@ -12,7 +14,7 @@ npm install -g @angular/cli
1214
```
1315

1416
Generating and serving an Angular project via a development server
15-
[Create](new) and [run](serve) a new project:
17+
[Create](1.x/new) and [run](1.x/serve) a new project:
1618
```
1719
ng new my-project
1820
cd my-project
@@ -43,22 +45,22 @@ Before running the tests make sure you are serving the app via `ng serve`.
4345
End-to-end tests are run via [Protractor](https://angular.github.io/protractor/).
4446

4547
### Additional Commands
46-
* [ng new](new)
47-
* [ng serve](serve)
48-
* [ng generate](generate)
49-
* [ng lint](lint)
50-
* [ng test](test)
51-
* [ng e2e](e2e)
52-
* [ng build](build)
53-
* [ng get/ng set](config)
54-
* [ng doc](doc)
55-
* [ng eject](eject)
56-
* [ng xi18n](xi18n)
57-
* [ng update](update)
48+
* [ng new](1.x/new)
49+
* [ng serve](1.x/serve)
50+
* [ng generate](1.x/generate)
51+
* [ng lint](1.x/lint)
52+
* [ng test](1.x/test)
53+
* [ng e2e](1.x/e2e)
54+
* [ng build](1.x/build)
55+
* [ng get/ng set](1.x/config)
56+
* [ng doc](1.x/doc)
57+
* [ng eject](1.x/eject)
58+
* [ng xi18n](1.x/xi18n)
59+
* [ng update](1.x/update)
5860

5961
## Angular CLI Config Schema
60-
* [Config Schema](angular-cli)
62+
* [Config Schema](1.x/angular-cli)
6163

6264
### Additional Information
63-
There are several [stories](stories) which will walk you through setting up
65+
There are several [stories](1.x/stories) which will walk you through setting up
6466
additional aspects of Angular applications.

docs/documentation/1.x/stories.md

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -2,33 +2,33 @@
22

33
# Stories describing how to do more with the CLI
44

5-
- [1.0 Update](stories/1.0-update)
6-
- [Asset Configuration](stories/asset-configuration)
7-
- [Autocompletion](stories/autocompletion)
8-
- [Configure Hot Module Replacement](stories/configure-hmr)
9-
- [CSS Preprocessors](stories/css-preprocessors)
10-
- [Global Lib](stories/global-lib)
11-
- [Global Scripts](stories/global-scripts)
12-
- [Global Styles](stories/global-styles)
13-
- [Angular Flex Layout](stories/include-angular-flex)
14-
- [Angular Material](stories/include-angular-material)
15-
- [AngularFire](stories/include-angularfire)
16-
- [Bootstrap](stories/include-bootstrap)
17-
- [Budgets](stories/budgets)
18-
- [Font Awesome](stories/include-font-awesome)
19-
- [Moving Into the CLI](stories/moving-into-the-cli)
20-
- [Moving Out of the CLI](stories/moving-out-of-the-cli)
21-
- [Proxy](stories/proxy)
22-
- [Routing](stories/routing)
23-
- [3rd Party Lib](stories/third-party-lib)
24-
- [Corporate Proxy](stories/using-corporate-proxy)
25-
- [Internationalization (i18n)](stories/internationalization)
26-
- [Serve from Disk](stories/disk-serve)
27-
- [Code Coverage](stories/code-coverage)
28-
- [Application Environments](stories/application-environments)
29-
- [Autoprefixer Configuration](stories/autoprefixer)
30-
- [Deploy to GitHub Pages](stories/github-pages)
31-
- [Linked Library](stories/linked-library)
32-
- [Multiple apps](stories/multiple-apps)
33-
- [Continuous Integration](stories/continuous-integration)
34-
- [Universal Rendering](stories/universal-rendering)
5+
- [1.0 Update](1.x/stories/1.0-update)
6+
- [Asset Configuration](1.x/stories/asset-configuration)
7+
- [Autocompletion](1.x/stories/autocompletion)
8+
- [Configure Hot Module Replacement](1.x/stories/configure-hmr)
9+
- [CSS Preprocessors](1.x/stories/css-preprocessors)
10+
- [Global Lib](1.x/stories/global-lib)
11+
- [Global Scripts](1.x/stories/global-scripts)
12+
- [Global Styles](1.x/stories/global-styles)
13+
- [Angular Flex Layout](1.x/stories/include-angular-flex)
14+
- [Angular Material](1.x/stories/include-angular-material)
15+
- [AngularFire](1.x/stories/include-angularfire)
16+
- [Bootstrap](1.x/stories/include-bootstrap)
17+
- [Budgets](1.x/stories/budgets)
18+
- [Font Awesome](1.x/stories/include-font-awesome)
19+
- [Moving Into the CLI](1.x/stories/moving-into-the-cli)
20+
- [Moving Out of the CLI](1.x/stories/moving-out-of-the-cli)
21+
- [Proxy](1.x/stories/proxy)
22+
- [Routing](1.x/stories/routing)
23+
- [3rd Party Lib](1.x/stories/third-party-lib)
24+
- [Corporate Proxy](1.x/stories/using-corporate-proxy)
25+
- [Internationalization (i18n)](1.x/stories/internationalization)
26+
- [Serve from Disk](1.x/stories/disk-serve)
27+
- [Code Coverage](1.x/stories/code-coverage)
28+
- [Application Environments](1.x/stories/application-environments)
29+
- [Autoprefixer Configuration](1.x/stories/autoprefixer)
30+
- [Deploy to GitHub Pages](1.x/stories/github-pages)
31+
- [Linked Library](1.x/stories/linked-library)
32+
- [Multiple apps](1.x/stories/multiple-apps)
33+
- [Continuous Integration](1.x/stories/continuous-integration)
34+
- [Universal Rendering](1.x/stories/universal-rendering)

docs/documentation/1.x/stories/1.0-update.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -382,10 +382,10 @@ Packages in `devDependencies`:
382382
- `tslint` was updated to `~4.5.0`
383383
- `typescript` was updated to `~2.1.0`
384384

385-
See the [karma](#karma.conf.js) and [protractor](#protractor.conf.js) sections below for more
385+
See the [karma](1.x/#karma.conf.js) and [protractor](1.x/#protractor.conf.js) sections below for more
386386
information on changed packages.
387387

388-
The [Linting rules](#Linting rules) section contains a list of rules that changed due to updates.
388+
The [Linting rules](1.x/#Linting rules) section contains a list of rules that changed due to updates.
389389

390390
We also updated the scripts section to make it more simple:
391391

@@ -466,7 +466,7 @@ const { SpecReporter } = require('jasmine-spec-reporter');
466466

467467
Remove `useAllAngular2AppRoots: true`.
468468

469-
Update `beforeLaunch` as described in [One tsconfig per app](#one-tsconfig-per-app):
469+
Update `beforeLaunch` as described in [One tsconfig per app](1.x/#one-tsconfig-per-app):
470470
```
471471
beforeLaunch: function() {
472472
require('ts-node').register({

docs/documentation/1.x/stories/internationalization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ When your app is ready, you can extract the strings to translate from your templ
1313
`ng xi18n` command.
1414

1515
By default it will create a file named `messages.xlf` in your `src` folder.
16-
You can use [parameters from the xi18n command](./xi18n) to change the format,
16+
You can use [parameters from the xi18n command](1.x/./xi18n) to change the format,
1717
the name, the location and the source locale of the extracted file.
1818

1919
For example to create a file in the `src/locale` folder you would use:

docs/documentation/1.x/stories/moving-out-of-the-cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Even if you need to use a different build system, you can still use other Angula
77
like `ng generate`, `ng lint`, `ng test` and `ng e2e` by leaving in `.angular-cli.json` and
88
supporting files like `src/test.ts`.
99

10-
Moving out of the CLI is very similar to [Moving into the CLI](moving-into-the-cli).
10+
Moving out of the CLI is very similar to [Moving into the CLI](1.x/moving-into-the-cli).
1111
You'll have to make a brand new project using your new project seed, move your app files and
1212
cater to any changes in the build process.
1313

docs/documentation/_Sidebar.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
* [Angular CLI](home)
22
* [Generate](generate)
33
* [Stories](stories)
4+
* [Angular CLI 1.x wiki](home)

docs/documentation/home.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
# Angular CLI
44

5+
NOTE: this documentation is for Angular CLI 6. For Angular CLI 1.x go [here](1.x/home) instead.
6+
57
### Overview
68
The Angular CLI is a tool to initialize, develop, scaffold and maintain [Angular](https://angular.io) applications
79

0 commit comments

Comments
 (0)