Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
container: ghcr.io/oggm/oggm:latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Fix Git-Protection
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Install Dependencies
Expand All @@ -27,7 +27,7 @@ jobs:
run: |
jupyter-book build .
- name: Upload Build Artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: build-output
path: _build/
Expand Down
12 changes: 8 additions & 4 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,28 @@
#######################################################################################
# A default configuration that will be loaded for all jupyter books
# See the documentation for help and more options:
# See the documentation for help and more options:
# https://jupyterbook.org/customize/config.html

#######################################################################################
# Book settings
title: OGGM-Edu notebooks # The title of the book. Will be placed in the left navbar.
author: OGGM e.V. and OGGM Contributors # The author of the book
copyright: "2014-2021" # Copyright year to be placed in the footer
copyright: "2014-2025" # Copyright year to be placed in the footer
logo: img/logo.png # A path to the book logo
repository:
url: https://github.com/OGGM/oggm-edu-notebooks
path_to_book: .
path_to_book: .
branch: master
launch_buttons:
notebook_interface: "jupyterlab"
binderhub_url: "https://mybinder.org"
jupyterhub_url: "https://classroom.oggm.org"
html:
extra_css:
- _static/custom.css
use_repository_button: true
use_issues_button: true
use_edit_page_button: true
google_analytics_id: UA-106829797-2
extra_footer: |
<p>
These notebooks are licensed under a <a href="https://github.com/OGGM/tutorials/blob/master/LICENSE.txt" target="_blank">BSD-3-Clause license</a>.
Expand All @@ -31,7 +32,10 @@ html:
sphinx:
config:
html_show_copyright: false
html_last_updated_fmt: '%b %d, %Y'
nb_merge_streams: true
html_js_files:
- ['https://plausible.oggm.org/js/script.js', {'defer': 'defer', 'data-domain': 'edu.oggm.org'}]
execute:
execute_notebooks: auto
timeout: -1
Expand Down
6 changes: 6 additions & 0 deletions _static/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
html {
--pst-font-size-h1: 2.2em; /* Default: 2.625 */
--pst-font-size-h2: 1.7em; /* Default: 2.125 */
--pst-font-size-h3: 1.3em; /* Default: 1.75 */
--pst-font-size-h4: 1.0em; /* Default: ? */
}
6 changes: 3 additions & 3 deletions img/build_info.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "c5fb7d5b-688d-4102-817a-0f5b1e751c64",
"id": "0",
"metadata": {},
"source": [
"# Build information & package versions"
Expand All @@ -11,7 +11,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "1ebc35f3-6446-4d5b-972b-589130c009d1",
"id": "1",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -22,7 +22,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "39094c00-8ea2-4592-9f45-cc2627759612",
"id": "2",
"metadata": {},
"outputs": [],
"source": [
Expand Down
2 changes: 1 addition & 1 deletion oggm-edu/edu_intro.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.4"
"version": "3.12.4"
},
"toc": {
"base_numbering": 1,
Expand Down
2 changes: 1 addition & 1 deletion oggm-edu/glacier_water_resources.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.11"
"version": "3.12.4"
},
"toc": {
"base_numbering": 1,
Expand Down
Loading