Skip to content

Commit

Permalink
Modify autodoc_mock_imports in conf.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeqfu committed Jan 9, 2021
1 parent 88a473e commit 1942903
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
sys.path.insert(0, os.path.abspath('../../pyrcs/line_data'))
sys.path.insert(0, os.path.abspath('../../pyrcs/other_assets'))

# A list of modules to be mocked up.
autodoc_mock_imports = ['beautifulsoup4', 'fuzzywuzzy', 'measurement', 'pandas',
'more-itertools', 'numpy', 'requests', 'pyhelpers']

# Project information ==================================================================
import datetime
import pyrcs
Expand Down Expand Up @@ -60,9 +64,6 @@
# Whether to scan all found documents for autosummary directives and generate stub pages for each.
autosummary_generate = True

# A list of modules to be mocked up.
autodoc_mock_imports = []

# The suffix(es) of source filenames (For multiple suffix, a list of string.
source_suffix = '.rst' # e.g. source_suffix = ['.rst', '.md'])

Expand Down

0 comments on commit 1942903

Please sign in to comment.