typedoc-plugin-pages icon indicating copy to clipboard operation
typedoc-plugin-pages copied to clipboard

typedoc-plugin-pages : support of plantuml document

Open yboujraf opened this issue 4 years ago • 6 comments

Dear @mipatterson

I am following your plugin and it seems answering my request.

PLANTUML RENDERING

I have external document in markdown where we have plantuml sequence diagram to document our project.

Do you think you will suport it. We already using plantuml plugin but don't now if we could use multiple plugin at same time to render the doc ?

Best Regards, Youssef

yboujraf avatar May 02 '20 04:05 yboujraf

I started working on this one: http://tplant.loopingz.com/ as I would also like to integrate it with my docs.

It is available on github.com/loopingz/tplantviewer

loopingz avatar Nov 25 '20 06:11 loopingz

My concern here is that this plugin will never (and should never be expected to) perform every function that other plugins provide. It's just not sustainable. That being said, I do recognize that UML support seems to be popular among the users of TypeDoc.

Rather than implement this feature inside this plugin, I'm thinking it might be better to provide some sort of mechanism for third-party code to preprocess the Markdown that is rendered to pages. Though I'm hesitant to build a plugin framework for a plugin of a framework 😆.

I'm also wondering if the work I'm doing to support HTML pages might not be another avenue for achieving this in the short-term. This will allow you to include HTML-based pages in the build.

Let me give this some more thought. Perhaps there is a way to re-raise the TypeDoc events so that other plugins (like PlantUML plugins) would preprocess as normal without even knowing about this plugin...

mipatterson avatar Nov 25 '20 17:11 mipatterson

Yes, I do not think this stands in this plugin. The uml plugin should be a separate plugin that trigger a tplant export and reprocess it as other pages. That is why I started playing with how to display it

loopingz avatar Nov 25 '20 17:11 loopingz

just let people describe markdown plugins that already perform this function

airtonix avatar Dec 10 '20 00:12 airtonix

@airtonix not sure what you meant

loopingz avatar Dec 11 '20 14:12 loopingz

@loopingz it was a casual drive by comment at @mipatterson.

typedoc-plugin-pages should just expose a configuration option to control which marked plugins to use.

airtonix avatar Dec 22 '20 23:12 airtonix