GH-Pages and adding examples #14
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello everyone,
Here are the changes made to the repository:
.gitignore
docs
folder from the git tree.quarto render
on the repo whenever the main branch gets a merge or PR. On merges to main branch, the built documents fromquarto render
are cached and published to thegh-pages
branch of the repo (see example).gh-pages
branch and notmain:/docs
.The above changes are to make the repo slimmer and only track source files. Untracking the docs directory will make collaboration a bit easier (and merging changes less painful) as the main
.qmd
files change.Before pulling locally, run
git rm --cached -r docs/ && git commit -m "pre-merge commit"
. This will remove the files from your git tree without deleting them.Additionally, @lhe2 has requested that example analysis files be added to the quarto book. I have added changes to
_quarto.yml
. Please have a look at my forked version get get an idea of how this would look like.We probably want to change the file locations so that the web address isn't so long.