Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: unbreak RTD and fix GitHub CI #488

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
version: 2
build:
image: latest
os: ubuntu-22.04
tools:
python: "3.12"

python:
version: 3.8
requirements_file: docs/requirements.txt
install:
- method: pip
path: .
extra_requirements:
- docs

sphinx:
configuration: docs/conf.py
9 changes: 2 additions & 7 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
alabaster>=0.7.12,<1
docutils>=0.17.1,<1
matplotlib>=3.7.3,<4
myst-parser>=0.16.1,<1
networkx>=3.1,<4
numpy>=1.24.4,<2
myst-parser>=2,<3
Pygments>=2.11.2,<3
rstcheck
scipy>=1.10.1,<2
Sphinx>=5.3.0,<6
Sphinx>=7.2.6,<8
sphinxcontrib-bibtex>=2.4.1,<3
xlrd>=1.2.0,<2
3 changes: 1 addition & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ skipsdist = True
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/tests/requirements.txt
docs: -r{toxinidir}/docs/requirements.txt
cover: pytest-cov
linters: flake8
linters: pep8-naming
Expand All @@ -22,8 +23,6 @@ commands =
python -m build

[testenv:docs]
deps =
-r{toxinidir}/docs/requirements.txt
allowlist_externals =
/bin/sh
commands =
Expand Down
Loading