dominikh / go-js-dom

MIT License
248 stars 42 forks source link

Add documentation #7

Open dominikh opened 10 years ago

dominikh commented 10 years ago

We will want to document all of the public methods and types. For the majority, we should be able to copy existing documentation (for example from the MDN), as long as it's licensed in an acceptable way.

Some methods have behaviour specific to our bindings, which will need handwritten documentation.

This is a long-term goal. It won't happen now, and it doesn't have to happen all at once.

siongui commented 8 years ago

I write some examples of GopherJS and this DOM bindings on my blog. If you want, you can tell me how to contribute these examples to doc here. I can help. Thank you.

dominikh commented 8 years ago

Nice articles! However, this issue is more about API level documentation, not examples. We will probably want to convert the MDN documentation eventually.

dmitshur commented 8 years ago

Sorry for off-topic post, but I just really want to say this! @siongui, your blog and all the GopherJS-tagged posts are really really awesome! Nice work! I'll be sure to point people interested in trying and learning how to use GopherJS to them. Thanks for creating them. :)

dmitshur commented 8 years ago

@siongui, is it okay with you if I add your GopherJS blog posts to a new "Tutorials and Blogs" section in the GopherJS wiki? You have the first one that I know of. :) I think it'd be extremely valuable for the community to have that section!

siongui commented 8 years ago

@shurcooL, sure. I am glad to make contribution s to GopherJS. This is a great project. You can do whatever you want with my posts. All my work is released in public domain.