Skip to content

Commit

Permalink
[ci skip] docs abs path fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jindrahelcl committed Sep 7, 2016
1 parent 0c88d42 commit 03e9ace
Showing 1 changed file with 2 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 @@ -293,7 +293,8 @@ def run_apidoc(_):

cur_dir = os.path.abspath(os.path.dirname(__file__))
print(cur_dir)
module = '../neuralmonkey/'
module = os.path.abspath(os.path.join(cur_dir, "..", "..", "neuralmonkey"))
print(module)

from sphinx.apidoc import main
main(['-e', '-o', cur_dir, module, '--force'])
Expand Down

0 comments on commit 03e9ace

Please sign in to comment.