Changeset 375
- Timestamp:
- 08/01/05 14:50:45 (3 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
djangoproject.com/django_website/apps/docs/parts/build_documentation.py
r372 r375 10 10 import sys 11 11 import glob 12 import inspect 12 13 from docutils import nodes, utils 13 14 from docutils.core import publish_parts 14 15 from docutils.writers import html4css1 15 16 from django.conf import settings 16 from django.core import template17 from django.core import meta, template 17 18 18 19 SETTINGS = { … … 68 69 69 70 def build_test_documents(): 70 sys.path. append(settings.DJANGO_TESTS_PATH)71 sys.path.insert(0, settings.DJANGO_TESTS_PATH) 71 72 writer = DjangoHTMLWriter() 72 73 import runtests … … 86 87 blurb, 87 88 source_path=mod.__file__, 88 destination =out_file,89 destination_path=out_file, 89 90 writer=writer, 90 91 settings_overrides=SETTINGS,
