Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
21 changes: 11 additions & 10 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,21 +78,22 @@ jobs:
run: ./scripts/test

docs:
if: matrix.python-version != "3.11"
name: docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- name: Setup Conda Environment
uses: conda-incubator/[email protected]
with:
python-version: 3.9
cache: "pip"
cache-dependency-path: "requirements-docs.txt"
- name: Install pandoc
run: sudo apt-get update && sudo apt-get -y install pandoc
- name: Install docs requirements
run: pip install -r requirements-docs.txt
- name: Install pystac_client
run: pip install .
miniforge-variant: Mambaforge
miniforge-version: latest
use-mamba: true
python-version: ${{ matrix.python-version }}
channel-priority: strict
environment-file: ./docs/environment.yml
activate-environment: pystac-client-docs
auto-activate-base: false
- name: Build docs
run: ./scripts/build-docs

Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
)
}

nbsphinx_allow_errors = True
nbsphinx_allow_errors = False

# Add any paths that contain templates here, relative to this directory.
templates_path = ["_templates"]
Expand Down
6 changes: 5 additions & 1 deletion docs/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ channels:
- conda-forge
- defaults
dependencies:
- python=3.8
- cartopy
- geoviews
- pandoc
- python=3.9
- pip
- pip:
- -r ../requirements-docs.txt
- -e ../