build(aio): add version into navigation.json

The navigation.json is now passed through the dgeni pipeline.
The source file has been moved to `aio/content/navigation.json`
but the generated file will now appear where the original source file
was found, `aio/src/content/navigation.json`.

Everything inside `aio/src/content` is now generated and ignored by git.

The `processNavigationMap` processor in this commit adds the current version
information to the navigation.json file and verifies the relative urls in
the file map to real documents.

The navigationService exposes the versionInfo as an observable, which the
AppComponent renders at the top of the sidenav.
This commit is contained in:
Peter Bacon Darwin
2017-03-20 22:23:20 +00:00
committed by Miško Hevery
parent a0c6d44e18
commit 4e10faf1eb
10 changed files with 172 additions and 16 deletions

View File

@ -162,3 +162,7 @@
.level-1:not(.expanded) .material-icons, .level-2:not(.expanded) .material-icons {
@include rotate(0deg);
}
.version-info {
border: 3px $blue solid;
}