From 5d5078414e0d3c90170d747e06c762cab73c5182 Mon Sep 17 00:00:00 2001 From: "lina.wolf" Date: Fri, 22 Nov 2024 15:47:30 +0100 Subject: [PATCH] [TASK] Adjust local rendering The folder is automatically created now, the file can just be opened in any browser. --- .../_Includes/_LocalRendering.rst.txt | 27 +++---------------- 1 file changed, 4 insertions(+), 23 deletions(-) diff --git a/Documentation/_Includes/_LocalRendering.rst.txt b/Documentation/_Includes/_LocalRendering.rst.txt index 3a9340e..7e6496c 100644 --- a/Documentation/_Includes/_LocalRendering.rst.txt +++ b/Documentation/_Includes/_LocalRendering.rst.txt @@ -1,25 +1,6 @@ -.. tabs:: +.. code-block:: bash - .. group-tab:: Linux + docker run --rm --pull always -v $(pwd):/project -it ghcr.io/typo3-documentation/render-guides:latest --config=Documentation - .. code-block:: bash - - mkdir -p Documentation-GENERATED-temp - docker run --rm --pull always -v $(pwd):/project -it ghcr.io/typo3-documentation/render-guides:latest --config=Documentation - xdg-open "Documentation-GENERATED-temp/Index.html" - - .. group-tab:: MacOS - - .. code-block:: bash - - mkdir -p Documentation-GENERATED-temp - docker run --rm --pull always -v $(pwd):/project -it ghcr.io/typo3-documentation/render-guides:latest --config=Documentation - open "Documentation-GENERATED-temp/Index.html" - - .. group-tab:: Windows - - .. code-block:: powershell - - New-Item -ItemType Directory -Force -Path ".\Documentation-GENERATED-temp" - docker run --rm --pull always -v ${PWD}:/project -it ghcr.io/typo3-documentation/render-guides:latest --config=Documentation - start "Documentation-GENERATED-temp/Index.html" +Open the file saved to :file:`Documentation-GENERATED-temp/Index.html` in a +browser of your choice.