Skip to content
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

Fix DokkaGenerator not clearing deleted files #60

Merged
merged 5 commits into from
May 1, 2023
Merged

Conversation

aSemy
Copy link
Contributor

@aSemy aSemy commented Apr 29, 2023

If I have a multi-module project and I run :dokkatooGeneratePublicationHtml then Dokkatoo will generate an HTML publication.

However, if I delete a Foo.kt file in one of the subprojects and re-run :dokkatooGeneratePublicationHtml then DokkaGenerator will not delete the Foo.html file in the HTML publication.

This PR will manually clean up the output directory before running DokkaGenerator to resolve this problem.

This PR also includes some minor fixes and tidy-ups.

@aSemy aSemy merged commit cefd52c into main May 1, 2023
@aSemy aSemy deleted the fix/clear_deleted_files branch May 1, 2023 07:23
@aSemy aSemy added this to the v1.4.0 milestone May 22, 2023
aSemy added a commit that referenced this pull request Jun 2, 2023
aSemy added a commit that referenced this pull request Jun 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant