Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Commit

Permalink
[TASK] Migrate to the new PHP-based rendering (#383)
Browse files Browse the repository at this point in the history
Releases: main, 12.4, 11.5
  • Loading branch information
linawolf authored May 16, 2024
1 parent a1d7ce4 commit b525bab
Show file tree
Hide file tree
Showing 11 changed files with 57 additions and 411 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/test-documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Test documentation

on: [ push, pull_request ]

jobs:
tests:
name: Render documentation
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Test if the documentation will render without warnings
run: |
mkdir -p Documentation-GENERATED-temp \
&& docker run --rm --pull always -v $(pwd):/project \
ghcr.io/typo3-documentation/render-guides:latest --config=Documentation --no-progress --fail-on-log
1 change: 0 additions & 1 deletion Documentation/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -152,4 +152,3 @@ mode.
:hidden:

Sitemap
genindex
2 changes: 1 addition & 1 deletion Documentation/Major/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,5 @@ Major upgrade
:titlesonly:

PreupgradeTasks/Index
UpgradeCore.rst
UpgradeCore
PostupgradeTasks/Index
2 changes: 0 additions & 2 deletions Documentation/Major/PreupgradeTasks/Backup.rst.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
.. include:: /Includes.rst.txt

.. _backup:

Make a backup first! If things go wrong, you can at least go back to the old
version. You need a backup of

Expand Down
2 changes: 1 addition & 1 deletion Documentation/Major/PreupgradeTasks/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Check that all system requirements for upgrading are met:

* See :ref:`t3start:system-requirements`

.. _make_a_backup:
.. _preupgradetasks_make_a_backup:

Make A Backup
=============
Expand Down
4 changes: 2 additions & 2 deletions Documentation/MigrateContent/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Via CLI command
----------------

Exporting a TYPO3 page tree without php time limit is possible via
:ref:`Symfony Console Commands (cli) <symfony-console-commands-cli>`.
:ref:`Symfony Console Commands (cli) <t3coreapi:symfony-console-commands-cli>`.

.. code-block:: bash
:caption: Composer based installation
Expand Down Expand Up @@ -127,7 +127,7 @@ Via CLI command
----------------

Importing a TYPO3 page tree without php time limit is possible via
:ref:`Symfony Console Commands (cli) <symfony-console-commands-cli>`.
:ref:`Symfony Console Commands (cli) <t3coreapi:symfony-console-commands-cli>`.

.. code-block:: bash
:caption: Composer based installation
Expand Down
62 changes: 0 additions & 62 deletions Documentation/Settings.cfg

This file was deleted.

7 changes: 0 additions & 7 deletions Documentation/genindex.rst

This file was deleted.

20 changes: 20 additions & 0 deletions Documentation/guides.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<guides xmlns="https://www.phpdoc.org/guides" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://www.phpdoc.org/guides ../vendor/phpdocumentor/guides-cli/resources/schema/guides.xsd"
links-are-relative="true">
<extension class="\T3Docs\Typo3DocsTheme\DependencyInjection\Typo3DocsThemeExtension"
project-home="https://docs.typo3.org/m/typo3/guide-installation/main/en-us/"
project-contact="https://typo3.slack.com/archives/C028JEPJL"
project-repository="https://github.com/TYPO3-Documentation/TYPO3CMS-Guide-Installation"
project-issues="https://github.com/TYPO3-Documentation/TYPO3CMS-Guide-Installation/issues"
edit-on-github-branch="main"
edit-on-github="TYPO3-Documentation/TYPO3CMS-Guide-Installation"
typo3-core-preferred="main"
/>
<project title="TYPO3 Upgrade Guide"
release="main (development)"
version="main (development)"
copyright="since 2012 by the TYPO3 contributors"
/>
<inventory id="t3home" url="https://docs.typo3.org/"/>
</guides>
Loading

0 comments on commit b525bab

Please sign in to comment.