Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-9823

Tooling: Collate platform-since versions before calling generator

    Details

      Description

      For the JSDuck generator, I'm trying to improve the display of the "since" dates, but the logic is complicated when dealing with per-platform since dates. For example, given:

      since:

      { android: "2.1.0" }

      The generator just gets the object. To turn it into a reasonable display, it needs to figure out:

      • which platforms are supported
      • the default "since" values for each of those platforms, since they're not specified
      • whether the enclosing object has a since: date on it, which we should use instead of the default "since" date, if it's newer

      It would be excellent if docgen could collate this information, and replace the partial "since" object with a complete one. This would make it trivial to display since.

        Attachments

          Activity

            People

            • Assignee:
              billdawson Bill Dawson
              Reporter:
              aevans Arthur Evans
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Source Code