Skip to content

Commit

Permalink
[TASK] Use glob for includes (#1151)
Browse files Browse the repository at this point in the history
* [TASK] Use glob for includes

* Update Documentation/ColumnsConfig/Type/Group/Index.rst

---------

Co-authored-by: Stefan Frömken <[email protected]>
  • Loading branch information
linawolf and froemken authored Aug 9, 2024
1 parent 9f962e9 commit ec31d7e
Show file tree
Hide file tree
Showing 42 changed files with 98 additions and 1,144 deletions.
42 changes: 2 additions & 40 deletions Documentation/ColumnsConfig/Type/Category/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,50 +48,12 @@ Properties of the TCA column type `category`
============================================

.. confval-menu::
:name: category
:display: table
:type:
:Scope:

.. include:: _Properties/_Default.rst.txt
:show-buttons:

.. include:: _Properties/_ExclusiveKeys.rst.txt
:show-buttons:

.. include:: _Properties/_ForeignTable.rst.txt
:show-buttons:

.. include:: _Properties/_ForeignTableItemGroup.rst.txt
:show-buttons:

.. include:: _Properties/_ForeignTablePrefix.rst.txt
:show-buttons:

.. include:: _Properties/_ForeignTableWhere.rst.txt
:show-buttons:

.. include:: _Properties/_ItemGroups.rst.txt
:show-buttons:

.. include:: _Properties/_Maxitems.rst.txt
:show-buttons:

.. include:: _Properties/_Minitems.rst.txt
:show-buttons:

.. include:: _Properties/_Mm.rst.txt
:show-buttons:

.. include:: _Properties/_Relationship.rst.txt
:show-buttons:

.. include:: _Properties/_ReadOnly.rst.txt
:show-buttons:

.. include:: _Properties/_Size.rst.txt
:show-buttons:

.. include:: _Properties/_TreeConfig.rst.txt
.. include:: _Properties/_*.rst.txt
:show-buttons:

.. toctree::
Expand Down
39 changes: 3 additions & 36 deletions Documentation/ColumnsConfig/Type/Check/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ TCA column type `check`
A developer does not need to define this field in an extension's
:file:`ext_tables.sql` file.

.. _columns-check-introduction:

Introduction
============
Expand All @@ -37,8 +38,6 @@ details please see: :ref:`selectCheckBox-check-compared`.
.. include:: /Images/Rst/Checkbox19.rst.txt
.. include:: /Images/Rst/Checkbox17.rst.txt

.. _columns-check-introduction:

.. warning::
Resorting the 'items' of a type='check' config results in single items moving to different bit positions.
It might be required to migrate existing field data if doing so.
Expand All @@ -58,44 +57,12 @@ Properties of the TCA column type `check`
=========================================

.. confval-menu::
:name: check
:display: table
:type:
:Scope:

.. include:: _Properties/_AllowLanguageSynchronization.rst.txt
:show-buttons:

.. include:: _Properties/_Cols.rst.txt
:show-buttons:

.. include:: _Properties/_Default.rst.txt
:show-buttons:

.. include:: _Properties/_Eval.rst.txt
:show-buttons:

.. include:: _Properties/_FieldInformation.rst.txt
:show-buttons:

.. include:: _Properties/_FieldWizard.rst.txt
:show-buttons:

.. include:: _Properties/_InvertStateDisplay.rst.txt
:show-buttons:

.. include:: _Properties/_Items.rst.txt
:show-buttons:

.. include:: _Properties/_ItemsProcFunc.rst.txt
:show-buttons:

.. include:: _Properties/_ReadOnly.rst.txt
:show-buttons:

.. include:: _Properties/_RenderType.rst.txt
:show-buttons:

.. include:: _Properties/_Validation.rst.txt
.. include:: _Properties/_*.rst.txt
:show-buttons:

.. toctree::
Expand Down
39 changes: 2 additions & 37 deletions Documentation/ColumnsConfig/Type/Color/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -52,47 +52,12 @@ Properties of the TCA column type `color`
=========================================

.. confval-menu::
:name: color
:display: table
:type:
:Scope:

.. include:: _Properties/_AllowLanguageSynchronization.rst.txt
:show-buttons:

.. include:: _Properties/_Default.rst.txt
:show-buttons:

.. include:: _Properties/_FieldControl.rst.txt
:show-buttons:

.. include:: _Properties/_FieldInformation.rst.txt
:show-buttons:

.. include:: _Properties/_FieldWizard.rst.txt
:show-buttons:

.. include:: _Properties/_Mode.rst.txt
:show-buttons:

.. include:: _Properties/_Nullable.rst.txt
:show-buttons:

.. include:: _Properties/_Opacity.rst.txt
:show-buttons:

.. include:: _Properties/_Placeholder.rst.txt
:show-buttons:

.. include:: _Properties/_ReadOnly.rst.txt
:show-buttons:

.. include:: _Properties/_Required.rst.txt
:show-buttons:

.. include:: _Properties/_Size.rst.txt
:show-buttons:

.. include:: _Properties/_ValuePicker.rst.txt
.. include:: _Properties/_*.rst.txt
:show-buttons:

.. _columns-color-migration:
Expand Down
46 changes: 2 additions & 44 deletions Documentation/ColumnsConfig/Type/Datetime/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,56 +53,14 @@ Properties of the TCA column type `datetime`
============================================

.. confval-menu::
:name: datetime
:display: table
:type:
:Scope:

.. include:: _Properties/_AllowLanguageSynchronization.rst.txt
.. include:: _Properties/_*.rst.txt
:show-buttons:

.. include:: _Properties/_DbType.rst.txt
:show-buttons:

.. include:: _Properties/_Default.rst.txt
:show-buttons:

.. include:: _Properties/_DisableAgeDisplay.rst.txt
:show-buttons:

.. include:: _Properties/_FieldControl.rst.txt
:show-buttons:

.. include:: _Properties/_FieldInformation.rst.txt
:show-buttons:

.. include:: _Properties/_FieldWizard.rst.txt
:show-buttons:

.. include:: _Properties/_Format.rst.txt
:show-buttons:

.. include:: _Properties/_Mode.rst.txt
:show-buttons:

.. include:: _Properties/_Nullable.rst.txt
:show-buttons:

.. include:: _Properties/_Placeholder.rst.txt
:show-buttons:

.. include:: _Properties/_Range.rst.txt
:show-buttons:

.. include:: _Properties/_ReadOnly.rst.txt
:show-buttons:

.. include:: _Properties/_Search.rst.txt
:show-buttons:

.. include:: _Properties/_Softref.rst.txt
:show-buttons:


.. _columns-datetime-migration:

Migration
Expand Down
33 changes: 2 additions & 31 deletions Documentation/ColumnsConfig/Type/Email/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,41 +29,12 @@ Properties of the TCA column type `email`
=========================================

.. confval-menu::
:name: email
:display: table
:type:
:Scope:

.. include:: _Properties/_AllowLanguageSynchronization.rst.txt
:show-buttons:

.. include:: _Properties/_Autocomplete.rst.txt
:show-buttons:

.. include:: _Properties/_Eval.rst.txt
:show-buttons:

.. include:: _Properties/_FieldInformation.rst.txt
:show-buttons:

.. include:: _Properties/_FieldWizard.rst.txt
:show-buttons:

.. include:: _Properties/_Mode.rst.txt
:show-buttons:

.. include:: _Properties/_Nullable.rst.txt
:show-buttons:

.. include:: _Properties/_Placeholder.rst.txt
:show-buttons:

.. include:: _Properties/_ReadOnly.rst.txt
:show-buttons:

.. include:: _Properties/_Required.rst.txt
:show-buttons:

.. include:: _Properties/_Size.rst.txt
.. include:: _Properties/_*.rst.txt
:show-buttons:

.. note::
Expand Down
30 changes: 2 additions & 28 deletions Documentation/ColumnsConfig/Type/File/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,38 +38,12 @@ Properties of the TCA column type `file`
========================================

.. confval-menu::
:name: file
:display: table
:type:
:Scope:

.. include:: _Properties/_Allowed.rst.txt
:show-buttons:

.. include:: _Properties/_Appearance.rst.txt
:show-buttons:

.. include:: _Properties/_Behaviour.rst.txt
:show-buttons:

.. include:: _Properties/_Disallowed.rst.txt
:show-buttons:

.. include:: _Properties/_FieldInformation.rst.txt
:show-buttons:

.. include:: _Properties/_FieldWizard.rst.txt
:show-buttons:

.. include:: _Properties/_Maxitems.rst.txt
:show-buttons:

.. include:: _Properties/_Minitems.rst.txt
:show-buttons:

.. include:: _Properties/_OverrideChildTCa.rst.txt
:show-buttons:

.. include:: _Properties/_ReadOnly.rst.txt
.. include:: _Properties/_*.rst.txt
:show-buttons:

.. _columns-file-migration:
Expand Down
18 changes: 2 additions & 16 deletions Documentation/ColumnsConfig/Type/Flex/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,26 +41,12 @@ Properties of the TCA column type `flex`
:ref:`Events <columns-flex-events>` to replace their logic if needed.

.. confval-menu::
:name: flex
:display: table
:type:
:Scope:

.. include:: _Properties/_AllowLanguageSynchronization.rst.txt
:show-buttons:

.. include:: _Properties/_Ds.rst.txt
:show-buttons:

.. include:: _Properties/_DsPointerField.rst.txt
:show-buttons:

.. include:: _Properties/_FieldInformation.rst.txt
:show-buttons:

.. include:: _Properties/_FieldWizard.rst.txt
:show-buttons:

.. include:: _Properties/_ReadOnly.rst.txt
.. include:: _Properties/_*.rst.txt
:show-buttons:


Expand Down
38 changes: 2 additions & 36 deletions Documentation/ColumnsConfig/Type/Folder/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,44 +47,10 @@ Properties of the TCA column type `folder`
==========================================

.. confval-menu::
:name: folder
:display: table
:type:
:Scope:

.. include:: _Properties/_AllowLanguageSynchronization.rst.txt
.. include:: _Properties/_*.rst.txt
:show-buttons:

.. include:: _Properties/_AutoSizeMax.rst.txt
:show-buttons:

.. include:: _Properties/_ElementBrowserEntryPoints.rst.txt
:show-buttons:

.. include:: _Properties/_FieldControl.rst.txt
:show-buttons:

.. include:: _Properties/_FieldInformation.rst.txt
:show-buttons:

.. include:: _Properties/_FieldWizard.rst.txt
:show-buttons:

.. include:: _Properties/_HideMoveIcons.rst.txt
:show-buttons:

.. include:: _Properties/_Maxitems.rst.txt
:show-buttons:

.. include:: _Properties/_Minitems.rst.txt
:show-buttons:

.. include:: _Properties/_Multiple.rst.txt
:show-buttons:

.. include:: _Properties/_ReadOnly.rst.txt
:show-buttons:

.. include:: _Properties/_Size.rst.txt
:show-buttons:


Loading

0 comments on commit ec31d7e

Please sign in to comment.