Skip to content

Commit

Permalink
test read the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
edwinnglabs committed Jan 10, 2024
1 parent 6a3058c commit 562a07b
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 6 deletions.
10 changes: 7 additions & 3 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ version: 2
build:
os: ubuntu-22.04
tools:
python: "3.9"
python: "miniconda3-4.7"

conda:
environment: docs/environment-py38-rtd.yml

# Build documentation in the docs/ directory with Sphinx
sphinx:
Expand All @@ -17,5 +19,7 @@ formats: all
# Optionally set the version of Python and requirements required to build your docs
python:
install:
- requirements: requirements.txt
- requirements: docs/requirements-docs.txt
- method: pip
path: .
# - requirements: requirements.txt
# - requirements: docs/requirements-docs.txt
12 changes: 12 additions & 0 deletions docs/environment-py38-rtd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: orbit-ml-rtd-py38
channels:
- conda-forge
- defaults
dependencies:
- pip=22.1.2
- python=3.8
- pandoc
- sphinx
- sphinx_rtd_theme
- sphinxcontrib-bibtex<2.0.0
- nbsphinx
5 changes: 2 additions & 3 deletions docs/requirements-docs.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
sphinx==4.0.2
sphinx
sphinxcontrib-napoleon
sphinx-rtd-theme
matplotlib
nbsphinx
IPython
Jinja2==3.0.3
IPython

0 comments on commit 562a07b

Please sign in to comment.