From ec19c0c6b5db9e9a3890cfc3ed347f6528969412 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Fri, 16 May 2025 21:43:34 +0200 Subject: [PATCH] docs: Fix formatting of definition lists Definitions in definition lists in most markdown implementations, including the GitLab one, support laziness for the definition text (https://spec.commonmark.org/0.31.2/#lazy-continuation-line). As a result, each defined term would be collapsed into preceding definition. To fix this, definitions need to be separated by blank line. --- docs/macros.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/macros.md b/docs/macros.md index 00350e7d7..a4f872be9 100644 --- a/docs/macros.md +++ b/docs/macros.md @@ -6,14 +6,19 @@ being defined at build time: `--buildtype={plain,release,minsize,custom}` : No special macros or options + `--buildtype={debug,debugoptimized}` (`debugoptimized` is the default) : `-DG_ENABLE_DEBUG -g` + `-Dglib_debug=disabled` : Omits `G_ENABLE_DEBUG` when implied by `--buildtype`/`-Ddebug` + `-Dglib_debug=enabled` : Defines `G_ENABLE_DEBUG` regardless of `--buildtype`/`-Ddebug` + `-Dglib_asserts=false` : `-DG_DISABLE_ASSERT` + `-Dglib_checks=false` : `-DG_DISABLE_CHECKS`