Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Förster committed Sep 18, 2024
0 parents commit 6a8ac5e
Show file tree
Hide file tree
Showing 95 changed files with 3,564 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/build-jupyter-book.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Build Jupyter Book

# Trigger this action on push to the main branch
on:
push:
branches:
- main

jobs:
build-jupyter-book:
runs-on: ubuntu-latest

steps:
# Checkout the repository
- name: Checkout repository
uses: actions/checkout@v3

# Set up Python
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: '3.11'

# Install Jupyter Book and dependencies
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install jupyter-book
# Build the Jupyter Book
- name: Build Jupyter Book
run: |
jupyter-book build --all docs
# Upload the build folder as an artifact
- name: Upload build folder as artifact
uses: actions/upload-artifact@v3
with:
name: eric-documentation
path: ./docs/_build/html # Adjust the path if your output folder is different

3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
venv
_build
.ipynb_checkpoints
661 changes: 661 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

21 changes: 21 additions & 0 deletions ReadMe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# ERIC Documentation

This repository contains the documentation for ERIC/internal and ERIC/open.
It utilizes Jupyterbook to generate HTML from `.md` and `.ipynb` files.

Follow this [Guide](https://jupyterbook.org/en/stable/start/overview.html) on how to set up your python environment.

To build run:
```bash
jupyter-book build --all docs/
```

## Nice to know
With this command you can generate gifs from all png files in folder:
```bash
convert -delay 150 -loop 0 *.png output.gif
```

## Known issues
You might need to copy videos (`.mp4`) to the build directory manually.

34 changes: 34 additions & 0 deletions docs/_config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Book settings
# Learn more at https://jupyterbook.org/customize/config.html

title: ERIC Documentation
author: Christian Foerster - rdm@eawag.ch
logo: _static/images/light_logo.png
copyright: "2024"

# Force re-execution of notebooks on each build.
# See https://jupyterbook.org/content/execute.html
execute:
execute_notebooks: force

# Information about where the book exists on the web
repository:
url: https://github.com/eawag-rdm/eric-documentation # Online location of your book
branch: main # Which branch of the repository should be used when creating links (optional)

# Add GitHub buttons to your book
# See https://jupyterbook.org/customize/config.html#add-a-link-to-your-repository
html:
favicon: _static/images/favicon-96x96.png
home_page_in_navbar: false
use_edit_page_button: true
use_issues_button: true
use_repository_button: true

sphinx:
config:
html_theme_options:
logo:
image_light: _static/images/light_logo.png
image_dark: _static/images/dark_logo.png

Binary file added docs/_static/images/about_tab.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/images/add_data_button.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/images/add_package_button.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/images/add_readme.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/images/add_resources.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/images/add_resources_later.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/images/dark_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/images/dummy_address.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/images/edit_resources.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/images/enter_edit.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/images/eric-internal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/images/eric-open.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/images/eric-rights-management.mp4
Binary file not shown.
Binary file added docs/_static/images/favicon-96x96.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/images/file_upload_button.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/images/get_data_ready.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/images/info_circle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/images/light_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/images/link-button.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/images/logo_internal.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/images/logo_open.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/images/organizations_button.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/images/packages_button.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/images/research_group.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/images/resource_fields.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/images/scroll_package_creation.gif
Binary file added docs/_static/images/spatial-extend-linestring.png
Binary file added docs/_static/images/spatial-extend-multipoint.png
Binary file added docs/_static/images/spatial-extend-point.png
Binary file added docs/_static/images/spatial-extend-polygon.png
Binary file added docs/_static/images/tobias.png
Binary file added docs/_static/screenshots/add_data/1_add_data.png
Binary file added docs/_static/screenshots/add_readme/7-done.png
15 changes: 15 additions & 0 deletions docs/_toc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Table of contents
# Learn more at https://jupyterbook.org/customize/toc.html

format: jb-book
root: intro
options:
maxdepth: 3
chapters:
- file: overview
- file: quickstart
- file: publish-a-data-package
- file: archiving-guide
- file: examples
- file: automation
- file: faq
Loading

0 comments on commit 6a8ac5e

Please sign in to comment.