diff --git a/docs/source/conf.py b/docs/source/conf.py index b9c1deadfc..3b1e9dc5b9 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -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) \ No newline at end of file + app.connect('autodoc-process-docstring', process_docstring)