grunt-jquery-content icon indicating copy to clipboard operation
grunt-jquery-content copied to clipboard

API Sites: Support for custom types

Open scottgonzalez opened this issue 10 years ago • 4 comments

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

scottgonzalez avatar Jun 23 '14 15:06 scottgonzalez

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.

jzaefferer avatar Jun 24 '14 14:06 jzaefferer

Any idea how to approach this?

jzaefferer avatar Sep 02 '14 15:09 jzaefferer

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.

scottgonzalez avatar Sep 05 '14 14:09 scottgonzalez

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.

jzaefferer avatar Sep 05 '14 20:09 jzaefferer