Skip to content

Commit

Permalink
fixed issue with sphinx autodoc
Browse files Browse the repository at this point in the history
  • Loading branch information
Giancarlo Perrone committed May 11, 2018
1 parent 23ca747 commit 9632fbd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 2 additions & 1 deletion pyvis/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
sys.path.insert(0, os.path.abspath('../'))
sys.path.insert(0, os.path.abspath('../..'))

# os.path.abspath('mydir/myfile.txt')


# -- General configuration ------------------------------------------------
Expand Down
4 changes: 1 addition & 3 deletions pyvis/source/documentation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,5 @@
Documentation
=============

.. automodule:: network
:members:
.. autoclass:: Network
.. automodule:: pyvis.network
:members:

0 comments on commit 9632fbd

Please sign in to comment.