-
-
Notifications
You must be signed in to change notification settings - Fork 194
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
[WIP] Dokka support! #2122
base: main
Are you sure you want to change the base?
[WIP] Dokka support! #2122
Conversation
P.S. Yes, I reviewed my own code. I've found it helps me. |
Hey, thanks for for PR! Some quick feedback regarding the ticket for Dokka:
Not sure about the rest, I never used Dokka on my own :< |
Okay! I'll move it to a plugin, and maybe I'll find a way to run tests after build (to save time). Otherwise, I'll revert the ARM changes. Thanks for the feedback! Edit: A plugin might make it easier for me, since I'm deploying it on a private server that's separate from the VM I'm using to develop it, so the build time should be faster for that. xD |
Also, yeah, dealing with JS is tricky. I might have to end up making a custom frontend for Dokka that reads its data and renders it. Dokka uses a lot of manifests and json so it shouldn't be too hard. |
Dokka also allows for non-default JS to be loaded at buildtime in the jar, so that might cause issues (but I do think it is important to support, Dokka's whole thing is being super extendible and pretty) |
Do we need a custom Dokka frontend and prism styles though? That should be handled by the user with the aforementioned custom CSS/JS in the Dokka jar individually. This feels like some things in this PR are specific to your own use but I'm not sure |
I'd want to do this, but when I try to load a dokka site, none of the members or classes load when looking at a page. I can't see any issues even in the console. It confuses me. If I find a solution, I'll remove the custom frontend entirely. |
I'm also kinda clueless here :p I'm just throwing stuff at the wall and seeing what works |
Hey @dzikoysk I fixed the issues, now I just need to move it into the plugin. How do I do this? I just copy and pasted the directory and references, so I don't actually know how to make a plugin. Is there some documentation I am missing? |
Also the error was just a content security policy thing. :p |
Also for some reason, there are a bunch of "changes" that I had nothing to do with - I think VS Code is just fricking around with line endings. |
Also it still doesn't work outside of the Edit: Nevermind, it totally does! 🎉 |
This is amazing, thank you so much! 🎉 |
The majority of your code uses the standard plugin API as far as I know. You can look at something like swagger-plugin and just create a new entry for I'm not sure how frontend plugins work though... |
Ok. I got rid of the frontend too, so it shouldn't matter there. |
Hi sorry I've been silent on this for a while, I've been doing other stuff and... finals. Hopefully I'll have this done within the next week or so. |
No rush, take your time :) |
I'm gonna be honest, I use dokka a decent amount and I have basically never seen an Are those files actually used in practice? Because afaik, you'll generally publish dokka documentation in a As for the dom exceptions, I've figured out that you can remove the |
This adds support for Dokka like Javadoc!
Closes:
Improvements:
A few things, though:
fetch
and that doesn't work with the current access control system. Please help!