From 278639797155d18fce752a6dc51f0928cda6d2d6 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sun, 13 Apr 2008 08:25:17 +0000 Subject: [PATCH] Add advice about absolute paths to quickstart config. --- sphinx/quickstart.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/sphinx/quickstart.py b/sphinx/quickstart.py index eac929a39..ec1402842 100644 --- a/sphinx/quickstart.py +++ b/sphinx/quickstart.py @@ -29,10 +29,12 @@ QUICKSTART_CONF = '''\ # All configuration values have a default value; values that are commented out # serve to show the default value. -import sys +import sys, os -# If your extensions are in another directory, add it here. -#sys.path.append('some/directory') +# If your extensions are in another directory, add it here. If the directory +# is relative to the documentation root, use os.path.abspath to make it +# absolute, like shown here. +#sys.path.append(os.path.abspath('some/directory')) # General configuration # ---------------------