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

Documentation #99

Closed
LucasCarioca opened this issue May 24, 2020 · 4 comments
Closed

Documentation #99

LucasCarioca opened this issue May 24, 2020 · 4 comments
Labels
Projects

Comments

@LucasCarioca
Copy link
Contributor

v2 ticket

Ticket description:

We should try to standardize in code documentation for this project. If we do, we can then auto generate docs from the code.

Possible doc generation https://github.com/SwiftDocOrg/swift-doc

Info on in code documentation: https://sarunw.com/posts/swift-documentation/

@LucasCarioca
Copy link
Contributor Author

Thoughts? Alternatives?

@satan87
Copy link
Contributor

satan87 commented May 24, 2020

When you Command+Clcik on a method, Xcode can add the documentation for you.
/// <#Description#>
/// - Parameters:
/// - startPoint: <#startPoint description#>
/// - endPoint: <#endPoint description#>
/// - Returns: <#description#>

Example:
/// Convenience method to return a LinearGradient from the ColorGradient
/// - Parameters:
/// - startPoint: starting point
/// - endPoint: ending point
/// - Returns: a Linear gradient

Screen Shot 2020-05-24 at 4 31 32 PM

We could start with that?

Nicolas

@LucasCarioca
Copy link
Contributor Author

Yeah exactly. That swift doc project just reads the code and makes a md or html files of that documentation to be published as github pages.

We could just start by making sure to include documentation (like you showed) with every change.

@AppPear AppPear added the v2 label May 25, 2020
@AppPear AppPear added this to To do in version 2.0 via automation May 25, 2020
@danwood
Copy link

danwood commented Aug 19, 2020

I can work on this for a bit. Not sure how to assign this to myself or how to move the card in the column view....

@danwood danwood mentioned this issue Aug 20, 2020
7 tasks
version 2.0 automation moved this from To do to Done Nov 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
version 2.0
  
Done
Development

No branches or pull requests

4 participants