From 96db6dec8bdd323c77cd1c45766b6b12969fefa0 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Sun, 11 May 2025 08:30:41 +0200 Subject: [PATCH] Find{BISON,FLEX}: Fix Sphinx warnings This fixes Sphinx warning `Unexpected section title or transition`. RST transition element (horizontal line) cannot appear inside some container-like elements. --- Modules/FindBISON.cmake | 2 +- Modules/FindFLEX.cmake | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/FindBISON.cmake b/Modules/FindBISON.cmake index 644f5904a0..ef76f6a51c 100644 --- a/Modules/FindBISON.cmake +++ b/Modules/FindBISON.cmake @@ -119,7 +119,7 @@ This module provides the following command if ``bison`` is found: line. A :ref:`semicolon-separated list ` will not work. - --------------------------------------------------------------------- + .. rubric:: Command variables This command also defines the following variables: diff --git a/Modules/FindFLEX.cmake b/Modules/FindFLEX.cmake index bf00fed94e..11c53a91c1 100644 --- a/Modules/FindFLEX.cmake +++ b/Modules/FindFLEX.cmake @@ -103,7 +103,7 @@ Generating Scanners line. A :ref:`semicolon-separated list ` will not work. - --------------------------------------------------------------------- + .. rubric:: Command variables This command also defines the following variables: