Skip to content

Commit

Permalink
[TASK] Adjust local rendering
Browse files Browse the repository at this point in the history
The folder is automatically created now, the file can just be opened in any browser.
  • Loading branch information
linawolf committed Nov 22, 2024
1 parent 6ab100e commit 5d50784
Showing 1 changed file with 4 additions and 23 deletions.
27 changes: 4 additions & 23 deletions Documentation/_Includes/_LocalRendering.rst.txt
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit 5d50784

Please sign in to comment.