
Decentralized (flexibility, decoupling, allow third-party innovation)
Rich materials
Low barrier to entry
Free (support free server options)
Easy to set up
Provide (optional) out-of-the-box solutions for docs, examples, sandboxing (moar components!)
Use free GitHub services
To participate in the ecosystem a component should have
github repository
landing (aka home or index or information) page
demo page
A component can be identified as a URL that points to a metadata file. The metadata (or the URL itself) identifies the github repository and the dispensation of the landing and demo pages.
Developer can set up live pages using GitHub servers by cloning the component repository into a gh-pages branch (and including dependencies; iow, clone working copy, bower install, push to gh-pages branch). This set up requires no customization and can be automated.
Example: three-js component installed to gh-pages:
landing page:
http://polymer.github.io/three-js/components/three-js/
demo page:
http://polymer.github.io/three-js/components/three-js/demo.html
Follow Polymer on Google+: plus.google.com/107187849809354688692
---
You received this message because you are subscribed to the Google Groups "Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to polymer-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/75b0e259-cd73-4806-b6ee-00cd7b1b7a17%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/CAAKPnK8ce1bDtSZG0W0RWiQMiz5CfkdWuzmRKuwtzdNNsZE03Q%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/CAHbmOLbND3RpoYW1wbH6d6UoqcVA_am1YP%2BDVS6q%3DRWD6bQaag%40mail.gmail.com.
That was quick! Thanks Scott.
Maybe once you guys have fleshed out the docs strategy we could figure where this should live long term? :) pp vs wc
There are a bunch of new developments in this area. We're currently fleshing out a common steup to document elements, provide a demo link, landing page, and a .zip download option other than Bower. It's still early, but here's an example if you're interested:
Follow Polymer on Google+: plus.google.com/107187849809354688692
---
You received this message because you are subscribed to the Google Groups "Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to polymer-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/ea96c526-68f9-4ff6-acc1-a74b1cae18e1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Eric,I wonder if this sort of automatic documentation is only made for polymer core (and ui) components, or if that should also be the way to go when implementing custom polymer elements.
Over at AngularJS, we've built a new tool to make automation of documentation generation called "dgeni". Basically the tool itself is nothing more than a system that consumes a stack of processors and pipes them at execution time. This gives us super high flexibility when it comes to custom features like custom annotations, custom templates, filters, actually what ever you want. It's still in early development but is already used for the angular docs.Now I thought it'd probably also a cool thing to build a processor package for it that handles polymer specific features. Other people that develop polymer components could use the same features too then.
On Monday, April 8, 2013 9:02:19 PM UTC+2, Eric Bidelman wrote:Inspired by Mike K's great idea of self documenting custom elements, I've written a proposal to formalize the effort.We have a great opportunity here to come up with best practices early on.Proposal: Self Documenting Custom Elements- prototype - a custom element that uses this method.
- it's <wc-documentation> (best viewed in Chrome Canary to get ::distributed()).
Things I like about this approach:- The delivery mechanism is <link rel="import">.- Becomes the "view source of custom elements". Click an import's link -> get its docs.- The docs themselves are custom elements- works reasonably well in other modern browsers, especially if the toolkit polyfills are included.Looking for everyone's feedback.Eric Bidelman
Follow Polymer on Google+: plus.google.com/107187849809354688692
---
You received this message because you are subscribed to the Google Groups "Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to polymer-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/f4d4b3d2-d9d3-41e8-a015-065851cc3bab%40googlegroups.com.