Skip to content

Commit

Permalink
doc: add requirements.txt file
Browse files Browse the repository at this point in the history
  • Loading branch information
ajhynes7 committed Dec 29, 2022
1 parent e977a86 commit 805ff61
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 20 deletions.
4 changes: 4 additions & 0 deletions docs/source/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Sphinx==5.3.0
numpydoc==1.1.0
sphinx-bootstrap-theme==0.8.1
sphinx-gallery==0.9.0
11 changes: 0 additions & 11 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,6 @@ pytest-cov = "^4.0.0"
[tool.poetry.group.property_test.dependencies]
hypothesis = "^6.56.2"

[tool.poetry.group.docs.dependencies]
Sphinx = "4.2.0"
numpydoc = "1.1.0"
sphinx-bootstrap-theme = "0.8.0"
sphinx-gallery = "0.9.0"


[tool.poetry.group.pre_commit]
optional = true

Expand All @@ -80,10 +73,6 @@ optional = true
[tool.poetry.group.property_test]
optional = true

[tool.poetry.group.docs]
optional = true


[tool.pytest.ini_options]
pythonpath = ["src"]

Expand Down
13 changes: 4 additions & 9 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ unused-arguments-ignore-dunder = true

[gh-actions]
python =
3.7: pre-commit, readme, doctests, unit, docs
3.8: pre-commit, readme, doctests, unit, docs
3.9: pre-commit, readme, doctests, unit, docs
3.10: pre-commit, readme, doctests, unit, docs
3.7: pre-commit, readme, doctests, unit
3.8: pre-commit, readme, doctests, unit
3.9: pre-commit, readme, doctests, unit
3.10: pre-commit, readme, doctests, unit

[testenv]
allowlist_externals = poetry
Expand All @@ -37,8 +37,3 @@ commands =
commands =
poetry install --with base_test
poetry run pytest tests/unit/ --cov=skspatial --cov-report=xml

[testenv:docs]
commands =
poetry install --with docs
poetry run sphinx-build -b doctest docs/source/ docs/build/

0 comments on commit 805ff61

Please sign in to comment.