Skip to content

Commit

Permalink
automock
Browse files Browse the repository at this point in the history
  • Loading branch information
J535D165 committed Jul 19, 2023
1 parent fdbb040 commit 278091e
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 22 deletions.
29 changes: 18 additions & 11 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,24 @@
templates_path = ['_templates']
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']

autodoc_member_order = "bysource"

intersphinx_mapping = {
"python": ("https://docs.python.org/3/", None),
"pandas": ("https://pandas.pydata.org/pandas-docs/stable/", None),
"numpy": ("https://numpy.org/doc/stable/", None),
"sklearn": ("https://scikit-learn.org/stable/", None),
}

autodoc_mock_imports = [
"numpy",
"scipy",
"pandas",
"joblib",
"scikit-learn",
"jellyfish"
]


# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
Expand Down Expand Up @@ -103,17 +121,6 @@

# -- Additional options ---------------------------------------------------

autodoc_member_order = "bysource"

intersphinx_mapping = {
"python": ("https://docs.python.org/3/", None),
"pandas": ("https://pandas.pydata.org/pandas-docs/stable/", None),
"numpy": ("https://numpy.org/doc/stable/", None),
"sklearn": ("https://scikit-learn.org/stable/", None),
}

autodoc_mock_imports = ["jellyfish"]

# -- Napoleon options ---------------------------------------------------

napoleon_google_docstring = False
Expand Down
10 changes: 0 additions & 10 deletions docs/requirements.txt

This file was deleted.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ classifiers = [
]
license = {text = "BSD-3-Clause"}
dependencies = [
"jellyfish>=0.8.0",
"jellyfish>=0.8.0",
"numpy>=1.13.0",
"pandas>=1,<3",
"scipy>=1",
Expand Down

0 comments on commit 278091e

Please sign in to comment.