Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[3.0] Removed 2.x versionadded directives#4766

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
wouterj wants to merge1 commit intosymfony:masterfromwouterj:remove_versionadded

Conversation

wouterj
Copy link
Member

No description provided.

@wouterj
Copy link
MemberAuthor

To explain: I think we should start with a clean docs in 3.0, only adding changes of 3.0.

@javiereguiluz
Copy link
Member

@wouterj I agree 100% with you! This is a great idea!

@stof
Copy link
Member

stof commentedJan 5, 2015

👍

@xabbuh
Copy link
Member

👍 We just need to be aware do this again when new features are documented on the2.x branches (we have pending pull requests for2.6 and there will very likely new features in2.7).

@fabpot
Copy link
Member

This is indeed a good idea, but I think that everytime we remove a versionadded directive, we also should remove the old way. If you merge this PR as is, it will be much more difficult to this afterwards.

If you take for instance thereference/twig_reference.rst file, you removed the following directive:

.. versionadded:: 2.6     The ``app.security`` global is deprecated as of 2.6. The user is already available     as ``app.user`` and ``is_granted()`` is registered as function.

It's very clear that all references toapp.security must be removed from the docs or replaced by the better alternatives. But without this directives, it's much harder to know what is obsolete and what is not. In this specific case, it's quite simple as it's about removing the docs forapp.security, but it can be more subtle elsewhere.

@wouterj
Copy link
MemberAuthor

That a great point I didn't think about. If I'm correct, we have always removed old behaviour, but I'll check it again and open other PRs to fix them. Until that's done, I label this as on hold.

@xabbuh
Copy link
Member

@wouterj Yes, usually we did. Last weekend I checked the pull request on the code repository that removed deprecated features in the 3.0 branch and we already covered most of them. There were only a few things left and we now have pull requests for them.

@wouterj
Copy link
MemberAuthor

Closing in favor of#5585

@wouterjwouterj deleted the remove_versionadded branchJuly 31, 2015 18:27
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

5 participants
@wouterj@javiereguiluz@stof@xabbuh@fabpot

[8]ページ先頭

©2009-2025 Movatter.jp