diff options
author | Georg Brandl <georg@python.org> | 2008-02-01 20:44:17 +0000 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-02-01 20:44:17 +0000 |
commit | b2ec05e690aa2870967ed188ac9a3be0b0fd8db6 (patch) | |
tree | b250499a21cd2db4748cb1a0102e882120878a5e /sphinx/web/application.py | |
parent | 8ca7c9144317ca8ce1b1f29383174a884ac910b3 (diff) | |
download | sphinx-git-b2ec05e690aa2870967ed188ac9a3be0b0fd8db6.tar.gz |
More refactoring, this time allowing different file extensions
and a different master file. Also fix environment warning reporting
and improve handling of error conditions.
Diffstat (limited to 'sphinx/web/application.py')
-rw-r--r-- | sphinx/web/application.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/web/application.py b/sphinx/web/application.py index 49e393822..02d4a97ae 100644 --- a/sphinx/web/application.py +++ b/sphinx/web/application.py @@ -225,7 +225,7 @@ class DocumentationApplication(object): builder = MockBuilder() builder.config = env2.config writer = HTMLWriter(builder) - doctree = env2.read_file(page_id+'.rst', pathname, save_parsed=False) + doctree = env2.read_doc(page_id, pathname, save_parsed=False) doctree = env2.get_and_resolve_doctree(page_id+'.rst', builder, doctree) doctree.settings = OptionParser(defaults=env2.settings, components=(writer,)).get_default_values() |