grunt-jquery-content
grunt-jquery-content copied to clipboard
API Sites: Support for custom types
Determine if there's a sane way to have custom types or if we should just include the custom types in the standard Types page, even though they're not really relevant to jQuery Core.
See https://github.com/jquery/api.qunitjs.com/issues/55
This could also be used in the jQuery UI (and Mobile) API docs for the new instance
method. Currently we have to document that as returning Object
. With custom types we could be more specific.
Any idea how to approach this?
I think there are really only two choices. 1) We put all types on api.jquery.com, even if they have nothing to do with jQuery. 2) We duplicate the types page on each site, allowing each site to add whatever they need.
Maybe we can go with 2) while maintaining a template in this repo, with a copy of the file from api.jquery.com. Then other sites can extend that template instead of duplicating everything.
If that's too much effort, going with 1) seems okay. We can have a header that groups "outsiders" together, with links to their respective sites.