Where can I find documentation to create a plugin for DraftSight?

I would like to create a plugin that contains a dockable control. I am having trouble finding a starting point for this. If you could point me in the right direction, I would really appreciate it.