Skip to content

Commit

Permalink
try autodoc mock imports
Browse files Browse the repository at this point in the history
  • Loading branch information
robin900 committed Dec 15, 2021
1 parent a254368 commit 35cefad
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/conf.py
Expand Up @@ -33,6 +33,11 @@
# ones.
extensions = ['sphinx.ext.autodoc']

# autodoc "mock imports" so that autodoc does not need heavy dependencies
# installed in order to function. (Helpful for ReadTheDocs.org.)

autodoc_mock_imports = ['gspread', 'pandas']

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

Expand Down

0 comments on commit 35cefad

Please sign in to comment.