From 0e7af7b77b1dacd5a87d41d606138f3471d9430c Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Sun, 18 Feb 2024 15:58:51 +0100 Subject: [PATCH] docs: Various formatting improvements --- docs/explanations/install.rst | 17 +++++++++-------- docs/tutorials/tut0.rst | 2 +- docs/tutorials/tut1.rst | 4 ++-- 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/docs/explanations/install.rst b/docs/explanations/install.rst index b2935a937..f1ae253c3 100644 --- a/docs/explanations/install.rst +++ b/docs/explanations/install.rst @@ -163,14 +163,15 @@ If you want to have a visual overview of your API in your browser you can add sw .. code-block:: yaml - swagger: - image: swaggerapi/swagger-ui - ports: - - "8080:8080" - expose: - - "8080" - environment: - API_URL: http://localhost:3000/ + # in services: + swagger: + image: swaggerapi/swagger-ui + ports: + - "8080:8080" + expose: + - "8080" + environment: + API_URL: http://localhost:3000/ With this you can see the swagger-ui in your browser on port 8080. diff --git a/docs/tutorials/tut0.rst b/docs/tutorials/tut0.rst index 3d9a5eae7..c2fa5f33a 100644 --- a/docs/tutorials/tut0.rst +++ b/docs/tutorials/tut0.rst @@ -30,7 +30,7 @@ If Docker is not installed, you can get it `here