Skip to content
This repository was archived by the owner on Mar 4, 2020. It is now read-only.

fix(Provider): not rendering fonts#227

Merged
levithomason merged 1 commit intomasterfrom
fix/public
Sep 14, 2018
Merged

fix(Provider): not rendering fonts#227
levithomason merged 1 commit intomasterfrom
fix/public

Conversation

@levithomason
Copy link
Member

@levithomason levithomason commented Sep 14, 2018

Currently, font faces are not being applied correctly in the docs. This turned out to be due to both our doc build and a Provider bug.

package.json Outdated
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to copy docs/src/public to docs/dist on build. Otherwise, the font files are not included.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fonts were also not being rendered because path was being used here instead of paths. Added typings to ensure it doesn't happen again.

Copy link
Member Author

@levithomason levithomason Sep 14, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated freebie. The initial component example from a generated component had no content. Added some here so something shows up in the docs.

@levithomason levithomason changed the title fix: missing fonts and public files fix(Provider): not rendering fonts Sep 14, 2018
@levithomason levithomason merged commit 6b3c172 into master Sep 14, 2018
@levithomason levithomason deleted the fix/public branch September 14, 2018 05:25
@levithomason
Copy link
Member Author

This is blocking other work... merging

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant