1- .. include :: /Includes.rst.txt
1+ .. include :: /Includes.rst.txt
22
3- .. index ::
4- single: Documentation Contribution; Adding Documentation
3+ .. index ::
4+ single: Documentation Contribution; Adding Documentation
55
6- .. _Bugfixing-Adding-documentation :
7- .. _Adding-documentation :
6+ .. _Bugfixing-Adding-documentation :
7+ .. _Adding-documentation :
88
99=================
1010Add Documentation
1111=================
1212
1313**Quick links: **
1414
15- - :ref: `h2document:Formatting-with-reST `
16- - :ref: `h2document:format-rest-cgl `
17- - :ref: `h2document:rest-cheat-sheet `
18- - :ref: `h2document:render-documentation-with-docker `
15+ * :ref: `h2document:Formatting-with-reST `
16+ * :ref: `h2document:format-rest-cgl `
17+ * :ref: `h2document:rest-cheat-sheet `
18+ * :ref: `h2document:render-documentation-with-docker `
1919
2020
21- The documentation ` Changelog <https://docs. typo3.org/typo3cms/extensions/ core/latest/ >`__
21+ The documentation :doc: ` TYPO3 Core Changelog <changelog:Index# typo3- core-changelog >`
2222and documentation for
23- ` system extensions < https://docs.typo3.org/typo3cms/SystemExtensions/Index.html >`__
24- is maintained in the core .
23+ :ref: ` System Extensions < t3docs:System-Extensions >`
24+ is maintained in the Core .
2525
26- .. index ::
27- single: Documentation Contribution Workflow; Add Changelog
28- single: Changelog; Add Entries
26+ .. index ::
27+ single: Documentation Contribution Workflow; Add Changelog
28+ single: Changelog; Add Entries
2929
30- .. _changelog :
30+ .. _changelog :
3131
3232Changelog
3333=========
3434
3535Some patches require a :file: `.rst ` (reStructuredText) Changelog file describing the change.
3636Not all patches
3737need an entry in the Changelog. Check the list below. Also see the current
38- ` Changelog <https://docs. typo3.org/typo3cms/extensions/ core/latest/ >`__
38+ :doc: ` TYPO3 Core Changelog <changelog:Index# typo3- core-changelog >`
3939for some examples.
4040
4141Every file may optionally contain tags, but it must contain at least a
4242`NotScanned `, `PartiallyScanned ` or `FullyScanned ` tag for the extension scanner.
4343See :ref: `t3coreapi:extension-scanner ` in TYPO3 Explained for more
4444information.
4545
46- .. index ::
47- single: Tools; reST File Generator
48- single: Changelog; Generate new Entries
49- single: Documentation Contribution Workflow; Generating reST Files
46+ .. _render-the-changelog :
5047
51- .. _rest-file-generator :
48+ Render the Changelog locally
49+ ----------------------------
50+
51+ If you have `Docker <https://www.docker.com >`__ or `Podman <https://podman.io/ >`__
52+ installed you can try out the rendering of the changelog locally:
53+
54+ .. tabs ::
55+
56+ .. group-tab :: Docker
57+
58+ .. code-block :: bash
59+
60+ cd typo3/sysext/core
61+ docker run --rm --pull always -v $( pwd) :/project -it ghcr.io/typo3-documentation/render-guides:latest --config=Documentation
62+ xdg-open " Documentation-GENERATED-temp/Index.html"
63+
64+ .. group-tab :: Podman
65+
66+ .. code-block :: bash
67+
68+ cd typo3/sysext/core
69+ docker run --rm --pull always -v $( pwd) :/project -it ghcr.io/typo3-documentation/render-guides:latest --config=Documentation
70+ xdg-open " Documentation-GENERATED-temp/Index.html"
71+
72+
73+ .. index ::
74+ single: Tools; reST File Generator
75+ single: Changelog; Generate new Entries
76+ single: Documentation Contribution Workflow; Generating reST Files
77+
78+ .. _rest-file-generator :
5279
5380Forger reST Helper
5481------------------
@@ -76,10 +103,10 @@ need to go into :file:`typo3/sysext/core/Documentation/Changelog/<release>/`.
76103
77104Choose one which fits your patch:
78105
79- .. index ::
80- single: Documentation Contribution Workflow; Breaking Changes
106+ .. index ::
107+ single: Documentation Contribution Workflow; Breaking Changes
81108
82- .. _documenting-changelog-breaking-changes :
109+ .. _documenting-changelog-breaking-changes :
83110
84111Breaking Changes
85112~~~~~~~~~~~~~~~~
@@ -89,21 +116,21 @@ that may break extensions if they use this part.
89116
90117**Mandatory sections: **
91118
92- #. **Description ** - why things had to break backwards compatibility.
119+ #. **Description ** - why things had to break backwards compatibility.
93120
94- #. **Impact ** - how will the change affect your installation.
121+ #. **Impact ** - how will the change affect your installation.
95122
96- #. **Affected Installations ** - describe scenarios under which circumstances
97- a TYPO3 install will be affected by this change.
123+ #. **Affected Installations ** - describe scenarios under which circumstances
124+ a TYPO3 install will be affected by this change.
98125
99- #. **Migration ** - provide instructions what needs to be done to get things
100- working again. Explicitly mention if no migration is possible.
126+ #. **Migration ** - provide instructions what needs to be done to get things
127+ working again. Explicitly mention if no migration is possible.
101128
102129
103- .. index ::
104- single: Documentation Contribution Workflow; Deprecations
130+ .. index ::
131+ single: Documentation Contribution Workflow; Deprecations
105132
106- .. _documenting-changelog-deprecations :
133+ .. _documenting-changelog-deprecations :
107134
108135Deprecations
109136~~~~~~~~~~~~
@@ -113,21 +140,21 @@ for a planned removal. See more information: :ref:`Deprecations <deprecations>`
113140
114141**Mandatory sections: **
115142
116- #. **Description ** - why things had to be deprecated.
143+ #. **Description ** - why things had to be deprecated.
117144
118- #. **Impact ** - how will the change affect your installation.
145+ #. **Impact ** - how will the change affect your installation.
119146
120- #. **Affected Installations ** - describe scenarios under which circumstances
121- an TYPO3 install will be affected by this change.
147+ #. **Affected Installations ** - describe scenarios under which circumstances
148+ a TYPO3 install will be affected by this change.
122149
123- #. **Migration ** - provide instructions what needs to be done to get things
124- working again. Explicitly mention if no migration is possible.
150+ #. **Migration ** - provide instructions what needs to be done to get things
151+ working again. Explicitly mention if no migration is possible.
125152
126153
127- .. index ::
154+ .. index ::
128155 single: Documentation Contribution Workflow; Features
129156
130- .. _documenting-changelog-features :
157+ .. _documenting-changelog-features :
131158
132159Features
133160~~~~~~~~
@@ -136,15 +163,15 @@ A patch adds new functionality.
136163
137164**Mandatory sections: **
138165
139- #. **Description ** - what can the new feature do.
166+ #. **Description ** - what can the new feature do.
140167
141- #. **Impact ** - how users are affected by this new feature.
168+ #. **Impact ** - how users are affected by this new feature.
142169
143170
144- .. index ::
171+ .. index ::
145172 single: Documentation Contribution Workflow; Important Information
146173
147- .. _documenting-changelog-important-information :
174+ .. _documenting-changelog-important-information :
148175
149176Important Information
150177~~~~~~~~~~~~~~~~~~~~~
@@ -154,12 +181,12 @@ important enough to require a Changelog entry.
154181
155182#. **Description ** - describe what is so important it needed an rst snippet
156183
157- .. index ::
158- single: Documentation Contribution Workflow; Checking reST Files
159- single: Tools; Checking reST Files
160- single: Changelog; Checking
184+ .. index ::
185+ single: Documentation Contribution Workflow; Checking reST Files
186+ single: Tools; Checking reST Files
187+ single: Changelog; Checking
161188
162- .. _changelog-check-rst :
189+ .. _changelog-check-rst :
163190
164191Check Your `rst ` File
165192---------------------
@@ -168,40 +195,27 @@ When your change is finished, you can run the following script to check that
168195your rst file is ok. The script will check all files in
169196:file: `typo3/sysext/core/Documentation/Changelog `:
170197
171- .. code-block :: shell
172- :caption: shell command
198+ .. code-block :: shell
199+ :caption: shell command
173200
174- Build/Scripts/validateRstFiles.php
201+ Build/Scripts/validateRstFiles.php
175202
176203 This script will check if the .rst files contain all mandatory tags that
177204are required for the Changelog. It will **not ** do a reST syntax check.
178205
179206In order to make sure that your file contains no syntax errors and will
180207be rendered correctly, do one or more of the following:
181208
182- * Check out :ref: `h2document:format-rest-cgl `.
183- * Use an editor or IDE that properly supports reST and shows errors
184- * Render the Changelog locally with docker as explained in the next section
185-
186- .. index ::
187- single: Documentation Contribution Workflow; Rendering Changelog
188- single: Tools; Rendering Changelog
189- single: Changelog; Rendering
190-
191- .. _render-the-changelog :
192-
193- Render the Changelog
194- --------------------
195-
196- If you wish to render the Changelog locally, you can use docker as described
197- in :ref: `h2document:render-documentation-with-docker `.
198-
199- .. important ::
209+ * Check out :ref: `h2document:format-rest-cgl `.
210+ * :ref: `Render the Changelog locally <render-the-changelog >` with Docker or
211+ Podman and resolve all warnings.
200212
201- If you switch branches, you should rebuild everything. You can simply remove the folder
202- :file: `Documentation-GENERATED-temp/Cache ` and all its contents.
213+ .. index ::
214+ single: Documentation Contribution Workflow; Rendering Changelog
215+ single: Tools; Rendering Changelog
216+ single: Changelog; Rendering
203217
204- .. _documentation-main :
218+ .. _documentation-main :
205219
206220Policy for Changing the Main Documentation
207221==========================================
@@ -211,10 +225,10 @@ Once a new TYPO3 release comes out, the main documentation (e.g. :ref:`t3coreapi
211225
212226The procedure is documented in :ref: `h2document:update-docs `.
213227
214- .. index ::
215- single: Documentation Contribution Workflow; Documenting System Extensions
228+ .. index ::
229+ single: Documentation Contribution Workflow; Documenting System Extensions
216230
217- .. _documenting-system-extensions :
231+ .. _documenting-system-extensions :
218232
219233Document System Extensions
220234==========================
@@ -241,5 +255,6 @@ locally with docker to test your changes as described in
241255More Information
242256================
243257
244- * See `Documenting Changes <https://docs.typo3.org/typo3cms/extensions/core/latest/Changelog/Howto.html >`__ for more information on the Changelog
245- * See :ref: `extension-scanner ` in TYPO3 Explained
258+ * See :doc: `Documenting Changes <changelog:Changelog/Howto#documenting-changes >`
259+ for more information on the Changelog
260+ * See :ref: `extension-scanner ` in TYPO3 Explained
0 commit comments