Skip to content

Commit 5f9c6a2

Browse files
linawolfmschwemer
authored andcommitted
[TASK] Make the docs render
1 parent 3812ff6 commit 5f9c6a2

File tree

15 files changed

+66
-58
lines changed

15 files changed

+66
-58
lines changed

Documentation/Changelog/Readme.md renamed to Documentation/Changelog/Index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
**Note:** Breaking changes are marked with !!!
44

5-
See [Upgrade instructions and breaking changes](/Documentation/Changelog/UpgradeInstructions.md) for some details on
5+
See [Upgrade instructions and breaking changes](/Changelog/UpgradeInstructions.md) for some details on
66
breaking changes and how to handle them
77

88
| Version | Release Date | Description |
File renamed without changes.

Documentation/ForAdministrators/BestPractice.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,24 @@
22

33
This chapter show you some best practice how you can deal with your daily business together with powermail
44

5-
* [Templates](/Documentation/ForAdministrators/BestPractice/Templates.md)
6-
* [ChangingLabels](/Documentation/ForAdministrators/BestPractice/ChangingLabels.md)
7-
* [PrefillField](/Documentation/ForAdministrators/BestPractice/PrefillField.md)
8-
* [DynamicReceiver](/Documentation/ForAdministrators/BestPractice/DynamicReceiver.md)
9-
* [RemoveValuesFromPowermailAll](/Documentation/ForAdministrators/BestPractice/RemoveValuesFromPowermailAll.md)
10-
* [ManipulateValuesFromPowermailAll](/Documentation/ForAdministrators/BestPractice/ManipulateValuesFromPowermailAll.md)
11-
* [UniqueValues](/Documentation/ForAdministrators/BestPractice/UniqueValues.md)
12-
* [SaveSession](/Documentation/ForAdministrators/BestPractice/SaveSession.md)
13-
* [AjaxSubmit](/Documentation/ForAdministrators/BestPractice/AjaxSubmit.md)
14-
* [FilterFormSelection](/Documentation/ForAdministrators/BestPractice/FilterFormSelection.md)
15-
* [SetPidForNewForms](/Documentation/ForAdministrators/BestPractice/SetPidForNewForms.md)
16-
* [DevelopmentContext](/Documentation/ForAdministrators/BestPractice/DevelopmentContext.md)
17-
* [SpamPrevention](/Documentation/ForAdministrators/BestPractice/SpamPrevention.md)
18-
* [PreventDuplicates](/Documentation/ForAdministrators/BestPractice/PreventDuplicates.md)
19-
* [SavingValuesToThirdPartyTables](/Documentation/ForAdministrators/BestPractice/SavingValuesToThirdPartyTables.md)
20-
* [SendingValuesToThirdPartySoftware](/Documentation/ForAdministrators/BestPractice/SendingValuesToThirdPartySoftware.md)
21-
* [Debug](/Documentation/ForAdministrators/BestPractice/Debug.md)
22-
* [MainTypoScript](/Documentation/ForAdministrators/BestPractice/MainTypoScript.md)
23-
* [DateConverterUserFunc](/Documentation/ForAdministrators/BestPractice/DateConverterUserFunc.md)
24-
* [TypoScriptConditions](/Documentation/ForAdministrators/BestPractice/TypoScriptConditions.md)
25-
* [PasswordField](/Documentation/ForAdministrators/BestPractice/PasswordField.md)
5+
* [Templates](/ForAdministrators/BestPractice/Templates.md)
6+
* [ChangingLabels](/ForAdministrators/BestPractice/ChangingLabels.md)
7+
* [PrefillField](/ForAdministrators/BestPractice/PrefillField.md)
8+
* [DynamicReceiver](/ForAdministrators/BestPractice/DynamicReceiver.md)
9+
* [RemoveValuesFromPowermailAll](/ForAdministrators/BestPractice/RemoveValuesFromPowermailAll.md)
10+
* [ManipulateValuesFromPowermailAll](/ForAdministrators/BestPractice/ManipulateValuesFromPowermailAll.md)
11+
* [UniqueValues](/ForAdministrators/BestPractice/UniqueValues.md)
12+
* [SaveSession](/ForAdministrators/BestPractice/SaveSession.md)
13+
* [AjaxSubmit](/ForAdministrators/BestPractice/AjaxSubmit.md)
14+
* [FilterFormSelection](/ForAdministrators/BestPractice/FilterFormSelection.md)
15+
* [SetPidForNewForms](/ForAdministrators/BestPractice/SetPidForNewForms.md)
16+
* [DevelopmentContext](/ForAdministrators/BestPractice/DevelopmentContext.md)
17+
* [SpamPrevention](/ForAdministrators/BestPractice/SpamPrevention.md)
18+
* [PreventDuplicates](/ForAdministrators/BestPractice/PreventDuplicates.md)
19+
* [SavingValuesToThirdPartyTables](/ForAdministrators/BestPractice/SavingValuesToThirdPartyTables.md)
20+
* [SendingValuesToThirdPartySoftware](/ForAdministrators/BestPractice/SendingValuesToThirdPartySoftware.md)
21+
* [Debug](/ForAdministrators/BestPractice/Debug.md)
22+
* [MainTypoScript](/ForAdministrators/BestPractice/MainTypoScript.md)
23+
* [DateConverterUserFunc](/ForAdministrators/BestPractice/DateConverterUserFunc.md)
24+
* [TypoScriptConditions](/ForAdministrators/BestPractice/TypoScriptConditions.md)
25+
* [PasswordField](/ForAdministrators/BestPractice/PasswordField.md)

Documentation/ForAdministrators/BestPractice/DynamicReceiver.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ plugin.tx_powermail.settings.setup.receiver.predefinedReceiver {
3434
### Dynamic example 1
3535

3636
In a bit more advanced example, we want to choose the receiver by a given value (e.g. of a select box).
37-
If value 1 is given in a field with marker *{receiver}*, *receivera@domain.org* should be chosen
38-
and if value 2 or something else is given, *receiverb@domain.org* should be chosen.
37+
If value 1 is given in a field with marker `{receiver}`, `receivera@domain.org` should be chosen
38+
and if value 2 or something else is given, `receiverb@domain.org` should be chosen.
3939
See following TypoScript setup example:
4040

4141
```

Documentation/ForAdministrators/Readme.md renamed to Documentation/ForAdministrators/Index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# TYPO3 Extension powermail - Documentation - For administrators
1+
# For administrators
22

33
This chapter describes how you can install and configure powermail on your TYPO3 instance
44

Documentation/ForAdministrators/Upgrade.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ as possible.
88

99
## Upgrade Instructions
1010

11-
You find instructions for each major version. [Upgrade Instructions](/Documentation/Changelog/UpgradeInstructions.md)
11+
You find instructions for each major version. [Upgrade Instructions](/Changelog/UpgradeInstructions.md)
1212

1313
## Any Upgrade
1414

Documentation/ForContributors/Readme.md renamed to Documentation/ForContributors/Index.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# TYPO3 Extension powermail - Documentation for contributors
1+
# For contributors
22

33
If you want to contribute to the TYPO3 extension powermail, you are very welcome.
44

@@ -54,7 +54,7 @@ ddev exec composer run test:php:phpstan:generate-baseline
5454

5555
## Behaviour tests
5656

57-
More information on running behaviour tests is available here: [Behaviour tests](../../Tests/Behavior/readme.md)
57+
More information on running behaviour tests is available here: [Behaviour tests](https://github.com/in2code-de/powermail/tree/documentation-draft/Tests/Behavior/readme.md)
5858

5959
## Frontend Development
6060

@@ -71,3 +71,10 @@ There is a small build pipeline to build the assets. The artifacts are committed
7171
* `npm run build` will build the necessary files
7272
* `npm run watch` will watch the files and rebuild them on changes
7373

74+
## Render the Documentation
75+
76+
You can render the documentation locally with
77+
78+
```bash
79+
composer render:docs
80+
```

Documentation/ForDevelopers/Index.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# For developers
2+
3+
Powermail can be extended in similar ways. If you want to execute something on a submit, look at the Finisher Classes.
4+
If you want to add own spamshield methods, look in this chapter, etc...
5+
6+
* [AddFinisherClasses](/ForDevelopers/AddFinisherClasses.md)
7+
* [AddSpamshieldMethods](/ForDevelopers/AddSpamshieldMethods.md)
8+
* [DisableSpamshield](/ForDevelopers/DisableSpamshield.md)
9+
* [EventDispatcher](/ForDevelopers/EventDispatcher.md)
10+
* [AddNewFields](/ForDevelopers/AddNewFields.md)
11+
* [AddNewFieldProperties](/ForDevelopers/AddNewFieldProperties.md)
12+
* [AddNewFlexFormProperties](/ForDevelopers/AddNewFlexFormProperties.md)
13+
* [WriteOwnValidators](/ForDevelopers/WriteOwnValidators.md)
14+
* [AddDataProcessors](/ForDevelopers/AddDataProcessors.md)
15+
* [UserfuncsWithCobject](/ForDevelopers/UserfuncsWithCobject.md)
16+
* [DatabaseModel](/ForDevelopers/DatabaseModel.md)
17+
* [Local Development with Docker](/ForDevelopers/LocalDevelopment.md)

Documentation/ForDevelopers/Readme.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

Documentation/ForEditors/Readme.md renamed to Documentation/ForEditors/Index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# TYPO3 Extension powermail - Documentation - For editors
1+
# For editors
22

33
This chapter describes how to work with powermail from the view of an editor.
44

Documentation/README.md renamed to Documentation/Index.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -86,14 +86,14 @@ See the reporting about the delivered mails (Form or Marketing Data Analyses are
8686

8787
## Documentation overview
8888

89-
* [Introduction](/Documentation/Readme.md)
90-
* [Development Model](/Documentation/DevelopmentModel.md)
91-
* [Documentation for editors](/Documentation/ForEditors/Readme.md)
92-
* [Documentation for administrators](/Documentation/ForAdministrators/Readme.md)
93-
* [Documentation for developers](/Documentation/ForDevelopers/Readme.md)
94-
* [Documentation for contributors](/Documentation/ForContributors/Readme.md)
95-
* [FAQ](/Documentation/FAQ/Readme.md) (with a lot of stuff and best practice)
96-
* [Changelog](/Documentation/Changelog/Readme.md)
97-
* [Upgrade Instructions](/Documentation/Changelog/UpgradeInstructions.md)
98-
* [Support](/Documentation/Support/Readme.md)
99-
* [Additional links](/Documentation/Links/Readme.md)
89+
* [Introduction](/Index.md)
90+
* [Development Model](/DevelopmentModel.md)
91+
* [Documentation for editors](/ForEditors/Index.md)
92+
* [Documentation for administrators](/ForAdministrators/Index.md)
93+
* [Documentation for developers](/ForDevelopers/Index.md)
94+
* [Documentation for contributors](/ForContributors/Index.md)
95+
* [FAQ](/FAQ/Index.md) (with a lot of stuff and best practice)
96+
* [Changelog](/Changelog/Index.md)
97+
* [Upgrade Instructions](/Changelog/UpgradeInstructions.md)
98+
* [Support](/Support/Index.md)
99+
* [Additional links](/Links/Index.md)
File renamed without changes.
File renamed without changes.

Documentation/guides.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
55
xsi:schemaLocation="https://www.phpdoc.org/guides vendor/phpdocumentor/guides-cli/resources/schema/guides.xsd"
66
input-format="md"
7-
index-name="Readme"
7+
index-name="Index"
88
automatic-menu="true"
99
>
1010
<project

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@
103103
}
104104
},
105105
"scripts": {
106+
"render:docs": "docker run --rm --pull always -v $(pwd):/project -it ghcr.io/typo3-documentation/render-guides:latest --config=Documentation",
106107
"test:behaviour": "behat --config Tests/Behavior/behat.yml",
107108
"test:behaviour:tag": "behat --config Tests/Behavior/behat.yml --tags",
108109
"test:behaviour:stop": "behat --config Tests/Behavior/behat.yml --stop-on-failure",

0 commit comments

Comments
 (0)