Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 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
20 changes: 10 additions & 10 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,19 +82,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- name: Setup Conda Environment
uses: conda-incubator/[email protected]
with:
miniforge-variant: Mambaforge
miniforge-version: latest
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 .
use-mamba: true
channel-priority: strict
environment-file: ./docs/environment.yml
activate-environment: pystac-client-docs
auto-activate-base: false
- name: Build docs
run: ./scripts/build-docs
run: sphinx-build -M html docs docs/build

pre-release:
name: pre-release
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 ../