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

Minor documentation fixes #322

Merged
merged 2 commits into from
Feb 13, 2017
Merged

Minor documentation fixes #322

merged 2 commits into from
Feb 13, 2017

Conversation

n1313
Copy link
Collaborator

@n1313 n1313 commented Feb 13, 2017

This PR cleans up grammar and fixes a few typos in the docs.

@sapegin
Copy link
Member

sapegin commented Feb 13, 2017

Thanks, this is awesome!

I wrote you some comments to the commit itself but don’t see them in the PR ;-/

@@ -1,16 +1,18 @@
# Documenting components

Styleguidist generates documentation from three sources:
Styleguidist generates documentation for your components based on the comments in your source code, propTypes declarations and your Readme files.
Copy link
Member

Choose a reason for hiding this comment

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

Not sure about “your Readme files”. It’s more like a Styleguidist requirement ;-)

## PropTypes and component description in the source code
## Code comments and propTypes

Styleguidist will display a JSDoc comment block at your component's class declaration. Also, it will pick up props that your component uses from propTypes declarations and display them in a nice table together with their defaults, accepted values (where appropriate) and accompanying JSDoc comments.
Copy link
Member

Choose a reason for hiding this comment

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

  • Not only classes, functional components too.
  • “props that your component uses” → “your component‘s props”?
  • “nice” → “”.

@codecov-io
Copy link

codecov-io commented Feb 13, 2017

Codecov Report

Merging #322 into next will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             next     #322   +/-   ##
=======================================
  Coverage   91.84%   91.84%           
=======================================
  Files          70       70           
  Lines         956      956           
  Branches      193      193           
=======================================
  Hits          878      878           
  Misses         78       78

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 066b03f...7224800. Read the comment docs.

@sapegin sapegin merged commit d51635f into next Feb 13, 2017
@sapegin sapegin deleted the minor-text-fixes branch February 13, 2017 09:16
@sapegin
Copy link
Member

sapegin commented Feb 13, 2017

🔥

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.

3 participants