Skip to content

Commit

Permalink
Use custom env for RTD (#208)
Browse files Browse the repository at this point in the history
* Use custom env for RTD

* Update doc requirements
  • Loading branch information
samjwu authored Apr 11, 2024
1 parent 67e4545 commit 876057d
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 5 deletions.
5 changes: 4 additions & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,7 @@ python:
build:
os: ubuntu-22.04
tools:
python: "3.8"
python: "mambaforge-22.9"

conda:
environment: docs/environment.yml
10 changes: 10 additions & 0 deletions docs/environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: RTD
channels:
- conda-forge
- defaults
dependencies:
- python=3.8
- pip
- doxygen=1.9.8
- pip:
- -r ./sphinx/requirements.txt
2 changes: 1 addition & 1 deletion docs/sphinx/requirements.in
Original file line number Diff line number Diff line change
@@ -1 +1 @@
rocm-docs-core==0.30.3
rocm-docs-core==0.38.0
6 changes: 3 additions & 3 deletions docs/sphinx/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is autogenerated by pip-compile with Python 3.8
# by the following command:
#
# pip-compile requirements.in
# pip-compile sphinx/requirements.in
#
accessible-pygments==0.0.3
# via pydata-sphinx-theme
Expand Down Expand Up @@ -98,8 +98,8 @@ requests==2.31.0
# via
# pygithub
# sphinx
rocm-docs-core==0.30.3
# via -r requirements.in
rocm-docs-core==0.38.0
# via -r sphinx/requirements.in
smmap==5.0.0
# via gitdb
snowballstemmer==2.2.0
Expand Down

0 comments on commit 876057d

Please sign in to comment.