Skip to content

Commit

Permalink
solving doc dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
bruAristimunha committed Feb 8, 2025
1 parent d49f074 commit e2c5808
Showing 1 changed file with 15 additions and 21 deletions.
36 changes: 15 additions & 21 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,38 +51,32 @@ pytest-cov = { version = ">=5.0.0", optional = true }
codecov = { version = ">=2.1.0", optional = true }
pytest_cases = { version = ">=3.0.0", optional = true }

# Optional dependencies for documentation
sphinx = { version = "^5.3.0", optional = true }
sphinx-gallery = { version = "^0.11.1", optional = true }
sphinx-bootstrap-theme = { version = "^0.8.1", optional = true }
pydata-sphinx-theme = { version = "^0.13.2", optional = true }
numpydoc = { version = "^1.5.0", optional = true }
m2r2 = { version = "^0.3.0", optional = true }
sphinx-design = { version = "^0.3.0", optional = true }
sphinx-rtd-theme = { version = "^1.2.0", optional = true }
sphinx_copybutton = { version = "^0.4.0", optional = true }
sphinxcontrib-bibtex = { version = "^2.2.0", optional = true }
sphinx-favicon = { version = "^1.0.1", optional = true }
tdlda = { git = "https://github.com/jsosulski/tdlda.git", rev = "0.1.0", optional = true}


[tool.poetry.extras]
carbonemission = ["codecarbon"]
deeplearning = ["tensorflow", "keras", "scikeras", "braindecode", "docstring_inheritance", "torch", "libclang"]
optuna = ["optuna", "optuna-integration"]
tests = ["pytest", "pytest-cov", "codecov", "pytest_cases"]

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


[tool.poetry.group.docs.dependencies]
Sphinx = "^5.3.0"
sphinx-gallery = "^0.11.1"
sphinx-bootstrap-theme = "^0.8.1"
pydata-sphinx-theme = "^0.13.2"
numpydoc = "^1.5.0"
pre-commit = "^2.21.0"
m2r2 = "^0.3.0"
tdlda = { git = "https://github.com/jsosulski/tdlda.git", rev = "0.1.0" }
sphinx-design = "^0.3.0"
sphinx-rtd-theme = "^1.2.0"
sphinx_copybutton = "^0.4.0"
sphinxcontrib-bibtex = "^2.2.0"
sphinx-favicon = "^1.0.1"

docs = ["Sphinx", "sphinx-gallery", "sphinx-bootstrap-theme", "pydata-sphinx-theme", "numpydoc", "pre-commit", "m2r2", "tdlda", "sphinx-design", "sphinx-rtd-theme", "sphinx_copybutton", "sphinxcontrib-bibtex", "sphinx-favicon"]

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"


[tool.black]
line-length = 90
target-version = ["py38"]
Expand Down

0 comments on commit e2c5808

Please sign in to comment.