-
Notifications
You must be signed in to change notification settings - Fork 413
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Old versions get additional new line added #3965
Comments
Thanks for the report, I can observe the same behaviour when I checkout Kotbase and run it locally. @whyoleg I don't think this is related to DGP. When I downgrade the Dokka Engine version to 1.9.20 (in |
Yes, as noted, I have experienced this behavior with both the v1 and v2 Gradle plugins. I just got around to reporting it now! |
Fixed in #3974 |
Describe the bug
Using the versioning plugin, older version HTML files receive an extra new line whenever they're processed with
:dokkaGenerate
. When a project replaces the older version HTML files every time they're reprocessed when API docs are regenerated, this will continuously grow the size of these older version files.Expected behaviour
Older version files shouldn't receive an extra new line character, only necessary changes should be made to the files.
To Reproduce
Run
:dokkaGenerate
on a project with older version docs and compare the processed files with the original to see the additional new line character in every HTML file.Dokka configuration
Configuration of dokka used to reproduce the bug
Installation
Additional context
Reproducible with my library, Kotbase. Just run
:dokkaGenerate
and observe the Git changes. The only changes will be the additional new line characters to the older version HTML files. Every subsequent run will add an additional new line.The text was updated successfully, but these errors were encountered: