Permalink
Browse files

Merge pull request #13 from tkruse/fix_ros_theme

proper usage of installed catkin-sphinx with ros theme
  • Loading branch information...
2 parents 0d48129 + e2d5f3d commit 6b4c2af6fab1d4e491f10d63760a173ffef5a64d @dirk-thomas dirk-thomas committed Dec 15, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 doc/conf.py
View
@@ -12,8 +12,8 @@
# serve to show the default.
import sys, os
+import catkin_sphinx
-import sys, os
sys.path.insert(0, '../src')
from xml.etree.ElementTree import ElementTree
@@ -28,7 +28,8 @@
#needs_sphinx = '1.0'
html_logo = 'ros.png'
-html_theme_path = [os.path.join(os.path.expanduser('~'), 'sphinx'), 'themes']
+html_theme_path = [os.path.join(os.path.dirname(catkin_sphinx.__file__),
+ 'theme')]
# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.

0 comments on commit 6b4c2af

Please sign in to comment.