-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d5d6c0f
commit f139a5b
Showing
4 changed files
with
128 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
name: Deploy documentation | ||
|
||
on: | ||
# Runs on pushes targeting the default branch | ||
push: | ||
branches: ["main"] | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | ||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
# Allow one concurrent deployment | ||
concurrency: | ||
group: "pages" | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
deploy: | ||
name: docs | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Install miniconda | ||
uses: conda-incubator/setup-miniconda@v3 | ||
with: | ||
miniconda-version: "latest" | ||
auto-update-conda: true | ||
python-version: "3.12" | ||
|
||
- name: Initialize conda environment | ||
run: make conda-create | ||
|
||
- name: Setup conda | ||
run: make conda-setup | ||
|
||
- name: Install conda dependencies | ||
run: make from-conda-lock | ||
|
||
- name: Install docs dependenices | ||
run: make install | ||
|
||
- name: Build documentation | ||
run: make docs | ||
|
||
- name: Setup Pages | ||
uses: actions/configure-pages@v5 | ||
|
||
- name: Upload artifact | ||
uses: actions/upload-pages-artifact@v3 | ||
with: | ||
path: 'public/' | ||
|
||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v4 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,58 @@ | ||
<h1 align="center">Biophysics</h1> | ||
# Biophysics - Breadcrumbs | ||
|
||
TODO: | ||
|
||
## What is Breadcrumbs? | ||
|
||
Education stands as a pivotal force in socioeconomic mobility. | ||
Yet, generational barriers outside of an individual's influence hinder a person's access to educational opportunities. | ||
Breadcrumbs represents [OASCI's](https://www.oasci.org/) initiative to fundamentally transform access to educational materials, embodying the spirit of discovery and the sharing of knowledge fragments that have traditionally been accessible only through the goodwill of others. | ||
Breadcrumb websites are freely accessible resources, and we encourage contributions, improvements, and adaptations so long as they abide by the terms outlined in the [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/) license. | ||
|
||
## Deploying | ||
|
||
We use [bump-my-version](https://github.com/callowayproject/bump-my-version) to release a new version. | ||
This will create a git tag that is used by [poetry-dynamic-version](https://github.com/mtkennerly/poetry-dynamic-versioning) to generate version strings. | ||
|
||
However, we are using [Calendar Versioning](https://calver.org/), meaning we need to specify new versions manually. | ||
For example, to bump the version to November 8, 2024, you would run the following command after activating the relevant conda environment. | ||
|
||
```bash | ||
bump-my-version bump --new-version 2024.11.8 | ||
``` | ||
|
||
After releasing a new version, you must push and include all tags. | ||
|
||
```bash | ||
git push --follow-tags | ||
``` | ||
|
||
## License | ||
|
||
Code contained in this project is released under the [MIT License](https://spdx.org/licenses/MIT.html) as specified in [`LICENSE_CODE`](https://github.com/oasci-bc/biophys/blob/main/LICENSE_CODE.md). | ||
This license grants you the freedom to use, modify, and distribute it as long as you include the original copyright notice contained in [`LICENSE_CODE`](https://github.com/oasci-bc/biophys/blob/main/LICENSE_CODE.md) and the following notice. | ||
|
||
> Portions of this code were incorporated with permission from [CADD Breadcrumbs](https://github.com/oasci-bc/biophys) by OASCI licensed under the [MIT license](https://github.com/oasci-bc/biophys/blob/main/LICENSE_CODE.md). | ||
All other data, information, documentation, and associated content provided within this project are released under the [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0)](https://creativecommons.org/licenses/by-nc-sa/4.0/) as specified in [`LICENSE_INFO`](https://github.com/oasci-bc/biophys/blob/main/LICENSE_INFO.md). | ||
|
||
> Some content was incorporated with permission from [CADD Breadcrumbs](https://github.com/oasci-bc/biophys) by OASCI licensed under the [CC BY-NC-SA 4.0 license](https://creativecommons.org/licenses/by-nc-sa/4.0/) | ||
## Web analytics | ||
|
||
Why would we want to track website traffic? | ||
|
||
An instructor can gain insights into how students engage with online teaching materials by analyzing web analytics. | ||
This information is instrumental in assessing the effectiveness of the materials. | ||
Web analytics reveal the popularity of specific topics or sections among students, empowering instructors to tailor future lectures or discussions. | ||
Analytics also provides valuable data for curriculum development, helping instructors identify trends, strengths, and weaknesses in course materials. | ||
Additionally, instructors may leverage web analytics as evidence of their commitment to continuous improvement in teaching methods, which is helpful in discussions related to professional development, promotions, or tenure. | ||
|
||
We track website traffic using [plausible][plausible], which is privacy-friendly, uses no cookies, and is compliant with [GDPR][gdpr], [CCPA][ccpa], and [PECR][pecr]. | ||
We also share [this website's analytics with you][plausible-link] for additional transparency. | ||
|
||
[plausible]: https://plausible.io | ||
[plausible-link]: https://plausible.io/biophys.crumblearn.org/ | ||
[gdpr]: https://gdpr-info.eu/ | ||
[ccpa]: https://oag.ca.gov/privacy/ccpa | ||
[pecr]: https://ico.org.uk/for-organisations/direct-marketing-and-privacy-and-electronic-communications/guide-to-pecr/what-are-pecr/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters