This commit is contained in:
Александр
2012-11-06 14:41:15 +02:00
parent 3bae16fbdf
commit 95960d0901

View File

@@ -258,10 +258,6 @@ intersphinx_mapping = {'http://docs.python.org/': None}
# from http://djangosnippets.org/snippets/2533/
# autogenerate models definitions
# THIS_DIR = os.path.dirname(__file__)
# PROJECT_DIR = os.path.join(THIS_DIR, 'relative/path/to/your/project/')
# sys.path.append(PROJECT_DIR)
import inspect
from django.utils.html import strip_tags
@@ -331,4 +327,4 @@ def process_docstring(app, what, name, obj, options, lines):
def setup(app):
# Register the docstring processor with sphinx
app.connect('autodoc-process-docstring', process_docstring)
app.connect('autodoc-process-docstring', process_docstring)