diff --git a/.gitignore b/.gitignore index e429edd4af3734969f22be44e962cebe9dfb6c8e..7f45ac84fc988e11064dd776463282e2f9374030 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 c1bb46fea66cf0ac91ef67300473019b524907bb..a0103583e1637fe717c92e7db619ce08c0a277f8 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 8902d990704169548f3065c8d6759fef2b7f798a..d85932d2d9d4305334a755897737bae8bed99288 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