diff options
author | gbrandl <gbrandl@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2007-06-19 15:36:42 +0000 |
---|---|---|
committer | gbrandl <gbrandl@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2007-06-19 15:36:42 +0000 |
commit | 2ee745d72096c89ab6c0173506be44d3c7d7b4c5 (patch) | |
tree | 3e3e5e2b9aefd57d265c76d92324d143f512e9f2 /sandbox/py-rest-doc/sphinx/builder.py | |
parent | 7f936a1de4939e9d02dc0bb1f07eec84cd46f3c3 (diff) | |
download | docutils-2ee745d72096c89ab6c0173506be44d3c7d7b4c5.tar.gz |
Fix style.
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@5255 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'sandbox/py-rest-doc/sphinx/builder.py')
-rw-r--r-- | sandbox/py-rest-doc/sphinx/builder.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sandbox/py-rest-doc/sphinx/builder.py b/sandbox/py-rest-doc/sphinx/builder.py index 35ba9c59d..c05fe560e 100644 --- a/sandbox/py-rest-doc/sphinx/builder.py +++ b/sandbox/py-rest-doc/sphinx/builder.py @@ -279,9 +279,6 @@ class StandaloneHTMLBuilder(Builder): settings_overrides={'output_encoding': 'unicode'} ) - def get_target_uri(self, source_filename): - return source_filename[:-4] + '.html' - def prepare_writing(self): if not self.options.nosearchindex: from .search import IndexBuilder @@ -424,6 +421,9 @@ class StandaloneHTMLBuilder(Builder): # --------- these are overwritten by the Web builder + def get_target_uri(self, source_filename): + return source_filename[:-4] + '.html' + def get_outdated_files(self): for filename in get_matching_files( self.srcdir, '*.rst', exclude=set(self.config.get('unused_files', ()))): |