material-components / material-components-site-generator

Generator of Material Components documentation sites.
Apache License 2.0
79 stars 40 forks source link

Added support for multiple platforms. #11

Closed shyndman closed 7 years ago

shyndman commented 7 years ago

Introduces the ability to generate the site from multiple platform directories (ie. mdc repos). Each repo must have an .mdc-docsite.yaml configuration file, which provides platform-wide values that are decorated into Jekyll's page variable.

I introduced the JekyllConfiguration for creating a single merged configuration file (using Jekyll scopes).

Another new class, PlatformSite , hides away some of the ugliness of dealing with paths and the construction of JekyllFiles.