Commit 720d38b7 authored by nd-02110114's avatar nd-02110114
Browse files

🐛 fix bug

parent 0e9b9b73
Loading
Loading
Loading
Loading
+7 −6
Original line number Diff line number Diff line
@@ -101,3 +101,4 @@ datasets/pdbbind_v2019_refined.tar.gz
datasets/qm8.csv

.vscode/
.python-version
+1 −1
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@ help:

doctest_examples:
	export PYTHONWARNINGS= 
	@$(SPHINXBUILD) -M doctest "$(SOURCEDIR)" "$(BUILDDIR)" examples.rst;
	@$(SPHINXBUILD) -M doctest "$(SOURCEDIR)" "$(BUILDDIR)" source/get_started/examples.rst;

# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option.  $(O) is meant as a shortcut for $(SPHINXOPTS).
+27 −22
Original line number Diff line number Diff line
@@ -34,8 +34,12 @@ release = deepchem.__version__
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
    'sphinx.ext.autodoc', 'sphinx.ext.napoleon', 'sphinx.ext.doctest',
    'sphinx.ext.linkcode', 'sphinx.ext.mathjax', 'sphinx.ext.autosectionlabel',
    'sphinx.ext.autodoc',
    'sphinx.ext.napoleon',
    'sphinx.ext.doctest',
    'sphinx.ext.linkcode',
    'sphinx.ext.mathjax',
    'sphinx.ext.autosectionlabel',
]

# Options for autodoc directives
@@ -104,6 +108,7 @@ html_theme_options = {

# Resolve function for the linkcode extension.
def linkcode_resolve(domain, info):

  def find_source():
    # try to find the file and line number, based on code from numpy:
    # https://github.com/numpy/numpy/blob/master/doc/source/conf.py#L286