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

Generate and embed PlantUML diagrams into Orchid Kdoc #275

Open
DanySK opened this issue May 29, 2019 · 2 comments
Open

Generate and embed PlantUML diagrams into Orchid Kdoc #275

DanySK opened this issue May 29, 2019 · 2 comments
Labels
feature proposal A proposal for a new feature in Core or an existing plugin feedback wanted Feedback from the community is greatly appreciated, to make this exactly what the community wants plugins Project Type: Plugins, Language extensions under consideration Issue Status: Under consideration

Comments

@DanySK
Copy link
Contributor

DanySK commented May 29, 2019

This is a feature proposal for improving the Kdoc documentation tool (and, possibly, other documentation tools).
Using the information currently used for generating the pages, we could generate and embed an UML class diagram with:

  • Current class
  • Directly implemented interfaces
  • Superclass
  • Known direct subclasses
  • Possibly, sibling classes

The apiviz doclet for Javadoc can do something similar.

@cjbrooks12
Copy link
Contributor

@javaherisaber was asking about something similar in the Gitter chat. I haven't seen the APIViz doclet before, but it looks like it should be able to be done easily enough in Orchid.

The only potential concern from me is that it adds a dependency between the OrchidKotlindoc and OrchidDiagrams plugins, which I'm trying to avoid. I feel like this should be broken out into a separate plugin. Modularizing the code-doc structure (which I want to break ground on very soon with #232) will make this less of a concern, but it will be a little while until I could add this feature to Orchid itself.

In the meantime, you could try making your Component which adds this functionality, if you're looking for something more immediate. I'd be happy to help you get that setup and figure out how these pieces would all fit together in a custom Component so you could flesh it out.

@cjbrooks12 cjbrooks12 added plugins Project Type: Plugins, Language extensions under consideration Issue Status: Under consideration feature proposal A proposal for a new feature in Core or an existing plugin feedback wanted Feedback from the community is greatly appreciated, to make this exactly what the community wants labels May 30, 2019
@Odaym
Copy link

Odaym commented May 31, 2019

I would like to have this feature mainly to be able to onboard new developers more easily by showing them an overview of the classes and how they work together, for the bigger picture of what's going on really. Thanks a lot for the effort

@cjbrooks12 cjbrooks12 pinned this issue Jul 18, 2019
@cjbrooks12 cjbrooks12 unpinned this issue Sep 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature proposal A proposal for a new feature in Core or an existing plugin feedback wanted Feedback from the community is greatly appreciated, to make this exactly what the community wants plugins Project Type: Plugins, Language extensions under consideration Issue Status: Under consideration
Projects
None yet
Development

No branches or pull requests

3 participants