Migration

If you want to migrate from using Sphinx to render TYPO3 documentation using the render-guides, the file Documentation/Settings.cfg has to be replaced by an XML file, Documentation/guides.xml.

To facilitate migration the extension t3docs/typo3-guides-cli in this mono-repository comes with a Symfony console command to automatically migrate the outdated Settings.cfg.

After migration, you can add your guides.xml file to your custom repository, and optionally also remove the old Settings.cfg file.

With official Docker container

To migrate your settings to the new rendering method, run the following command in your project's root folder:

docker run --rm --pull always -v $(pwd):/project -it ghcr.io/typo3-documentation/render-guides:latest migrate Documentation
Copied!

The last option is the folder (here: Documentation). When running the command from another folder than the project's root folder, adapt the given path accordingly.

With make

To migrate your settings to the new rendering method, run the following command in your project's root folder:

make migrate-settings path=Documentation
Copied!

When running the command from another folder than the project's root folder, adapt the given path accordingly.

With ddev

To migrate your settings to the new rendering method, run the following command in your project's root folder:

ddev composer make migrate-settings path=Documentation
Copied!

When running the command from another folder than the project's root folder, adapt the given path accordingly.

With PHP

To migrate your settings to the new rendering method, run the following command in your project's root folder:

packages/typo3-guides-cli/bin/typo3-guides migrate Documentation
Copied!

The last option is the folder (here: Documentation). When running the command from another folder than the project's root folder, adapt the given path accordingly.