summaryrefslogtreecommitdiff
path: root/docs/sphinx/source
diff options
context:
space:
mode:
authorTom Rondeau2012-05-01 15:37:33 -0400
committerTom Rondeau2012-05-20 12:38:32 -0400
commit59165ed2ec7d45a7875c003ce4ce713082cf62c8 (patch)
treeab7aa13132a6f881e5039167f1104e61b1416f2d /docs/sphinx/source
parentda42490eb23389949473c445b9cfb2a6f109440f (diff)
downloadgnuradio-59165ed2ec7d45a7875c003ce4ce713082cf62c8.tar.gz
gnuradio-59165ed2ec7d45a7875c003ce4ce713082cf62c8.tar.bz2
gnuradio-59165ed2ec7d45a7875c003ce4ce713082cf62c8.zip
sphinx: create a conf.py and run_sphinx_build.sh files.
These files help a user run Sphinx on the installed system. The shell script is designed for ease of use.
Diffstat (limited to 'docs/sphinx/source')
-rw-r--r--docs/sphinx/source/conf.py.in (renamed from docs/sphinx/source/conf.py)3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/sphinx/source/conf.py b/docs/sphinx/source/conf.py.in
index f5422ee41..23a923a00 100644
--- a/docs/sphinx/source/conf.py
+++ b/docs/sphinx/source/conf.py.in
@@ -16,7 +16,8 @@ import sys, os
# 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
# documentation root, use os.path.abspath to make it absolute, like shown here.
-sys.path.insert(0, os.path.abspath('..'))
+sys.path.insert(0, os.path.abspath('@CMAKE_CURRENT_SOURCE_DIR@'))
+sys.path.insert(0, '@CMAKE_INSTALL_PREFIX@/@GR_PYTHON_DIR@')
# -- General configuration -----------------------------------------------------