diff --git a/home/packages/custom/default.nix b/home/packages/custom/default.nix index a2a89cf..131c759 100644 --- a/home/packages/custom/default.nix +++ b/home/packages/custom/default.nix @@ -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; diff --git a/home/packages/custom/typo3-documentation-rendering-old/default.nix b/home/packages/custom/typo3-documentation-rendering-old/default.nix new file mode 100644 index 0000000..eaf5cac --- /dev/null +++ b/home/packages/custom/typo3-documentation-rendering-old/default.nix @@ -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 + ''; +} diff --git a/home/packages/custom/typo3-documentation-rendering/default.nix b/home/packages/custom/typo3-documentation-rendering/default.nix index 03e2cf1..20419b9 100644 --- a/home/packages/custom/typo3-documentation-rendering/default.nix +++ b/home/packages/custom/typo3-documentation-rendering/default.nix @@ -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 ''; }