custom-cards / custom-card-helpers

Custom Card Helper Functions/Types for Developers
https://custom-cards.github.io/custom-card-helpers/
MIT License
48 stars 29 forks source link

Docs Publishing Workflow #44

Closed JonahKr closed 3 years ago

JonahKr commented 3 years ago

Hey there 👋 @iantrich , In a past PR you talked about adding a workflow for the docs and the building. Here I added a workflow I use in a project of mine as well and it works without any problems. This makes developing with the library less tedious because the docs aren't shown as changes.

It works by using the reserved branch gh-pages and basically builds the docs within the workflow and pushes them into a seperate branch. In the github Settings you then have to change it to:


image

Let me know if you have some further questions! 👍

JonahKr commented 3 years ago

Also this closes half of #18