Skip to content

Commit

Permalink
[TASK] Move migration chapter a level up
Browse files Browse the repository at this point in the history
And advertise it on the front page.
  • Loading branch information
linawolf committed Apr 16, 2024
1 parent 3eb3cfc commit 28ccd1d
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 4 deletions.
File renamed without changes.
15 changes: 15 additions & 0 deletions Documentation/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,20 @@ reST and Sphinx.

----

.. container:: row m-0 p-0

.. container:: col-md-6 pl-0 pr-3 py-3 m-0

.. container:: card px-0 h-100

.. rst-class:: card-header h3

.. rubric:: :ref:`Migration <migrate>`

.. container:: card-body

Migrate your documentation to the new, PHP-based reST rendering.

.. container:: row m-0 p-0

.. container:: col-md-6 pl-0 pr-3 py-3 m-0
Expand Down Expand Up @@ -113,6 +127,7 @@ What's new in this guide?
:hidden:
:caption: HOWTOS

Migration/Index
WritingDocForExtension/Index
WritingDocsOfficial/Index
RenderingDocs/Index
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
Documentation; Migration
docs.typo3.org
.. _migrate:
.. _register-for-rendering:

=============================================
Migration: From Sphinx to PHP-based rendering
Expand Down Expand Up @@ -182,7 +181,7 @@ https://github.com/TYPO3-Documentation/render-guides/blob/main/Makefile

A small example :file:`Makefile`:

.. literalinclude:: _Makefile
.. literalinclude:: /CodeSnippets/_Makefile
:caption: Makefile

.. hint::
Expand All @@ -209,7 +208,7 @@ ensure the extension's documentation renders without warnings.
An example workflow on GitHub would be established via this file in
:file:`.github/actions/documentation.yml`:

.. literalinclude:: _documentation.yml
.. literalinclude:: /CodeSnippets/_documentation.yml
:caption: .github/actions/documentation.yml


Expand Down
5 changes: 4 additions & 1 deletion Documentation/WritingDocForExtension/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
How to document an extension
============================

.. hint::
If your extension does not have a file :file:`EXT:my_extension/Documentation/guides.xml`
you should :ref:`migrate to the new PHP-based rendering <migrate>`.

This chapter explains how to write documentation for a new extension.

This guide uses the `example extension manual <https://github.com/TYPO3-Documentation/TYPO3CMS-Example-ExtensionManual>`__
Expand Down Expand Up @@ -152,7 +156,6 @@ The rendering supports two branches within repositories:
:maxdepth: 1
:hidden:

Migrate
Webhook
ReregisterVersions
FAQ
Expand Down

0 comments on commit 28ccd1d

Please sign in to comment.