Skip to content

Commit

Permalink
build: drop m2r2, use sphinx-mdinclude; also add missing doc devs
Browse files Browse the repository at this point in the history
  • Loading branch information
martibosch committed Jan 2, 2025
1 parent d28814b commit d0ea885
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = [
"m2r2",
"sphinx.ext.autodoc",
"sphinx.ext.napoleon",
"sphinx.ext.viewcode",
"sphinx_click",
"sphinx_mdinclude",
"sphinxcontrib.bibtex",
]
bibtex_bibfiles = ["references.bib"]
Expand Down
2 changes: 1 addition & 1 deletion docs/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ channels:
- conda-forge
dependencies:
- lightgbm=4.5.0
- m2r2=0.3.3
- pydata-sphinx-theme=0.16.1
- sphinx=8.1.3
- sphinx-click=6.0.0
- sphinx-mdinclude=0.6.2
- sphinxcontrib-bibtex=2.6.3
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ dependencies = [
[project.optional-dependencies]
test = ["coverage[toml]", "pytest", "pytest-cov", "ruff"]
dev = ["build", "commitizen", "pre-commit", "pip", "toml", "tox", "twine"]
doc = ["m2r2", "pydata-sphinx-theme", "sphinx"]
doc = ["pydata-sphinx-theme", "sphinx", "sphinx-click", "sphinx-mdinclude", "sphinxcontrib-bibtex"]

[project.scripts]
detectree = "detectree.cli.main:cli"
Expand Down

0 comments on commit d0ea885

Please sign in to comment.