Skip to content

Commit

Permalink
alternative method of using newer pandoc
Browse files Browse the repository at this point in the history
  • Loading branch information
kandersolar committed Nov 10, 2023
1 parent 2f5348c commit 4d2bd44
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@ build:
os: ubuntu-22.04
tools:
python: "mambaforge-22.9"
jobs:
post_create_environment:
- conda install python=3.8
- conda install -c conda-forge pandoc<4

conda:
environment: readthedocs-environment.yml

python:
install:
Expand Down
8 changes: 8 additions & 0 deletions readthedocs-environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name: rtd
channels:
- conda-forge
- defaults
dependencies:
- python=3.8
- pandoc<4 # nbsphinx requirement

0 comments on commit 4d2bd44

Please sign in to comment.