Skip to content

Commit

Permalink
Remove superfluous dot.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed Aug 25, 2024
1 parent 5f98994 commit daaf5de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions changelogs/fragments/318-plugin-filename.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
bugfixes:
- "The output filename used by the ``plugin`` subcommand contained two dots before the ``rst`` extension
(https://github.com/ansible-community/antsibull-docs/issues/317, https://github.com/ansible-community/antsibull-docs/pull/318)."
2 changes: 1 addition & 1 deletion src/antsibull_docs/cli/doc_commands/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def generate_docs() -> int:
collection_name,
plugin,
output_dir=app_ctx.extra["dest_dir"],
output_filename=f"{plugin_name}_{plugin_type}.{output_format.output_extension}",
output_filename=f"{plugin_name}_{plugin_type}{output_format.output_extension}",
output_format=output_format,
filename_generator=filename_generator,
add_antsibull_docs_version=app_ctx.add_antsibull_docs_version,
Expand Down

0 comments on commit daaf5de

Please sign in to comment.