This is the repository for the Angular Components documentation site.
Versions of this site are also available for
Please open bugs against the Angular Material and CDK components, directives, documentation contents, API docs, and demos in the Angular Components repo.
Please only open issues with the documentation site itself (not the content) in this repo. This includes issues like the navigation not working properly, examples or documentation not being presented in an accessible way, issues with rendering or layout of the documentation pages, etc.
The guides, examples, and docs content repo angular/material2-docs-content contains the documentation content and examples. They are generated from:
- Angular Material and CDK Guides
- Material components, services, and directives
- CDK components, services, and directives
- Make sure you have NodeJS LTS installed
- Make sure you have Yarn installed
- Install the project's dependencies
yarn install
- Update to the latest version of the docs-content and examples
yarn build:content
- Run
yarn start
for a dev server. Navigate tohttp://localhost:4200/
.
Run yarn prod-build
to build the project.
- Run
yarn test
to execute the unit tests via Karma.
Run yarn e2e
to execute the end-to-end tests via Protractor.
Before running the tests make sure you are serving the app via yarn start
.
> yarn install
> yarn upgrade @angular/components-examples
# Development
> yarn publish-dev
# Production
> yarn publish-prod