Waterhackweek, https://waterhackweek.github.io. The Waterhackweek Learning Resources site is accessible at https://waterhackweek.github.io/learning-resources
For Waterhackweek information contact Dr. Christina Bandaragoda.
This documentation is built and deployed using MkDocs, and uses the markdown extension admonition and the markdown plugin markdownextradata. The organization of pages on this site is specified in the mkdocs.yml
file, together with other site configurations.
- Install
mkdocs
and the markdown plugin fromconda-forge
:conda install -c conda-forge mkdocs mkdocs-markdownextradata-plugin
- To develop locally, activate the conda environment then run
mkdocs serve
to view and evaluate your edits on your browser - To publish your edits to the GitHub repository, please use the Git Forking workflow:
- Fork this repository
- Clone your fork:
git clone https://github.com/mygithubname/learning-resources.git
- Add the "upstream" (main) GitHub repository as a git remote called "upstream":
git remote add upstream https://github.com/waterhackweek/learning-resources.git
- Make your edits locally to the markdown documents, then push your changes to your GitHub fork ("origin"):
git push origin mylocalbranchname
- Submit a Pull Request (PR) from your GitHub fork to the
master
branch of the main repository (the master branch will be selected by default)
- Your proposed changes will be reviewed by Emilio Mayorga or another person before merging into the
master
branch or asking you via GitHub discussions for clarifications or changes. Once the PR is merged, the web pages will be generated automatically and updated on thegh-pages
branch. It typically takes a couple of minutes after merginng the PR before the updates are published and visible.
Note: You'll find most MkDocs
instructions pointing to the use of the command mkdocs gh-deploy
to publish your local edits to the GitHub repository (more specifically, to the gh-pages
branch). Please ignore those instructions and follow the Git Forking workflow instructions listed above.