-
-
Notifications
You must be signed in to change notification settings - Fork 364
[Icons] Some doc updates #1602
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
[Icons] Some doc updates #1602
Conversation
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.
Fantastic contribution Simon!
I left some comments while reviewing it. You don't have to do ALL requested changes. Let's discuss about them if you disagree. Thanks!
src/Icons/doc/index.rst
Outdated
------------ | ||
|
||
The UXIcon component is designed to be as fast as possible, while offering a | ||
great deal of flexibility. The following are some of the optimizations made to |
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.
I'd remove the mention to "flexibility". Let's focus on saying that UX Icons is fast and how is that possible.
TwigComponent | ||
~~~~~~~~~~~~~ | ||
|
||
The ``ux_icon`` function is optimized to be as fast as possible. To deliver the same level |
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.
is optimized to be as fast as possible
-> is optimized for speed
</svg> | ||
|
||
|
||
Configuration |
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.
I think we don't need this section because we already show that in other part of this doc.
Thank you very much @javiereguiluz ! I'll look in depth tonight :) |
This PR was merged into the 2.x branch. Discussion ---------- [Doc] Tweaks and fixes for UX Icons docs | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | Issues | - | License | MIT I think we should mention some of the popular icon sets so people googling for them and Symfony can find this page. Also, let's show the config file path in the config example. I'm not sure if we want that file path to be `config/packages/ux_icons.yaml` In #1602 we're making more changes to docs, so, if this PR is merged, I think it should be merged before #1602. Thanks! Commits ------- e3ac0a2 [Doc] Tweaks and fixes for UX Icons docs
Thank you for the kind words! I have a big rebase to do first, and we'll see then :)) But if i miss one it's not volontary :) |
1ccdec9
to
ca25e9c
Compare
@javiereguiluz @kbond i let you fix / merge change if you want, i won't have time next days/week :( I'va added a list of main packages with prefix and links too |
I probably made some mistake, the rebase has been an epic fight (that i lost 😓 ) |
from my experience it's way easier to rebase when you have a single commit only :) |
The challenge here was to manage a file that had been deeply modified by two separate pull requests (PRs). In reality, this shouldn't have been a problem, and it was a mistake on my part to work on this file at the same time as @kbond 😄 |
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.
Good job Simon!
I left some comments, but many of them are really minor. Thanks!
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.
Very nice! 👏 Thanks!
664629e
to
f6523cf
Compare
Thanks Simon. |
Step by step...