Skip to content

Commit

Permalink
Merge pull request #731 from DHI/quartodoc
Browse files Browse the repository at this point in the history
Updated quartodoc version
  • Loading branch information
ecomodeller authored Oct 11, 2024
2 parents 498ba26 + 3cc2acd commit eff5d2d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.11
python-version: 3.12

- name: Install dependencies
run: |
Expand All @@ -23,12 +23,14 @@ jobs:
run: |
pip install .[dev]
- name: Build documentation
run: |
make docs
- name: Generate API docs
run: cd docs;quartodoc build

- name: Publish to GitHub Pages
uses: peaceiris/[email protected]
- name: Render and Publish
uses: quarto-dev/quarto-actions/publish@v2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_site/
target: gh-pages
path: docs/
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ classifiers = [
[project.optional-dependencies]
dev = ["pytest",
"quarto-cli",
"quartodoc==0.7.6",
"quartodoc==0.8.0",
"shapely",
"pyproj",
"xarray",
Expand Down

0 comments on commit eff5d2d

Please sign in to comment.