jleyba / js-dossier

A JavaScript documentation generation tool.
Apache License 2.0
149 stars 15 forks source link

Use local or externally hosted Material icons #88

Open schmidtk opened 7 years ago

schmidtk commented 7 years ago

js-dossier uses hard-coded URL's to request Material icons and associated CSS from fonts.googleapis.com. This causes documentation to display poorly when viewed offline, or when hosted on an isolated network.

It would be helpful if the Material icon fonts/css could be included in the compiled documentation, or if a URL could be provided for icons hosted outside the Google CDN.

Documentation for self-hosting Material icons can be found here: http://google.github.io/material-design-icons/#setup-method-2-self-hosting