Skip to content

Files

Latest commit

eacca5e · Sep 25, 2015

History

History
This branch is 2165 commits behind angular/material:master.

docs

Documentation

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, the wonderful documentation generator built by Pete Bacon Darwin.

To view the Live Docs (locally):

  1. Install the dependencies using npm install
  2. Install the dependencies using bower install
  3. Build the docs using gulp docs
  4. Run gulp watch to auto-rebuild docs (optional)
  5. Start an HTTP Server; the example below uses port 8080
  6. Open browser at http://localhost:8080
# Build & deploy docs to `dist/docs`
gulp docs

# Watch source dirs for changes and rebuild
gulp watch

# Use the built-in gulp server with live reload
gulp server

# Alternatively, install httpster globally; if not already installed
npm install -g httpster

# And then launch the webserver
# NOTE: unlike `gulp server` this will not auto-reload the HTML
httpster -p 8080 -d ./dist/docs