From 5718629a704ced0e3186ded2f39d51d28c0a1aa8 Mon Sep 17 00:00:00 2001 From: Erico Nunes Date: Sun, 27 Mar 2022 14:07:46 +0200 Subject: [PATCH] docs/ci: fix literalinclude of caching setup files Fix the syntax to show the files in the generated sphinx, otherwise they just don't show at all. Signed-off-by: Erico Nunes Reviewed-by: Emma Anholt Part-of: --- docs/ci/bare-metal.rst | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/ci/bare-metal.rst b/docs/ci/bare-metal.rst index cec8d3237b0..0c8ecb4f3eb 100644 --- a/docs/ci/bare-metal.rst +++ b/docs/ci/bare-metal.rst @@ -200,11 +200,13 @@ want a pass-through HTTP cache. On your runner box, install nginx: Add the server setup files: -.. literalinclude: fdo-cache: +.. literalinclude:: fdo-cache :name: /etc/nginx/sites-available/fdo-cache + :caption: /etc/nginx/sites-available/fdo-cache -.. literalinclude: uri-caching.conf: - :name: /etc/nginx/sites-available/snippets/uri-caching.conf +.. literalinclude:: uri-caching.conf + :name: /etc/nginx/snippets/uri-caching.conf + :caption: /etc/nginx/snippets/uri-caching.conf Edit the listener addresses in fdo-cache to suit the ethernet interface that your devices are on.