Skip to content
This repository has been archived by the owner on Aug 19, 2018. It is now read-only.
/ material-docs Public archive

[Archived] This repo is the source code for unofficial material2 docs. 🎉

License

Notifications You must be signed in to change notification settings

EdricChan03/material-docs

Repository files navigation

This repo is now deprecated. Please use the official docs by the Angular Material team available at https://material.angular.io instead.

Material Docs

Welcome to material-docs (unofficial)! This is basically the same as Angular's https://material.angular.io, but with more examples along with app showcases (currently work in progress).

Development server

You can develop locally by following these steps (and make a pull request):

  1. Execute the following code in your Terminal:

    npm install # Install dependencies and install the latest version of @angular/flex-layout
    npm start # Serves the app

    For more info on what the serve command does, basically it will do a syntax highlight from the examples/ folder, similar to how Angular Material does it for their docs.

    For other commands, go to misc

  2. Navigate to localhost:4200 for the app. Done!

Contributing

As stated above (in Development server), you can contribute by:

  • Reporting issues
  • Submitting pull requests

And you may get a chance to contribute! 😄 🎉

Website

LICENSE

View the LICENSE (MIT)

(Did you know?) I thought of this idea when many people were confused over how to trobuleshoot common errors, especially on StackOverflow!

TODO

  • Get more contributors
  • Make docs simpler
  • Faster loading times on firebase
  • Add hash handling
  • Faster syntax highlighting
  • Watch example file and syntax highlight when there are changes

Misc

This section is for all commands listed in the package.json and what they do.

Commands

Command Description
npm start An alias of npm run serve.
npm run serve Highlights all example files, then serves the app.
npm run serveProd Similar to the serve command, but the environment is set to production mode.
npm run githubPages Deploys the app to Github Pages. (INTERNAL)
npm run githubPages2 Similar to the githubPages command, but highlights all example files. (INTERNAL)
npm run syntaxHighlight Does a highlight of all example files and will take ~1 minute to highlight.

Screenshots

Homepage

About

[Archived] This repo is the source code for unofficial material2 docs. 🎉

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published