From 0ceef43a9bbaa51f56ba97ee93d506102c1fc7e2 Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.anjos@idiap.ch>
Date: Mon, 13 Aug 2012 12:55:33 +0200
Subject: [PATCH] Documentation now working

---
 .gitignore   | 1 +
 docs/conf.py | 8 ++++----
 localbob.cfg | 1 +
 3 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/.gitignore b/.gitignore
index e429edd..7f45ac8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,3 +9,4 @@ parts
 *.egg-info
 src
 develop-eggs
+built-docs
diff --git a/docs/conf.py b/docs/conf.py
index c1bb46f..a010358 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -22,7 +22,7 @@ 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('..'))
 
 # -- General configuration -----------------------------------------------------
 
@@ -141,12 +141,12 @@ if sphinx.__version__ >= "1.0":
 
 # The name of an image file (relative to this directory) to place at the top
 # of the sidebar.
-html_logo = '@CMAKE_SOURCE_DIR@/doc/img/bob+reflection-sphinx.png'
+html_logo = ''
 
 # The name of an image file (within the static path) to use as favicon of the
 # docs.  This file should be a Windows icon file (.ico) being 16x16 or 32x32
 # pixels large.
-html_favicon = '@CMAKE_SOURCE_DIR@/doc/img/favicon.ico'
+html_favicon = ''
 
 # Add any paths that contain custom static files (such as style sheets) here,
 # relative to this directory. They are copied after the builtin static files,
@@ -215,7 +215,7 @@ latex_documents = [
 
 # The name of an image file (relative to this directory) to place at the top of
 # the title page.
-latex_logo = '@CMAKE_SOURCE_DIR@/doc/img/bob.pdf'
+latex_logo = ''
 
 # For "manual" documents, if this is true, then toplevel headings are parts,
 # not chapters.
diff --git a/localbob.cfg b/localbob.cfg
index 8902d99..d85932d 100644
--- a/localbob.cfg
+++ b/localbob.cfg
@@ -30,3 +30,4 @@ script = tests.py
 recipe = collective.recipe.sphinxbuilder
 source = ${buildout:directory}/docs
 build = ${buildout:directory}/built-docs
+interpreter = ${buildout:directory}/bin/python
-- 
GitLab