Skip to content

Commit

Permalink
use gh-pages for github , rtd does not provide cmake ?
Browse files Browse the repository at this point in the history
  • Loading branch information
k-okada committed Dec 4, 2015
1 parent 9123ca7 commit 3a5d886
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 4 additions & 3 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,12 @@
build_dir = os.path.join('_build', 'html', 'hrpsys-base-api')
if not os.path.exists(build_dir):
os.mkdir(build_dir)
subprocess.call(['cmake', '../../../hrpsys-base/doc'], cwd=build_dir)
subprocess.call(['make'], cwd=build_dir)
if not os.path.exists(build_dir):
os.makedirs(os.path.dirname(build_dir))
shutil.copytree('hrpsys', build_dir)
with open(index, "a") as f:
f.write("\n")
f.write("`API Documents <../../hrpsys-base-api/html/>`_\n")
f.write("`API Documents <../../hrpsys-base-api/html>`_\n")

# euslisp
if local_name == "jskeus":
Expand Down
1 change: 1 addition & 0 deletions doc/doc.rosinstall
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
- git:
uri: https://github.com/fkanehiro/hrpsys-base.git
local-name: hrpsys-base
version: gh-pages
- git:
uri: https://github.com/start-jsk/rtmros_common.git
local-name: rtmros_common
Expand Down

0 comments on commit 3a5d886

Please sign in to comment.