AdamsLair / duality

a 2D Game Development Framework
https://adamslair.github.io/duality
MIT License
1.41k stars 287 forks source link

Improved HelpAdvisor display #12

Open AdamsLair opened 11 years ago

AdamsLair commented 11 years ago
youssefMansour commented 10 years ago

Hi I want to help. I'm newbie with duality and opensource. Would you like to support me? thanks :)

AdamsLair commented 10 years ago

Hi youssefMansour,

I'm glad you like Duality and are willing to help. Although I'm quite busy right now and thus can't give you a personal guide into both Duality and contributing, there is already a little bit of documentation available on how to use Duality and how to help. If you're new to Duality, working on actual issues is not the right spot to start, but there are a lot of other ways to help that are definitely appreciated as well!

If you need additional support, feel free to join the community, present your work and get in touch with others. :)

Regards, Adam

Xinayder commented 8 years ago

Alright, I gave it a look a few months after my last comment (which contained wrong information now that I correctly tested it), and the way Duality "renders" the help text prevents HtmlRenderer from working.

What you'd need to do is either:

In case letter B is chosen, you should consider markdown rendering instead of HTML (or support both). Markdown for the win!

ilexp commented 8 years ago

In case letter B is chosen, you should consider markdown rendering instead of HTML (or support both). Markdown for the win!

The more I think about it, the more I prefer markdown as well. There are probably some good markdown renderers out there for .Net as well.

An additional requirement will be properly displaying C# XML comment markup, since most help advisor texts are generated from them. For keeping compatibility with Visual Studio and reference generators, XML comments will be required to use their own markup and unable to use markdown syntax. The advisor could then convert them to markdown before parsing it, not a problem - however, a consequence would be that the only way users could truly enter markdown help texts is for custom help advisor topics.

Probably not as awesome as one might think when reading "markdown support for help advisor text", but still :)

SirePi commented 4 years ago

Been playing around a bit, but I might need some help from @ilexp for dealing with external dependencies image

ilexp commented 4 years ago

Looks neat 👍 What do you need?

SirePi commented 4 years ago

Initially I was thinking about having to deal with external dependencies, and how to make them go in the Plugins directory on build but, if #786 goes through, maybe there is no more need for this.

Just in case though, is there something needed, or does it happen automatically if the plugin sits in a nuget package? been a while since I last did an editor plugin 😄

ilexp commented 4 years ago

If you bundle the dependencies directly in your package, they will be treated the same as the package itself and will go in the Plugins folder - which is fine and should work. If you link them as a dependency of your package, it depends on how that package is tagged. If it's a regular library, it will go to the root folder, if it's a Duality plugin, the same applies. Both cases are supported. If you're interested, this is where to look for the implementation.