[MOB-9676] docs and doc generator#610
Conversation
…ackage.json for documentation generation; make properties in IterableInAppMessage optional for better flexibility.
…; update ESLint configuration to include TSDoc syntax rule
…and to package.json; enhance Iterable class documentation and export additional types for improved type safety.
…ing; update README and configuration files accordingly.
…config.mjs with updated settings; enhance README and add comments to IterableAuthResponseResult enum
… improve usability and clarity
…p descriptions and examples for IterableInbox, IterableInboxEmptyState, IterableInboxMessageCell, IterableInboxMessageDisplay, and IterableInboxMessageList to improve clarity and usability.
…n hooks: add detailed comments, examples, and interface definition for better clarity and usability.
…ions and comments for IterableInboxImpressionRowInfo, IterableInboxRowViewModel, and IterableInboxCustomizations interfaces to improve clarity and usability.
…classes: add detailed descriptions, constructor comments, and improve clarity for properties. Update IterableInboxImpressionRowInfo interface documentation.
…bleLogger, and IterableUtil classes: add detailed descriptions, constructor comments, and examples to improve clarity and usability.
…e class: add detailed descriptions, constructor comments, and examples to improve clarity and usability. Documentation based on iterable public documentation.
…ep linking examples, and update parameter descriptions for better understanding.
…d update Iterable example formatting
… descriptions, clarify usage, and improve overall clarity and usability.
…or IterableInAppTrigger, IterableInAppContentType, IterableInAppTriggerType, and IterableInAppContent; update package.json for simplified docs command.
…ndleAuthFailureCalled description
…prove usability, and remove TODOs for better understanding.
…et notDocumented to true
…0.0-alpha/MOB-9676-new-doc-generator
…0.0-alpha/MOB-9676-new-doc-generator
…0.0-alpha/MOB-9676-new-doc-generator
evantk91
left a comment
There was a problem hiding this comment.
Generally looks good. Lots of nit picks and small changes.
There was a problem hiding this comment.
In the android SDK, createdAt, expiresAt, customPayload, and priorityLevel are non null. We need to think about if we want to make these optional.
There was a problem hiding this comment.
GREAT point. Let me think about it. I'll likely change.
| type IterableInboxEmptyStateProps, | ||
| type IterableInboxImpressionRowInfo, | ||
| type IterableInboxMessageCellProps, | ||
| type IterableInboxProps, |
There was a problem hiding this comment.
Strange why were all these imports added here?
There was a problem hiding this comment.
These were needed for the docs generator. It will only document public components.
typedoc.json
Outdated
There was a problem hiding this comment.
This is configuration for the documentation generator
| * If set to false, the SDK will immediately retrieve and process in-app messages from the message queue. | ||
| * The default value of isAutoDisplayPaused is false (in the native code). | ||
| * | ||
| * @param {boolean} paused whether the automatic displaying should be paused |
There was a problem hiding this comment.
Is there a reason all the types were removed from description?
There was a problem hiding this comment.
They're meant to be left out in typescript -- the doc generator adds them automatically
evantk91
left a comment
There was a problem hiding this comment.
Added pic for reference for IterableAction
evantk91
left a comment
There was a problem hiding this comment.
Looking good. Went through the PR comments in a call :)
🔹 JIRA Ticket(s) if any
✏️ Description
Added documentation and a doc generator (though we're not currently serving the docs anywhere)