From 59620c9cf870a03ab287337a1b40e3603b228707 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Wed, 2 Nov 2022 11:07:17 +0000 Subject: [PATCH] docs: Fix a cross-reference to a Figure in the GVariant Specification MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit reStructuredText doesn’t support cross-references unless always built with Sphinx (as I understand it). `rst2html5` doesn‘t support them. So reword this (currently manual) cross-reference so it’s less awkward. Signed-off-by: Philip Withnall --- docs/reference/glib/gvariant-specification-1.0.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/glib/gvariant-specification-1.0.rst b/docs/reference/glib/gvariant-specification-1.0.rst index 996539a37..c15fc7af9 100644 --- a/docs/reference/glib/gvariant-specification-1.0.rst +++ b/docs/reference/glib/gvariant-specification-1.0.rst @@ -591,7 +591,7 @@ until this property becomes true. These bytes will never result in confusion wit to locating framing offsets or the end of a variable-sized child because, by definition, neither of these things occur inside fixed-sized structures. -Figure 2.4 depicts a structure of type ``(nsns)`` and value ``[257, 'xx', 514, '']``. One +The figure above depicts a structure of type ``(nsns)`` and value ``[257, 'xx', 514, '']``. One framing offset exists for the one non-fixed-sized item that is not the final item (namely, the string ``'xx'``). The process of “rounding up” to find the start of the second integer is indicated.