Skip to content

Commit

Permalink
Merge pull request #74 from Deltares/chore/update_to_310
Browse files Browse the repository at this point in the history
Chore/update to 310
  • Loading branch information
kdberends authored Mar 15, 2024
2 parents e9f817f + f24e72f commit 5555a85
Show file tree
Hide file tree
Showing 81 changed files with 2,680 additions and 21,511 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.7]
python-version: ["3.10"]
poetry-version: ["1.8.2"]
os: [windows-latest]
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -22,9 +23,9 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: Run image
uses: abatilo/actions-poetry@v2.0.0
uses: abatilo/actions-poetry@v2
with:
poetry-version: 1.1.8
poetry-version: ${{ matrix.poetry-version }}
- name: Cache Poetry virtualenv
uses: actions/cache@v1
id: cache
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,16 @@ jobs:
poetry config virtualenvs.path ~/.virtualenvs
- name: Install Dependencies
run: poetry install --extras docs
run: poetry install
if: steps.cache.outputs.cache-hit != 'true'

- name: Build docs
run: |
sudo apt-get install python3-sphinx
poetry run sphinx-build -b html ./docs/source ./docs/build
touch ./docs/build/.nojekyll
poetry run mkdocs build
touch ./documentation.nojekyll
- name: Deploy
uses: JamesIves/github-pages-deploy-action@4.1.7
with:
branch: gh-pages # The branch the action should deploy to.
folder: ./docs/build # The folder the action should deploy.
folder: ./documentation # The folder the action should deploy.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@
/docs/source/output/**
/docs/build
/dist
/build
/build
/documentation
Empty file removed .nojekyll
Empty file.
23 changes: 0 additions & 23 deletions docs/Makefile

This file was deleted.

3 changes: 3 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# FM2PROF

A Python package to construct cross-sections and roughness field for 1D SOBEK models from D-Hydro 2D models.
38 changes: 0 additions & 38 deletions docs/make.bat

This file was deleted.

1 change: 0 additions & 1 deletion docs/source/_static/Deltares_logo_Wit_RGB.svg

This file was deleted.

115 changes: 0 additions & 115 deletions docs/source/_static/FM2PROF.py

This file was deleted.

22 changes: 0 additions & 22 deletions docs/source/_static/custom.css

This file was deleted.

Binary file removed docs/source/_static/favicon.ico
Binary file not shown.
4 changes: 0 additions & 4 deletions docs/source/_static/stylesheets/extra.css

This file was deleted.

10 changes: 0 additions & 10 deletions docs/source/_templates/autosummary/attribute.rst

This file was deleted.

33 changes: 0 additions & 33 deletions docs/source/_templates/autosummary/class.rst

This file was deleted.

11 changes: 0 additions & 11 deletions docs/source/_templates/autosummary/member.rst

This file was deleted.

10 changes: 0 additions & 10 deletions docs/source/_templates/autosummary/method.rst

This file was deleted.

8 changes: 0 additions & 8 deletions docs/source/_templates/autosummary/minimal_module.rst

This file was deleted.

47 changes: 0 additions & 47 deletions docs/source/_templates/index.html

This file was deleted.

1 change: 0 additions & 1 deletion docs/source/_templates/material-design-build-icon.svg

This file was deleted.

Loading

0 comments on commit 5555a85

Please sign in to comment.