8000 Always use .rst extension · astrofrog/sphinx-automodapi@c12c14a · GitHub
[go: up one dir, main page]

Skip to content

Commit c12c14a

Browse files
committed
Always use .rst extension
1 parent 4c8e33c commit c12c14a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

sphinx_automodapi/automodsumm.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,11 +264,10 @@ def process_automodsumm_generation(app):
264264
f.write('\n')
265265

266266
for sfn, lines in zip(filestosearch, liness):
267-
suffix = os.path.splitext(sfn)[1]
268267
if len(lines) > 0:
269268
generate_automodsumm_docs(
270269
lines, sfn, app=app, builder=app.builder,
271-
suffix=suffix, base_path=app.srcdir,
270+
base_path=app.srcdir,
272271
inherited_members=app.config.automodsumm_inherited_members)
273272

274273

0 commit comments

Comments
 (0)
0