Skip to content

Commit

Permalink
docs: try workaround from rtfd docs
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmueller committed Nov 2, 2018
1 parent f44622d commit 40c558b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
# sys.path.insert(0, os.path.abspath('.'))

# Get version number from nanite._version file
import mock
import os.path as op
import sys
# include parent directory
Expand All @@ -31,12 +30,11 @@
# include extenstions
sys.path.append(op.abspath('extensions'))

sys.modules["nanite.model.model_sneddon_spherical"] = mock.Mock()

# http://www.sphinx-doc.org/en/stable/ext/autodoc.html#confval-autodoc_member_order
# Order class attributes and functions in separate blocks
autodoc_member_order = 'groupwise'
autoclass_content = 'both'
autodoc_mock_imports = ["nanite.model.model_sneddon_spherical"]

# include source of matplotlib plots
plot_include_source = True
Expand Down

0 comments on commit 40c558b

Please sign in to comment.