Commits

Takayuki Shimizukawa  committed 67682ac

Support docutils.conf 'writers' and 'html4css1 writer' section by html writer.
latex, manpage and texinfo writers support 'writers' section.

  • Participants
  • Parent commits e8a695e

Comments (0)

Files changed (5)

 --------------
 
 * Builders: rebuild i18n target document when catalog updated.
+* Support docutils.conf 'writers' and 'html4css1 writer' section by html writer.
+  latex, manpage and texinfo writers also support 'writers' section.
 
 Incompatible changes
 --------------------

File sphinx/builders/html.py

         self.docwriter = HTMLWriter(self)
         self.docsettings = OptionParser(
             defaults=self.env.settings,
-            components=(self.docwriter,)).get_default_values()
+            components=(self.docwriter,),
+            read_config_files=True).get_default_values()
         self.docsettings.compact_lists = bool(self.config.html_compact_lists)
 
         # determine the additional indices to include

File sphinx/builders/latex.py

         docwriter = LaTeXWriter(self)
         docsettings = OptionParser(
             defaults=self.env.settings,
-            components=(docwriter,)).get_default_values()
+            components=(docwriter,),
+            read_config_files=True).get_default_values()
 
         self.init_document_data()
 

File sphinx/builders/manpage.py

         docwriter = ManualPageWriter(self)
         docsettings = OptionParser(
             defaults=self.env.settings,
-            components=(docwriter,)).get_default_values()
+            components=(docwriter,),
+            read_config_files=True).get_default_values()
 
         self.info(bold('writing... '), nonl=True)
 

File sphinx/builders/texinfo.py

             docwriter = TexinfoWriter(self)
             settings = OptionParser(
                 defaults=self.env.settings,
-                components=(docwriter,)).get_default_values()
+                components=(docwriter,),
+                read_config_files=True).get_default_values()
             settings.author = author
             settings.title = title
             settings.texinfo_filename = targetname[:-5] + '.info'