Skip to content

Commit

Permalink
Revert path for napoleon on readthedocs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Onager committed Apr 23, 2015
1 parent dd58fce commit 1b1eb2f
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,12 @@
'sphinx.ext.doctest',
'sphinx.ext.coverage',
'sphinx.ext.viewcode',
'sphinxcontrib.napoleon'
]

import os
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'

# Enable the correct napoleon module.
if on_rtd:
extensions.append('sphinx.ext.napoleon')
else:
extensions.append('sphinxcontrib.napoleon')


# Napoleon settings
napoleon_google_docstring = True
napoelon_numpy_docstring = False
Expand Down

0 comments on commit 1b1eb2f

Please sign in to comment.