Mesa (main): docs/ci: fix literalinclude of caching setup files

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon May 23 09:06:05 UTC 2022


Module: Mesa
Branch: main
Commit: 5718629a704ced0e3186ded2f39d51d28c0a1aa8
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5718629a704ced0e3186ded2f39d51d28c0a1aa8

Author: Erico Nunes <nunes.erico at gmail.com>
Date:   Sun Mar 27 14:07:46 2022 +0200

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 <nunes.erico at gmail.com>
Reviewed-by: Emma Anholt <emma at anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15599>

---

 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.



More information about the mesa-commit mailing list