Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing className file format documentation for ios-swift classes #931

Merged
merged 1 commit into from
Mar 23, 2023

Conversation

germain-gg
Copy link
Contributor

Issue #, if available: N/A

Description of changes:

Adding the missing file property className.
This template (see https://github.com/amzn/style-dictionary/blob/main/lib/common/templates/ios-swift/any.swift.template) confirms that this property can be used, but is undocumented,

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Copy link
Member

@dbanksdesign dbanksdesign left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for catching this! That props table is generated from a JSDoc comment, here: https://github.com/amzn/style-dictionary/blob/main/lib/common/formats.js#L915

And then run npm run generate-docs

Just to make sure this change doesn't get wiped out.

@germain-gg
Copy link
Contributor Author

Thank you for the review @dbanksdesign
I've made those changes. It looks like npm run generate-docs was lagging a bit behind, so there's a few unrelated changes in the diff.

@dbanksdesign dbanksdesign merged commit c01f4cf into amzn:main Mar 23, 2023
dbanksdesign pushed a commit that referenced this pull request Mar 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants