KnpMenuBundle icon indicating copy to clipboard operation
KnpMenuBundle copied to clipboard

Adding documentation about voters

Open Nek- opened this issue 9 years ago • 6 comments

  • DI tags
  • priority (see #281)

Nek- avatar Jul 04 '14 13:07 Nek-

This is now documented in the library, I don't think we have to document it in the bundle?

wouterj avatar Aug 28 '15 07:08 wouterj

i think the bundle documentation should mention and link it in some place (maybe list the features of the library in the bundle introduction?). and do we have DI tags for the voters? if so we should document them here.

dbu avatar Aug 28 '15 08:08 dbu

We have DI tags

stof avatar Aug 28 '15 08:08 stof

@dbu +1

They're not documented, though. And I'm not seting a foot inside the /vendor/ folder to dig it out myself! Nothing good ever comes from meddling there!

PS: @wouterJ how to do configure stuff on a library doesn't always match the "symfony way". There's often a better way specific to the bundle. That should be documented here, in the bundle. It's not that you can't do it the other way, but it is usually better(more mantainable/painless) to stick to what the developers have in mind, so it won't break in the next minor version or edge cases or worse,you inadvertedly try to "reinvent the wheel's menu" when there's already some hidden magic that could do the job for you.

xDaizu avatar Dec 17 '15 16:12 xDaizu

@xDaizu i am not sure if anybody currently maintaining this bundle is the person who wrote that part of the code. we all dig into things and figure out stuff. open source is not only about consuming code for free, but also about everybody helping and contributing back. i am sure good things come from looking into /vendor/ and understand what your project is based on, at the least you will learn a lot. don't be afraid of breaking stuff, you will get feedback on pull requests.

dbu avatar Dec 17 '15 16:12 dbu

@dbu I know, I know, it was mainly a joke. It should be documented, though. It will make the life of newcomers like me way easier. But I intend to keep poking (both the code and the community). If people more savvy than me doesn't document it, be it a matter of time or priorities, rest assured, I'll eventually do it myself. :)

xDaizu avatar Dec 17 '15 17:12 xDaizu