Ticket #7831 (new enhancement)

Opened 3 months ago

Last modified 7 days ago

split up dojo namespace in meaningful sub-sections in API docs

Reported by: mikewse Owned by: pottedmeat
Priority: normal Milestone: future
Component: Documentation Version: 1.2.0
Severity: normal Keywords:
Cc: ttrenka, bill

Description

Dojo's generated API docs have a huge section for the dojo root namespace at http://api.dojotoolkit.org/jsdoc/dojo/HEAD/dojo and this becomes a bit hard to overview.

It would be great if this could somehow be split up in logical sections to easier find your way around it. Possible alternatives for splitting could be f ex augmenting the namespace based categories with sub-sections based on source file:

dojo:
  (connect.js)
  (declare.js)
dojo.back:
dojo.cldr:
...

or adding some special parser tag to be able to add categorization information to each file or function and use those headings in the docs:

dojo.declare = ...
  // @category=Object-Oriented Class Support
  // ...
->
dojo:
  (Object-Oriented Class Support)
dojo.back:
...

Change History

Changed 3 months ago by peller

  • cc ttrenka added

I think we had some sort of 'tags' at one point proposed for this?

Changed 7 days ago by dante

  • cc bill added
  • owner set to pottedmeat
  • milestone changed from tbd to future

we did. bill - you were conceiving a list of potential tags you wanted to use throughout dijit, like "private" "protected" etc, and that format was going to be expanded into something usable generically, so we could group them in templates in jsdoc.

tags here are important, and keeping concepts grouped together would help overall in documenting the toolkit effectively. (note: we are already doing this manually in the quickstart/ section of the wiki docs)

Note: See TracTickets for help on using tickets.