Skip to content

Commit

Permalink
Merge pull request #7 from alexander-nitsche/task-update-docs
Browse files Browse the repository at this point in the history
[TASK] Align with new TYPO3 documentation standards
  • Loading branch information
ohader committed Apr 21, 2022
2 parents 03bd498 + 59fd4a0 commit 49dd829
Show file tree
Hide file tree
Showing 82 changed files with 327 additions and 198 deletions.
20 changes: 20 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
root = true

[{*.rst,*.rst.txt}]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 3
max_line_length = 80

# MD-Files
[*.md]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 4
max_line_length = 80
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/Documentation-GENERATED-temp/
7 changes: 0 additions & 7 deletions Documentation/.gitignore

This file was deleted.

2 changes: 1 addition & 1 deletion Documentation/Administration/DefaultNewRecord/Index.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. include:: ../../Includes.txt
.. include:: /Includes.rst.txt


.. _default-new-record:
Expand Down
4 changes: 2 additions & 2 deletions Documentation/Administration/Index.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. include:: ../Includes.txt
.. include:: /Includes.rst.txt


.. _administration:
Expand All @@ -8,7 +8,7 @@ Administration
==============

Upon installation, the extension will set default properties in the page
TSconfig in the variable :ts:`mod.wizards`.
TSconfig in the variable :typoscript:`mod.wizards`.

These properties may be modified for any particular page, BE user or BE
user group and are described below.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. include:: ../../../../Includes.txt
.. include:: /Includes.rst.txt


.. _wizard-settings-defaults-elements-tab:
Expand Down Expand Up @@ -27,7 +27,7 @@ doing so, the element will be added at the end of the form.
showAccordions
==============

(:ts:`mod.wizards.form.defaults.tabs.elements.showAccordions`)
(:typoscript:`mod.wizards.form.defaults.tabs.elements.showAccordions`)

:aspect:`Property:`
showAccordions
Expand All @@ -50,7 +50,7 @@ showAccordions
showButtons
===========

(:ts:`mod.wizards.form.defaults.tabs.elements.accordions.[NameOfAccordion].showButtons`)
(:typoscript:`mod.wizards.form.defaults.tabs.elements.accordions.[NameOfAccordion].showButtons`)

:aspect:`Property:`
showButtons
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. include:: ../../../../Includes.txt
.. include:: /Includes.rst.txt


.. _wizard-settings-defaults-form-tab:
Expand All @@ -23,7 +23,7 @@ of the form or the prefix as well as the post-processor configuration.
showAccordions
==============

(:ts:`mod.wizards.form.defaults.tabs.form.showAccordions`)
(:typoscript:`mod.wizards.form.defaults.tabs.form.showAccordions`)

:aspect:`Property:`
showAccordions
Expand Down Expand Up @@ -64,7 +64,7 @@ showProperties
expected and has to be fixed in a coming version of TYPO3. There is
a workaround which is shown below.

(:ts:`mod.wizards.form.defaults.tabs.form.accordions.attributes.showProperties`)
(:typoscript:`mod.wizards.form.defaults.tabs.form.accordions.attributes.showProperties`)

:aspect:`Property:`
showProperties
Expand All @@ -81,7 +81,7 @@ showProperties

Since the above shown configuration is not working, the following workaround can
be applied. To configure the attribute accordion of the form element, address the
object directly via :ts:`mod.wizards.form.elements.form.accordions.attributes.showProperties`.
object directly via :typoscript:`mod.wizards.form.elements.form.accordions.attributes.showProperties`.


.. _wizard-settings-defaults-form-postprocessor:
Expand All @@ -95,7 +95,7 @@ Post-processors accordion
showPostProcessors
------------------

(:ts:`mod.wizards.form.defaults.tabs.form.accordions.postProcessor.showPostProcessors`)
(:typoscript:`mod.wizards.form.defaults.tabs.form.accordions.postProcessor.showPostProcessors`)

:aspect:`Property:`
showPostProcessors
Expand All @@ -118,7 +118,7 @@ showPostProcessors
postProcessors.[post-processor].showProperties
----------------------------------------------

(:ts:`mod.wizards.form.defaults.tabs.form.accordions.postProcessor.postProcessors.[post-processor].showProperties`)
(:typoscript:`mod.wizards.form.defaults.tabs.form.accordions.postProcessor.postProcessors.[post-processor].showProperties`)

:aspect:`Property:`
postProcessors.[post-processor].showProperties
Expand All @@ -129,7 +129,7 @@ postProcessors.[post-processor].showProperties
:aspect:`Description:`
Configuration for the post-processors individually.

The syntax is :ts:`postProcessors.[name of the post-processor].showProperties`.
The syntax is :typoscript:`postProcessors.[name of the post-processor].showProperties`.

:aspect:`Default:`
The following element properties are available:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. include:: ../../../Includes.txt
.. include:: /Includes.rst.txt


.. _wizard-settings-defaults:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. include:: ../../../../Includes.txt
.. include:: /Includes.rst.txt


.. _wizard-settings-defaults-options-tab:
Expand Down Expand Up @@ -31,7 +31,7 @@ showAccordions
showAccordions

:aspect:`TypoScript Path:`
:ts:`mod.wizards.form.defaults.tabs.options.showAccordions`
:typoscript:`mod.wizards.form.defaults.tabs.options.showAccordions`

:aspect:`Data type:`
string
Expand Down Expand Up @@ -86,7 +86,7 @@ showProperties
showProperties

:aspect:`TypoScript Path:`
:ts:`mod.wizards.form.defaults.tabs.options.accordions.label.showProperties`
:typoscript:`mod.wizards.form.defaults.tabs.options.accordions.label.showProperties`

:aspect:`Data type:`
string
Expand Down Expand Up @@ -116,7 +116,7 @@ showProperties
showProperties

:aspect:`TypoScript Path:`
:ts:`mod.wizards.form.defaults.tabs.options.accordions.attributes.showProperties`
:typoscript:`mod.wizards.form.defaults.tabs.options.accordions.attributes.showProperties`

:aspect:`Data type:`
string
Expand Down Expand Up @@ -153,7 +153,7 @@ showRules
showRules

:aspect:`TypoScript Path:`
:ts:`mod.wizards.form.defaults.tabs.options.accordions.validation.showRules`
:typoscript:`mod.wizards.form.defaults.tabs.options.accordions.validation.showRules`

:aspect:`Data type:`
string
Expand All @@ -177,14 +177,14 @@ rules.[rule].showProperties
rules.[rule].showProperties

:aspect:`TypoScript Path:`
:ts:`mod.wizards.form.defaults.tabs.options.accordions.validation.rules.[rule].showProperties`
:typoscript:`mod.wizards.form.defaults.tabs.options.accordions.validation.rules.[rule].showProperties`

:aspect:`Data type:`
[array of objects]

:aspect:`Description:`
For each rule one can define which properties should appear.
The syntax is :ts:`rules.[name of the rule].showProperties`.
The syntax is :typoscript:`rules.[name of the rule].showProperties`.

:aspect:`Default:`
The following element properties are available:
Expand Down Expand Up @@ -230,7 +230,7 @@ showFilters
showFilters

:aspect:`TypoScript Path:`
:ts:`mod.wizards.form.defaults.tabs.options.accordions.filtering.showFilters`
:typoscript:`mod.wizards.form.defaults.tabs.options.accordions.filtering.showFilters`

:aspect:`Data type:`
string
Expand All @@ -255,7 +255,7 @@ filters.[filter].showProperties
filters.[filter].showProperties

:aspect:`TypoScript Path:`
:ts:`mod.wizards.form.defaults.tabs.options.accordions.filtering.filters.[filter].showProperties`
:typoscript:`mod.wizards.form.defaults.tabs.options.accordions.filtering.filters.[filter].showProperties`

:aspect:`Data type:`
string
Expand All @@ -265,7 +265,7 @@ filters.[filter].showProperties
configuration. Only the filters which are mentioned below can be
configured.

The syntax is :ts:`filters.[name of the filter].showProperties`.
The syntax is :typoscript:`filters.[name of the filter].showProperties`.

:aspect:`Default:`
The following element properties are available:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. include:: ../../../../Includes.txt
.. include:: /Includes.rst.txt


.. _wizard-settings-defaults-showtabs:
Expand All @@ -7,7 +7,7 @@
showTabs
========

(:ts:`mod.wizards.form.defaults.showTabs`)
(:typoscript:`mod.wizards.form.defaults.showTabs`)

The configuration "showTabs" defines the outermost tabs on the left
side of the form wizard.
Expand All @@ -33,7 +33,7 @@ side of the form wizard.
tabs
====

(:ts:`mod.wizards.form.defaults.tabs`)
(:typoscript:`mod.wizards.form.defaults.tabs`)

Each of the 3 tabs can be further customized.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. include:: ../../../Includes.txt
.. include:: /Includes.rst.txt


.. _wizard-settings-elements:
Expand All @@ -22,8 +22,8 @@ Overriding element settings

It is possible to override the default option tab settings for each
element individually. This is done by using the same configuration as
in :ts:`mod.wizards.form.defaults.tabs.options`, but using this
configuration in :ts:`mod.wizards.form.elements.[elementName]`.
in :typoscript:`mod.wizards.form.defaults.tabs.options`, but using this
configuration in :typoscript:`mod.wizards.form.elements.[elementName]`.

The example below will hide all the accordions within the option tab for
a text field (TEXTLINE element), except the filters:
Expand Down
2 changes: 1 addition & 1 deletion Documentation/Administration/WizardSettings/Index.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. include:: ../../Includes.txt
.. include:: /Includes.rst.txt


.. _wizard-settings:
Expand Down
2 changes: 1 addition & 1 deletion Documentation/Configuration/Filters/Alphabetic/Index.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. include:: ../../../Includes.txt
.. include:: /Includes.rst.txt


.. _reference-filters-alphabetic:
Expand Down
2 changes: 1 addition & 1 deletion Documentation/Configuration/Filters/Alphanumeric/Index.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. include:: ../../../Includes.txt
.. include:: /Includes.rst.txt


.. _reference-filters-alphanumeric:
Expand Down
2 changes: 1 addition & 1 deletion Documentation/Configuration/Filters/Currency/Index.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. include:: ../../../Includes.txt
.. include:: /Includes.rst.txt


.. _reference-filters-currency:
Expand Down
2 changes: 1 addition & 1 deletion Documentation/Configuration/Filters/Digit/Index.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. include:: ../../../Includes.txt
.. include:: /Includes.rst.txt


.. _reference-filters-digit:
Expand Down
2 changes: 1 addition & 1 deletion Documentation/Configuration/Filters/Index.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. include:: ../../Includes.txt
.. include:: /Includes.rst.txt


.. _reference-filters:
Expand Down
2 changes: 1 addition & 1 deletion Documentation/Configuration/Filters/Integer/Index.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. include:: ../../../Includes.txt
.. include:: /Includes.rst.txt


.. _reference-filters-integer:
Expand Down
2 changes: 1 addition & 1 deletion Documentation/Configuration/Filters/Lowercase/Index.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. include:: ../../../Includes.txt
.. include:: /Includes.rst.txt


.. _reference-filters-lowercase:
Expand Down
2 changes: 1 addition & 1 deletion Documentation/Configuration/Filters/Regexp/Index.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. include:: ../../../Includes.txt
.. include:: /Includes.rst.txt


.. _reference-filters-regexp:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. include:: ../../../Includes.txt
.. include:: /Includes.rst.txt


.. _reference-filters-stripnewlines:
Expand Down
2 changes: 1 addition & 1 deletion Documentation/Configuration/Filters/Titlecase/Index.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. include:: ../../../Includes.txt
.. include:: /Includes.rst.txt


.. _reference-filters-titlecase:
Expand Down
2 changes: 1 addition & 1 deletion Documentation/Configuration/Filters/Trim/Index.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. include:: ../../../Includes.txt
.. include:: /Includes.rst.txt


.. _reference-filters-trim:
Expand Down
2 changes: 1 addition & 1 deletion Documentation/Configuration/Filters/Uppercase/Index.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. include:: ../../../Includes.txt
.. include:: /Includes.rst.txt


.. _reference-filters-uppercase:
Expand Down
2 changes: 1 addition & 1 deletion Documentation/Configuration/Index.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. include:: ../Includes.txt
.. include:: /Includes.rst.txt


.. _configuration:
Expand Down
2 changes: 1 addition & 1 deletion Documentation/Configuration/Layout/Index.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. include:: ../../Includes.txt
.. include:: /Includes.rst.txt


.. _reference-layout:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. include:: ../../../Includes.txt
.. include:: /Includes.rst.txt


.. _change-layout-individual-form:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. include:: ../../../Includes.txt
.. include:: /Includes.rst.txt


.. _change-layout-specific-view:
Expand Down Expand Up @@ -112,7 +112,7 @@ the following code could be applied.
Properties and defaults
=======================

If the integrator does not define any :ts:`.layout` setting the default
If the integrator does not define any :typoscript:`.layout` setting the default
layout defined in the PHP classes will be used.

The following list shows all available elements within all the different
Expand Down

0 comments on commit 49dd829

Please sign in to comment.