Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
root path is undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
vandanavk committed Aug 1, 2018
1 parent fc912f3 commit 9aada06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/mxdoc.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def build_mxnet(app):
def build_r_docs(app):
"""build r pdf"""
r_root = app.builder.srcdir + '/../R-package'
pdf_path = root_path + '/docs/api/r/mxnet-r-reference-manual.pdf'
pdf_path = app.builder.srcdir + '/api/r/mxnet-r-reference-manual.pdf'
_run_cmd('cd ' + r_root +
'; R -e "roxygen2::roxygenize()"; R CMD Rd2pdf . --no-preview -o ' + pdf_path)
dest_path = app.builder.outdir + '/api/r/'
Expand Down

0 comments on commit 9aada06

Please sign in to comment.