Closed oneilsh closed 2 years ago
done! the docs/ output folder from building (and a few other intermediary build products) are ignored in the .gitignore, and the .github folder now contains a github action that compiles the book and sends it to the gh-pages branch for display on github pages.
still recommend previewing locally, but now it should be much cleaner to manage without the compiled docs/ folder changing heavily after each build, and it's still available via gh-pages :)
Having troubles merging branches esp. the auto-generated docs directory. Probably the best thing to do would be to add it to .gitignore so it's not part of the repo at all, and instead use a gh-pages branch just to host the compiled version outside version control, ideally using something automated like https://medium.com/@delucmat/how-to-publish-bookdown-projects-with-github-actions-on-github-pages-6e6aecc7331e