diff options
| author | tom christie tom@tomchristie.com | 2011-01-23 23:08:16 +0000 | 
|---|---|---|
| committer | tom christie tom@tomchristie.com | 2011-01-23 23:08:16 +0000 | 
| commit | 4100242fa2395bef8db0c5ffbab6f5d0cf95301d (patch) | |
| tree | 0c8efd4dfdbdc6af7dca234291f8f8c7e3b035ff /docs/conf.py | |
| parent | 99799032721a32220c32d4a74a950bdd07b13cb3 (diff) | |
| download | django-rest-framework-4100242fa2395bef8db0c5ffbab6f5d0cf95301d.tar.bz2 | |
Sphinx docs, examples, lots of refactoring
Diffstat (limited to 'docs/conf.py')
| -rw-r--r-- | docs/conf.py | 5 | 
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/conf.py b/docs/conf.py index d1822795..2d7b2f33 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -13,7 +13,9 @@  import sys, os -sys.path.append(os.path.join(os.path.dirname(os.path.dirname(__file__)), 'src')) +sys.path.insert(0, os.path.dirname(os.path.dirname(__file__))) +sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(__file__)), 'flywheel')) +sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(__file__)), 'examples'))  import settings  from django.core.management import setup_environ  setup_environ(settings) @@ -57,6 +59,7 @@ version = '0.1'  # The full version, including alpha/beta/rc tags.  release = '0.1' +autodoc_member_order='bysource'  # The language for content autogenerated by Sphinx. Refer to documentation  # for a list of supported languages.  #language = None  | 
