Add new TYPO3 documentation rendering based on phpDocumentor

Keep old rendering as some projects are not migrated yet and need the
old rendering.
This commit is contained in:
Daniel Siepmann 2024-03-14 07:22:30 +01:00
parent 0973ee80ac
commit dbf35c677e
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4
3 changed files with 29 additions and 6 deletions

View file

@ -9,6 +9,7 @@
(callPackage ./nextcloud-sync/from-local.nix { })
(callPackage ./nextcloud-sync/from-remote.nix { })
(callPackage ./typo3-documentation-rendering { })
(callPackage ./typo3-documentation-rendering-old { })
(callPackage ./zcat-progress { })
(callPackage ./project {
inherit ownLib;

View file

@ -0,0 +1,24 @@
{
writeShellApplication,
podman
}:
writeShellApplication {
name = "custom-typo3-render-documentation-old";
runtimeInputs = [
podman
];
# Repository: https://github.com/t3docs/DRC-The-Docker-Rendering-Container
# Documentation: https://t3docs.github.io/DRC-The-Docker-Rendering-Container/07-To-be-sorted/quickstart.html#build-html-with-plain-docker-commands
text = ''
mkdir -p Documentation-GENERATED-temp
podman \
run --rm \
-v "$(pwd)":/PROJECT:ro \
-v "$(pwd)/Documentation-GENERATED-temp":/RESULT \
ghcr.io/t3docs/render-documentation:latest \
makehtml
'';
}

View file

@ -10,15 +10,13 @@ writeShellApplication {
podman
];
# Repository: https://github.com/t3docs/DRC-The-Docker-Rendering-Container
# Documentation: https://t3docs.github.io/DRC-The-Docker-Rendering-Container/07-To-be-sorted/quickstart.html#build-html-with-plain-docker-commands
# Repository: https://github.com/TYPO3-Documentation/render-guides
text = ''
mkdir -p Documentation-GENERATED-temp
podman \
run --rm \
-v "$(pwd)":/PROJECT:ro \
-v "$(pwd)/Documentation-GENERATED-temp":/RESULT \
ghcr.io/t3docs/render-documentation:latest \
makehtml
-v "$(pwd)":/project \
-it ghcr.io/typo3-documentation/render-guides:latest \
--config=Documentation
'';
}