-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building doc pages to separate branch #31
Conversation
The remaining conflicts come exactly from documentation files, so I would think that it makes sense to just use the changes from the incoming branch. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM :-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like a good idea!
I will try using this soon to add something.
Description
This PR introduces a github action which automatically builds documentation files into a separate branch (
gh-pages
) and adds all doc files (.html and .doctree) to the list of ignored files. Hence, the long list of deleted files further down. Doing it this way has the big advantage that we will not have to meddle with comparing doc files in future pull requests.I tested it on a separate fork and it works. The new workflow for PR requests would thus be:
main
.gh-pages
, which serves as source page for biapol.github.io/biapol-utilitiesI pointed to this workflow in the changed PR template and in the
Contribute
section on the homepage..Let me know what you think :)
Type of change
References
Fixes #29
Tests
Final checks