Skip to content

Commit

Permalink
update readthedoc config
Browse files Browse the repository at this point in the history
  • Loading branch information
qiyanjun committed Nov 5, 2023
1 parent 5c0499e commit b75ed50
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
14 changes: 13 additions & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,25 @@
# Required
version: 2

# Set the OS, Python version and other tools you might need
build:
os: ubuntu-latest
tools:
python: "3.8"
# You can also specify other tool versions:
# nodejs: "20"
# rust: "1.70"
# golang: "1.20"
jobs:
post_checkout:
- git fetch --unshallow || true

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/conf.py

# Optionally set the version of Python and requirements required to build your docs
python:
version: 3.7
install:
- requirements: docs/requirements.txt
- requirements: requirements.txt
Expand Down
2 changes: 1 addition & 1 deletion docs/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ name: textattackenv
channels:
- defaults
dependencies:
- python=3.7
- python=3.8
- cudatoolkit

0 comments on commit b75ed50

Please sign in to comment.