Skip to content

Commit

Permalink
Remove pinned versions
Browse files Browse the repository at this point in the history
Signed-off-by: Conor MacBride <conor@macbride.me>
  • Loading branch information
ConorMacBride committed Nov 15, 2021
1 parent 18c8940 commit 762f21c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 16 deletions.
6 changes: 3 additions & 3 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ formats:
- pdf
- htmlzip

# Build from requirements.txt to use https://github.com/astropy/sphinx-automodapi/pull/121
# Optionally set the version of Python and requirements required to build your docs
python:
version: 3.8
install:
- requirements: docs/requirements.txt
- method: pip
path: .
# Build from requirements.txt to use https://github.com/astropy/sphinx-automodapi/pull/121
# extra_requirements:
# - docs
extra_requirements:
- docs
system_packages: true
9 changes: 1 addition & 8 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,2 @@
sphinx==3.1.2
#sphinx-automodapi==0.12
# delete requirements.txt and update setup.cfg when merged
-e git+https://github.com/astropy/sphinx-automodapi.git@refs/pull/121/head#egg=sphinx-automodapi
ipykernel
nbsphinx==0.8.5
sphinx-rtd-theme==0.5.0
sphinx-gallery
pytest
setuptools_scm
10 changes: 5 additions & 5 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ tests =
pytest-mpl
tox
docs =
# Keep these in sync with docs/requirements.txt
sphinx==3.1.2
sphinx-automodapi==0.12
sphinx
# see docs/requirements.txt for sphinx-automodapi
# sphinx-automodapi
ipykernel
nbsphinx==0.8.5
sphinx-rtd-theme==0.5.0
nbsphinx
sphinx-rtd-theme
sphinx-gallery
pytest
setuptools_scm
Expand Down
2 changes: 2 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,15 @@ changedir = docs
description = invoke sphinx-build to build the HTML docs
extras = docs
commands =
pip install -r requirements.txt
sphinx-build -j auto -b html . _build/html

[testenv:build_docs-dev]
changedir = docs
description = invoke sphinx-build to build the HTML docs (using patched sphinx-automodapi)
deps =
-rdocs/requirements.txt
extras = docs
setenv = READTHEDOCS = True
commands =
sphinx-build -j auto -b html . _build/html

0 comments on commit 762f21c

Please sign in to comment.