bobby
01/25/2022, 6:40 AMb
c
d
in module a
, I want to exclude b
and c
so it won’t generated. Excluding certain module is working fine
2. if you see the attach image, you can find some functions. the problem is, I’m not implement any of those function explicitly in my class (in this case CameraMaskingActivity
). Moreover, I found these functions also included in other class. I don’t want this in my report, is there anyway to exclude or remove this?
3. The report folder is big, like really big, I only include 2 modules but the size already 300++mb, is there someway to reduce the size? I know it might be related to each class that bloated, but the report file size could related to my question number 2
4. (Regarding design) in the attached image, I don’t find navigation menu that on the left, for me to go to other class in the report file, at least in the same module, is there any implementation that I’m not implement?
Thank you and sorry for asking a lot of question. Cool library btw. Have a great day 😄Ignat Beresnev
01/25/2022, 8:46 AMkts
)
2. If your class extends another class, it inherits functions and properties as well, so I think it's expected that you'll see it on your class's page. I'm not sure if there are any workarounds or settings that can be turned off.
3. That's interesting. Maybe that's because it's an android app, not sure. For a simple java project, my report folder is only 984K
. If you're on MacOS/Linux, can you go into build/dokka
(or your report folder), run du -h > output.txt
and upload the output to gist/pastebin/etc? It'll print folders and their size recursively.
4. Not sure what you mean 🙂 Does your report look like this? The navigation menu should be on the left, with all of the modules and their contents.bobby
01/25/2022, 8:56 AMAppCompatActivity
, same goes for Fragment, extend Fragment from Android. When I look to AppCompatActivity
I found the class in the image that I’m not implement is there. From your answers I think it’s make sense why it show now. but for my team, all inherits function and properties is not needed to show, since we focus on our changes only, in this case is CameraMaskingActivity
. this could lead to bloated file size
3. will try your solution, and share the gist later on
4. yap, exactly like link you shareIgnat Beresnev
01/25/2022, 9:01 AMtasks.withType<DokkaTask>().configureEach {
suppressInheritedMembers.set(true)
}
bobby
01/25/2022, 9:03 AMbobby
01/26/2022, 2:57 AMsuppressInheritedMembers.set(true)
in dokkaHtmlPartial
task, not in the root file
unfortunately, since this is my company project, I can’t share the gist of the file like you mentioned in answer number 3, but it does work and gave me more visibility on each folder size, thanks for that
the navigation menu on the left still not showing though, trying to figure it out, I think some config needed to implementIgnat Beresnev
01/26/2022, 8:39 AMfile://
😞 Certain features (search, navbar) will not work (JS-related problem)
However, if you need to open it locally, have you tried the built-in web server? Open the index.html
file in Android Studio and on the top right you should see web browser icons. Click on one of them. Here's a screenshotIgnat Beresnev
01/26/2022, 8:40 AMnginx
running somewhere alreadybobby
01/26/2022, 10:00 AMbobby
01/26/2022, 10:01 AM