diff --git a/doc/config.rst b/doc/config.rst index 399cc3b84..ed5133672 100644 --- a/doc/config.rst +++ b/doc/config.rst @@ -10,7 +10,7 @@ The :term:`configuration directory` must contain a file named :file:`conf.py`. This file (containing Python code) is called the "build configuration file" and contains all configuration needed to customize Sphinx input and output behavior. -The configuration file if executed as Python code at build time (using +The configuration file is executed as Python code at build time (using :func:`execfile`, and with the current directory set to its containing directory), and therefore can execute arbitrarily complex code. Sphinx then reads simple names from the file's namespace as its configuration.