Skip to content

Conversation

@jhradilek
Copy link
Owner

When reading input from STDIN with the -d/--directory option specified, the dita-convert utility incorrectly names the output file out.adoc. This pull request changes the output file name to out.dita.

$ asciidoctor -r dita-topic -b dita-topic test.adoc -o - | dita-convert -gd out
$ ls out/
out.dita

Implementation checklist

  • The code changes come with the corresponding test cases
  • The code changes pass all tests (run python3 -m unittest in the project directory)
  • The code changes come with appropriate documentation

@jhradilek jhradilek self-assigned this Oct 7, 2025
@jhradilek jhradilek added the bug Something isn't working label Oct 7, 2025
@jhradilek jhradilek merged commit 2d5d81e into main Oct 7, 2025
4 checks passed
@jhradilek jhradilek deleted the fix-output-filename branch October 7, 2025 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants