Skip to content
Merged
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
1 change: 1 addition & 0 deletions build_tools/circle/build_doc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ mamba create -n $CONDA_ENV_NAME --yes --quiet \
"$(get_dep sphinx-gallery $SPHINX_GALLERY_VERSION)" \
"$(get_dep numpydoc $NUMPYDOC_VERSION)" \
"$(get_dep sphinxcontrib-bibtex $SPHINXCONTRIB_BIBTEX_VERSION)" \
"$(get_dep sphinx-copybutton $SPHINXCONTRIB_BIBTEX_VERSION)" \
"$(get_dep pydata-sphinx-theme $PYDATA_SPHINX_THEME_VERSION)" \
memory_profiler packaging seaborn pytest coverage compilers tensorflow

Expand Down
6 changes: 5 additions & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,13 @@
"numpydoc",
"sphinx_issues",
"sphinx_gallery.gen_gallery",
"sphinx_copybutton",
]

# Specify how to identify the prompt when copying code snippets
copybutton_prompt_text = r">>> |\.\.\. "
copybutton_prompt_is_regexp = True

# Add any paths that contain templates here, relative to this directory.
templates_path = ["_templates"]

Expand Down Expand Up @@ -329,5 +334,4 @@ def generate_min_dependency_substitutions(app):
def setup(app):
app.connect("builder-inited", generate_min_dependency_table)
app.connect("builder-inited", generate_min_dependency_substitutions)
app.add_js_file("js/copybutton.js")
app.add_css_file("basic.css")
1 change: 1 addition & 0 deletions imblearn/_min_dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"mypy": ("1.3.0", "tests"),
"sphinx": ("6.0.0", "docs"),
"sphinx-gallery": ("0.13.0", "docs"),
"sphinx-copybutton": ("0.5.2", "docs"),
"numpydoc": ("1.5.0", "docs"),
"sphinxcontrib-bibtex": ("2.4.1", "docs"),
"pydata-sphinx-theme": ("0.13.3", "docs"),
Expand Down