-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Heading levels are messed up in the reference page of SecurityBundle #20716
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
Comments
Note that the reference is also incomplete. For instance, the top-level key |
@OskarStark I'm removing myself from being assigned in this issue. I'm sorry but I don't understand the Symfony Security component well, so I can't work on this. |
Fixing the headings was a quick fix. In general that site might need some love in general though. I think moving some of the links mentioned in basic options to the relevant subheadings to give these links more context. My first day contributing to symfony docs though so I would prefer to read up a bit more on how these pages should be structured before I do any bigger changes. |
* 6.4: Fix Headings mentioned in symfony#20716
* 7.2: Fix Headings mentioned in symfony#20716
* 7.2: Fix Headings mentioned in symfony#20716 fix: Add missing ContainerBuilder use statement in Bundle documentation Update overview.rst Add missing default value in the Twig reference
…ence (stof) This PR was merged into the 6.4 branch. Discussion ---------- [Security] Fix more heading levels in the security reference This does the remaining fixes for #20716: - ensure that firewall subkeys are indeed nested - remove the documentation of `delete_cookies` as a `<h2>` (we already have the duplicate content in the appropriate location under `logout`) - fix `providers` and `role_hierarchy` being rendered properly as h2 (this is actually fix by changing the delimiter used for h2, being consistent with the other documentation pages, keeping the `~~~` delimiter for elements that should become `h3`). Commits ------- cb7e538 Fix more heading levels in the security reference
https://symfony.com/doc/current/reference/configuration/security.html has a messed up heading hierarchy.
access_control
andfirewalls
are top-level keys, not subkeys ofsession_fixation_strategy
. And all headings coming afterfirewalls
should be sub-heading offirewalls
as they document its subkeys.role_hierarchy
andproviders
are also top-level jets but are documented as subkeys ofrequired_badges
(which is should be one of thefirewalls
subkeys)some other things also don't make sense at all.
delete_cookies
is a sub-key oflogout
but is not documented as such (fortunately, there is a code snippet).The text was updated successfully, but these errors were encountered: