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

Rename dokkaModuleDirectory, and mark as internal #3880

Merged
merged 7 commits into from
Oct 24, 2024

Conversation

adam-enko
Copy link
Member

@adam-enko adam-enko commented Oct 21, 2024

Follow up for #3876

When Dokka produces 'partial' Modules it stores them in a project-local directory.

How Dokka processes Modules is an implementation detail, so exposing the directory is not useful for users, and could be confusing. It is useful to have a single property for DGP to use though, so it should be kept.

As such, mark baseModulesDirectory as internal to hide it from the DSL.

I propose skipping the Deprecation phase since I think it's very unlikely anyone ever configured this property, even for Dokkatoo users.

Follow up for #3876

When Dokka produces 'partial' Modules it stores them in a project-local directory.

How Dokka processes Modules is an implementation detail, so exposing the directory is not useful for users, and could be confusing.
It is useful to have a single property for DGP to use though, so it should be kept.

As such, mark it as `internal` to hide it from the DSL.
@adam-enko adam-enko added the runner: Gradle plugin An issue/PR related to Dokka's Gradle plugin label Oct 21, 2024
Base automatically changed from adam/feat/KT-70336/rename-dokka-publication-dir to master October 22, 2024 13:45
@adam-enko adam-enko marked this pull request as ready for review October 22, 2024 14:20
@adam-enko adam-enko added this to the Dokka 2.0.0 milestone Oct 22, 2024
@adam-enko adam-enko merged commit ec28b78 into master Oct 24, 2024
14 checks passed
@adam-enko adam-enko deleted the adam/feat/KT-70336/hide-dokka-module-directory branch October 24, 2024 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
runner: Gradle plugin An issue/PR related to Dokka's Gradle plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants