🌐 AI搜索 & 代理 主页
Skip to content

Conversation

@maidmaid
Copy link
Contributor

Copy link
Member

@javiereguiluz javiereguiluz left a comment

Choose a reason for hiding this comment

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

@maidmaid thanks for this contribution!

We usually explain a new feature and then add the versionadded mentioning when it was added ... but in this case, the versionadded directive tries to explain the feature and show when it was added. I think it's missing some context or explanation.

@maidmaid
Copy link
Contributor Author

How to do? Add a new Registering an Existing Processor chapter?

@javiereguiluz
Copy link
Member

@maidmaid I don't know exactly how to do it. I'm going to think about this, but maybe @xabbuh has some ideas too.

An example of what I wanted to explain: https://github.com/symfony/symfony-docs/pull/8146/files In that PR we explain the new feature very briefly and then we say that it's new in Symfony 3.4.

@xabbuh
Copy link
Member

xabbuh commented Jul 18, 2017

I think the best solution would be to have a paragraph explaining how to enable this processor and then add a versionadded directive after that which mentions the Symfony version it was added.

@HeahDude
Copy link
Contributor

Agreed with @xabbuh.

@HeahDude HeahDude added this to the 3.4 milestone Jul 29, 2017
@nicolas-grekas
Copy link
Member

ping @maidmaid :)

wouterj added a commit that referenced this pull request Apr 7, 2019
This PR was merged into the 3.4 branch.

Discussion
----------

Adds documentation for monolog processors.

Adds both a short description for existing processors as well as a note for the newly added TokenProcessor added in 3.4. I tried not to interfere with #10244 as this introduces documentation for more processors added in 4.3, so that PR hopefully can build on this one.

Replaces #8156

EUFOSSA

Commits
-------

67f8c2c Adds documentation for monolog processors.
@wouterj
Copy link
Member

wouterj commented Aug 17, 2019

Hi @maidmaid. Thanks for submitting this documentation, some months ago we merged #11328 which was based on your work in here. So I'm going to close this one. Hope to see you back in the future with more contributions!

@wouterj wouterj closed this Aug 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants