nixpkgs/home/packages/custom/typo3-documentation-rendering-old/default.nix
Daniel Siepmann dbf35c677e
Add new TYPO3 documentation rendering based on phpDocumentor
Keep old rendering as some projects are not migrated yet and need the
old rendering.
2024-03-14 07:22:30 +01:00

25 lines
625 B
Nix

{
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
'';
}