This repository has been archived by the owner on Sep 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(guides): several fixes (links, typos, syntax, line lengths)
- Loading branch information
Showing
7 changed files
with
259 additions
and
176 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,33 @@ | ||
Documentation | ||
------------- | ||
|
||
The Angular Material **Live Docs** are generated from the source code and demos; and, in fact, the Live Docs actually uses the Angular Material components and themes. | ||
The Angular Material **Live Docs** are generated from the source code and demos; and, in fact, the | ||
Live Docs actually use the Angular Material components and themes. | ||
|
||
> Our build process uses **[dgeni](http://github.com/angular/dgeni)**, the wonderful documentation generator built by [Pete Bacon Darwin](https://github.com/petebacondarwin). | ||
> Our build process uses **[dgeni](https://github.com/angular/dgeni)**, the wonderful documentation | ||
generator built by [Pete Bacon Darwin](https://github.com/petebacondarwin). | ||
|
||
To view the Live Docs (locally): | ||
|
||
1. Build the docs using `gulp docs` | ||
2. Start an HTTP Server; the example below uses port 8000. | ||
3. Run `gulp watch` to auto-rebuild docs (Optional) | ||
4. Open browser at `http://localhost:8000` | ||
2. Run `gulp watch` to auto-rebuild docs (optional) | ||
3. Start an HTTP Server; the example below uses port 8080 | ||
4. Open browser at `http://localhost:8080` | ||
|
||
```bash | ||
# Build & deploy docs to `dist/docs` | ||
# Watch source dirs for changes and rebuild | ||
|
||
gulp docs | ||
|
||
# Watch source dirs for changes and rebuild | ||
gulp watch | ||
|
||
# Use the built-in gulp server with live reload | ||
# or install httpster globally; if not already isntalled | ||
# `npm install -g httpster` | ||
|
||
gulp server | ||
|
||
# And then launch webserver | ||
# NOTE: unlike `gulp server` this will not auto-reload the HTML | ||
# Alternatively, install httpster globally; if not already installed | ||
npm install -g httpster | ||
|
||
httpster -p 8000 -d ./dist/docs | ||
# And then launch the webserver | ||
# NOTE: unlike `gulp server` this will not auto-reload the HTML | ||
httpster -p 8080 -d ./dist/docs | ||
``` | ||
|
||
|
Oops, something went wrong.