Skip to content

Commit

Permalink
Update .readthedocs.yaml (#132)
Browse files Browse the repository at this point in the history
* Update .readthedocs.yaml
* Update requirements.txt
  • Loading branch information
emlynjdavies authored Aug 31, 2023
1 parent d3d487b commit 4b3345b
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 34 deletions.
11 changes: 6 additions & 5 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
# Required
version: 2

conda:
environment: docs/environment.yml
build:
os: "ubuntu-22.04"
tools:
python: "3.10"

# Build documentation in the docs/ directory with Sphinx
sphinx:
Expand All @@ -20,10 +22,9 @@ sphinx:

# Optionally set the version of Python and requirements required to build your docs
python:
version: 3.8
install:
- method: pip
path: .
- requirements: docs/requirements.txt
- path: .

# By default readthedocs does not checkout git submodules
submodules:
Expand Down
1 change: 1 addition & 0 deletions docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,6 @@ sphinx:
- 'sphinx.ext.autodoc'
- 'sphinx.ext.napoleon'
- 'sphinx.ext.autosummary'
- 'sphinx.ext.sphinx_togglebutton'
config:
autosummary_generate: True
28 changes: 0 additions & 28 deletions docs/environment.yml

This file was deleted.

12 changes: 12 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
flake8
docopt
setuptools
pytest-error-for-skips
sphinx_rtd_theme>=0.5.0
sphinxcontrib-napoleon>=0.7
sphinx-togglebutton
sphinx-copybutton
readthedocs-sphinx-search
myst-nb
jupyter_book
ipykernel>=6.19.4
2 changes: 1 addition & 1 deletion pyopia/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.0.57'
__version__ = '0.0.58'
7 changes: 7 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,15 @@
tqdm
setuptools
pytest-error-for-skips
nbclient==0.7
sphinx==5.0
sphinx_rtd_theme>=0.5.0
sphinxcontrib-napoleon>=0.7
sphinx-togglebutton
sphinx-copybutton
readthedocs-sphinx-search
myst-nb
jupyter_book
tensorflow-cpu==2.10.1
ipykernel>=6.19.4
urllib3<2.0
Expand Down

0 comments on commit 4b3345b

Please sign in to comment.