UNIQUE Documentation Deployment to GitHub Pages #3
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.
UNIQUE Documentation Deployment to GitHub Pages
This PR adds a GitHub Actions workflow to deploy the (HTML) documentation to GitHub Pages. The target domain will be the default provided by GitHub - username.github.io/repository (i.e., novartis.github.io/unique). At a later point in time, it will be possible to move the documentation to a custom domain (see the docs).
Major Changes
docs.yml
with GitHub Actions workflow to build and deploy documentation to GitHub Pages.Minor Changes
conda
instead ofmamba
in both documentation and in theMakefile
. As ofconda
> 23.10,libmamba
is the default solver, removing the need to specifically installmamba
to use it. Reverting toconda
to make it more user-friendly/accessible.To Do
actions/cache
action for Jupyter notebook execution caching.Currently, documentation build takes ~25 minutes due to having to execute the example notebooks. However, the
jupyter-cache
add-in inmyst-nb
allows to cache and reuse the execution outputs if the notebooks have not been modified since the last build.Caching and restoring the execution outputs using the
actions/cache
action creates a situation whereby themake docs
command does not run and saysmake: 'docs' is up to date.
Being able to cache and reuse the execution outputs can speed up documentation build if notebooks are untouched by current changes. Not critical, but nice to have.