10000 Fixed the TOC of the main Forms article by javiereguiluz · Pull Request #10713 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

Fixed the TOC of the main Forms article #10713

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

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions forms.rst
Original file line number Diff line number Diff line change
Expand Up @@ -695,11 +695,10 @@ Learn more
:maxdepth: 1
:glob:

form/*

* :doc:`/controller/upload_file`
* :doc:`/reference/forms/types`
* :doc:`/http_cache/form_csrf_caching`
/form/*
/controller/upload_file
Copy link
Contributor

Choose a reason for hiding this comment

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

Is that slash at the beginning needed? since form/* doesn't have it?

Copy link
Member Author

Choose a reason for hiding this comment

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

Good catch! I've added the leading slash to forms.

Also, it looks like all formats are supported. Most toctree add a leading /, some don't. Most toctree don't add .rst suffix. Some do.

/reference/forms/types
/http_cache/form_csrf_caching

.. _`Symfony Form component`: https://github.com/symfony/form
.. _`DateTime`: https://php.net/manual/en/class.datetime.php
Expand Down
0