From 301d0d60603937b96aa9529f16d9cca420844fbc Mon Sep 17 00:00:00 2001 From: Takeshi KOMIYA Date: Sun, 16 Jun 2019 13:17:51 +0900 Subject: apidoc: template files are renamed to ``.rst_t`` --- sphinx/ext/apidoc.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sphinx/ext/apidoc.py') diff --git a/sphinx/ext/apidoc.py b/sphinx/ext/apidoc.py index d38b749f0..18b5481f9 100644 --- a/sphinx/ext/apidoc.py +++ b/sphinx/ext/apidoc.py @@ -121,7 +121,7 @@ def create_module_file(package, basename, opts): 'qualname': qualname, 'automodule_options': OPTIONS, } - text = ReSTRenderer(template_dir).render('module.rst', context) + text = ReSTRenderer(template_dir).render('module.rst_t', context) write_file(qualname, text, opts) @@ -151,7 +151,7 @@ def create_package_file(root, master_package, subroot, py_files, opts, subs, is_ 'automodule_options': OPTIONS, 'show_headings': not opts.noheadings, } - text = ReSTRenderer(template_dir).render('package.rst', context) + text = ReSTRenderer(template_dir).render('package.rst_t', context) write_file(pkgname, text, opts) if submodules and opts.separatemodules: @@ -176,7 +176,7 @@ def create_modules_toc_file(modules, opts, name='modules'): 'maxdepth': opts.maxdepth, 'docnames': modules, } - text = ReSTRenderer(template_dir).render('toc.rst', context) + text = ReSTRenderer(template_dir).render('toc.rst_t', context) write_file(name, text, opts) -- cgit v1.2.1