I have compiled the newest angularjs material and find out that links in the doc all point to absolute URL material.angularjs.org/.... I want to be able to read the doc and demo content locally.
You can generate the offline documentation by following the below steps:
npm install --global gulp-cli
Clone the angular-material repository:
git clone https://github.com/angular/material.git
Build the repository:
Build the docs:
gulp watch site --dev
Currently the documentation building task is failing. I have submitted a issue here. Follow this to see what workaround or update they provide.
As per the response here, you'll need to install
node v6.10.3 and
npm 3.10.10 for building the docs locally. Install these specific versions and follow the above steps.