From 16eeb74b0c441c14e5a9caa885501a6d8dda723a Mon Sep 17 00:00:00 2001 From: Antoine Lamirault Date: Tue, 8 Aug 2023 19:26:54 +0200 Subject: [PATCH] Remove hidden toctree --- components/console/helpers/index.rst | 11 ---- contributing/index.rst | 10 ---- controller.rst | 5 -- frontend.rst | 9 ---- index.rst | 25 --------- page_creation.rst | 5 -- reference/constraints.rst | 80 ---------------------------- reference/forms/types.rst | 52 ------------------ reference/index.rst | 22 -------- routing.rst | 5 -- setup.rst | 5 -- 11 files changed, 229 deletions(-) diff --git a/components/console/helpers/index.rst b/components/console/helpers/index.rst index 81cf8aae9bf..893652fb5ab 100644 --- a/components/console/helpers/index.rst +++ b/components/console/helpers/index.rst @@ -1,17 +1,6 @@ The Console Helpers =================== -.. toctree:: - :hidden: - - formatterhelper - processhelper - progressbar - questionhelper - table - debug_formatter - cursor - The Console component comes with some useful helpers. These helpers contain functions to ease some common tasks. diff --git a/contributing/index.rst b/contributing/index.rst index d76b4a8e037..c44ee7606a1 100644 --- a/contributing/index.rst +++ b/contributing/index.rst @@ -1,14 +1,4 @@ Contributing ============ -.. toctree:: - :hidden: - - code_of_conduct/index - code/index - documentation/index - translations/index - community/index - diversity/index - .. include:: /contributing/map.rst.inc diff --git a/controller.rst b/controller.rst index 58e7e83d854..c3a11e99a6a 100644 --- a/controller.rst +++ b/controller.rst @@ -558,11 +558,6 @@ Next, learn all about :doc:`rendering templates with Twig `. Learn more about Controllers ---------------------------- -.. toctree:: - :hidden: - - templates - .. toctree:: :maxdepth: 1 :glob: diff --git a/frontend.rst b/frontend.rst index ad30b996462..b16c55937d4 100644 --- a/frontend.rst +++ b/frontend.rst @@ -92,15 +92,6 @@ Symfony UX Components Other Front-End Articles ------------------------ -.. toctree:: - :hidden: - :glob: - - frontend/assetic/index - frontend/encore/installation - frontend/encore/simple-example - frontend/encore/* - .. toctree:: :maxdepth: 1 :glob: diff --git a/index.rst b/index.rst index 288febd7ab8..d4663a94a68 100644 --- a/index.rst +++ b/index.rst @@ -8,11 +8,6 @@ Quick Tour Get started fast with the Symfony :doc:`Quick Tour `: -.. toctree:: - :hidden: - - quick_tour/index - * :doc:`quick_tour/the_big_picture` * :doc:`quick_tour/flex_recipes` * :doc:`quick_tour/the_architecture` @@ -68,11 +63,6 @@ Topics Components ---------- -.. toctree:: - :hidden: - - components/ - Read the :doc:`Components ` documentation. Reference Documents @@ -80,11 +70,6 @@ Reference Documents Get answers quickly with reference documents: -.. toctree:: - :hidden: - - reference/index - .. include:: /reference/map.rst.inc Contributing @@ -92,11 +77,6 @@ Contributing Contribute to Symfony: -.. toctree:: - :hidden: - - contributing/index - .. include:: /contributing/map.rst.inc Create your Own Framework @@ -104,9 +84,4 @@ Create your Own Framework Want to create your own framework based on Symfony? -.. toctree:: - :hidden: - - create_framework/index - .. include:: /create_framework/map.rst.inc diff --git a/page_creation.rst b/page_creation.rst index b053e0a88a7..a7d6e84c199 100644 --- a/page_creation.rst +++ b/page_creation.rst @@ -349,11 +349,6 @@ Have fun! Go Deeper with HTTP & Framework Fundamentals -------------------------------------------- -.. toctree:: - :hidden: - - routing - .. toctree:: :maxdepth: 1 :glob: diff --git a/reference/constraints.rst b/reference/constraints.rst index aa341d95883..bb506bf4576 100644 --- a/reference/constraints.rst +++ b/reference/constraints.rst @@ -1,86 +1,6 @@ Validation Constraints Reference ================================ -.. toctree:: - :maxdepth: 1 - :hidden: - - constraints/NotBlank - constraints/Blank - constraints/NotNull - constraints/IsNull - constraints/IsTrue - constraints/IsFalse - constraints/Type - - constraints/Email - constraints/ExpressionLanguageSyntax - constraints/Length - constraints/Url - constraints/Regex - constraints/Hostname - constraints/Ip - constraints/Uuid - constraints/Ulid - constraints/Json - - constraints/EqualTo - constraints/NotEqualTo - constraints/IdenticalTo - constraints/NotIdenticalTo - constraints/LessThan - constraints/LessThanOrEqual - constraints/GreaterThan - constraints/GreaterThanOrEqual - constraints/Range - constraints/DivisibleBy - constraints/Unique - - constraints/Positive - constraints/PositiveOrZero - constraints/Negative - constraints/NegativeOrZero - - constraints/Date - constraints/DateTime - constraints/Time - constraints/Timezone - - constraints/Choice - constraints/Collection - constraints/Count - constraints/UniqueEntity - constraints/Language - constraints/Locale - constraints/Country - - constraints/File - constraints/Image - - constraints/CardScheme - constraints/Currency - constraints/Luhn - constraints/Iban - constraints/Bic - constraints/Isbn - constraints/Issn - constraints/Isin - - constraints/AtLeastOneOf - constraints/Sequentially - constraints/Compound - constraints/Callback - constraints/Expression - constraints/All - constraints/UserPassword - constraints/NotCompromisedPassword - constraints/Valid - constraints/Traverse - constraints/CssColor - constraints/Cascade - constraints/EnableAutoMapping - constraints/DisableAutoMapping - The Validator is designed to validate objects against *constraints*. In real life, a constraint could be: "The cake must not be burned". In Symfony, constraints are similar: They are assertions that a condition is diff --git a/reference/forms/types.rst b/reference/forms/types.rst index aeb8d48ece9..26668d6d78a 100644 --- a/reference/forms/types.rst +++ b/reference/forms/types.rst @@ -1,58 +1,6 @@ Form Types Reference ==================== -.. toctree:: - :maxdepth: 1 - :hidden: - - types/text - types/textarea - types/email - types/integer - types/money - types/number - types/password - types/percent - types/search - types/url - types/range - types/tel - types/color - - types/choice - types/enum - types/entity - types/country - types/language - types/locale - types/timezone - types/currency - - types/date - types/dateinterval - types/datetime - types/time - types/birthday - types/week - - types/checkbox - types/file - types/radio - - types/uuid - types/ulid - - types/collection - types/repeated - - types/hidden - - types/button - types/reset - types/submit - - types/form - A form is composed of *fields*, each of which are built with the help of a field *type* (e.g. ``TextType``, ``ChoiceType``, etc). Symfony comes standard with a large list of field types that can be used in your application. diff --git a/reference/index.rst b/reference/index.rst index 82edbcc0130..38e0e38800e 100644 --- a/reference/index.rst +++ b/reference/index.rst @@ -1,26 +1,4 @@ Reference Documents =================== -.. toctree:: - :hidden: - - configuration/framework - configuration/doctrine - configuration/security - configuration/swiftmailer - configuration/twig - configuration/monolog - configuration/web_profiler - configuration/debug - - configuration/kernel - - forms/types - constraints - - twig_reference - - dic_tags - events - .. include:: /reference/map.rst.inc diff --git a/routing.rst b/routing.rst index 3c08ccef960..ad7062e5fa5 100644 --- a/routing.rst +++ b/routing.rst @@ -3055,11 +3055,6 @@ or, in Twig: Learn more about Routing ------------------------ -.. toctree:: - :hidden: - - controller - .. toctree:: :maxdepth: 1 :glob: diff --git a/setup.rst b/setup.rst index ca52f8bfc69..9b7620d4164 100644 --- a/setup.rst +++ b/setup.rst @@ -301,11 +301,6 @@ With setup behind you, it's time to :doc:`Create your first page in Symfony