-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
docs(Example): add ShorthandExample and ability to version docs #1868
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1868 +/- ##
=======================================
Coverage 99.76% 99.76%
=======================================
Files 148 148
Lines 2556 2556
=======================================
Hits 2550 2550
Misses 6 6 Continue to review full report at Codecov.
|
I was thinking of publishing multiple versions of the doc site itself. Something like lodash: How do you envision we'd go about adding version tags to examples/components? One other idea is to use jsdoc tags. These would be parsed and added to I like the shorthand example idea. It would be great to figure a way to give us hints as to which components are missing shorthand examples. Maybe to move this one forward you could update this PR with a couple examples and we can make a determination from there. |
@levithomason I like your idea, I think that we will go with it. However, I still think that proposed idea with tags is good for SUI. I will make some updates. |
27d745f
to
b68d92b
Compare
Merge conflicts should be resolved |
…React into docs/example-n-version # Conflicts: # docs/app/Components/ComponentDoc/ComponentExample.js # docs/app/Examples/collections/Menu/Types/index.js # docs/app/Examples/collections/Table/States/index.js
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Merge conflict resolved, ready for review
Has merge conflicts |
…antic-UI-React into feat/breakpoint # Conflicts: # test/specs/addons/Breakpoint/Breakpoint-test.js
I solved merged conflicts, however I want merge #1981 before this, becuase there will be merge conflicts. |
Unblocked, merged #1981 |
…React into docs/example-n-version # Conflicts: # docs/app/Components/ComponentDoc/ComponentExample/ComponentExample.js # docs/app/index.ejs
@levithomason I've merged with |
Looks good, thanks! |
Released in |
* docs(Example): add ShorthandExample and ability to version docs * docs(Example): add versions to examples * docs(Example): use Shorthand example * fix(ComponentExample): remove cruft `divided` * mixed(ComponentExample): merge with master, update version position
This PR:
Versioning
Shorthands
I think that each example should have full and shorthand markup and this code will be more clear for us: