8000 Generating multiple, independent publications in V2 · Issue #4079 · Kotlin/dokka · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Generating multiple, independent publications in V2 #4079

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

Open
ptielsch opened this issue Apr 3, 2025 · 0 comments
Open

Generating multiple, independent publications in V2 #4079

ptielsch opened this issue Apr 3, 2025 · 0 comments
Labels
question A user question, can be resolved if the question is answered/resolved

Comments

@ptielsch
Copy link
ptielsch commented Apr 3, 2025

Good day,

I need to generate documentation of productive and the test source code and require an independent HTML output for each. Each generation needs its own sourceSets config: includes, visibilities, suppressions etc. Is there a way to achieve this in V2, maybe by creating an additional dokkaPublication?

In Dokka V1, I used to register two DokkaTasks defining their sourceSets etc., but that approach seems not to work anymore:


task generateTestDocs(type: DokkaTask) {
    dokkaSourceSets {
        ...
    }
}
task generateAppDocs(type: DokkaTask) {
    dokkaSourceSets {
        ...
    }
}

@ptielsch ptielsch added the question A user question, can be resolved if the question is answered/resolved label Apr 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question A user question, can be resolved if the question is answered/resolved
Projects
None yet
Development

No branches or pull requests

1 participant
0