Skip to content

Commit

Permalink
RTD can't load the required modules using autodoc. Needed to change t…
Browse files Browse the repository at this point in the history
…he import path in the conf.py.
  • Loading branch information
mansenfranzen committed Mar 26, 2016
1 parent 3df001f commit 26e3d8e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
import sys
import os

sys.path.insert(0,"D:/Work/misc/python/projects/machine-learning/")
#sys.path.insert(0,"D:/Work/misc/python/projects/machine-learning/")
sys.path.insert(0, os.path.abspath('../../'))

# 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
Expand Down
2 changes: 2 additions & 0 deletions docs/source/linear_regression.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
Linear Regression
=================

Documentation for the linear regression module.

.. autofunction:: linear_regression.cost_function

0 comments on commit 26e3d8e

Please sign in to comment.