From 779318a3163a1687cb76ee8045c3ef64d62807ac Mon Sep 17 00:00:00 2001 From: Antonin Godard Date: Tue, 18 Aug 2026 09:34:59 +0200 Subject: [PATCH] index.rst: show the intro paragraph only for html-based docs The current non-HTML-based documents we support is the PDF format. For this format, this intro paragraph is placed right after the table of contents, which is odd and breaks the flow of the document. Show this paragraph only in HTML-based document, which includes the HTML and ePUB formats. Link: https://patch.msgid.link/20260818-intros-only-in-html-v1-1-4fe4c54655bf@bootlin.com (From yocto-docs rev: f24fed24c0893074d5990b15436229d9957d4038) Signed-off-by: Antonin Godard (cherry picked from commit 8e70193dc4c6271e0226cdda7110cf60347f0f51) Signed-off-by: Antonin Godard Signed-off-by: Paul Barker --- documentation/index.rst | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/documentation/index.rst b/documentation/index.rst index 0c6188a149..92768341f0 100644 --- a/documentation/index.rst +++ b/documentation/index.rst @@ -9,10 +9,12 @@ Welcome to the Yocto Project Documentation ========================================== -This is the top level of the Yocto Project documentation tree. The Yocto Project -documentation is always a work in progress, just like the Yocto Project itself. -Improvements to the documentation are always welcome; join the -:yocto_lists:`docs mailing list ` if you want to help out. +.. only:: html + + This is the top level of the Yocto Project documentation tree. The Yocto + Project documentation is always a work in progress, just like the Yocto + Project itself. Improvements to the documentation are always welcome; join + the :yocto_lists:`docs mailing list ` if you want to help out. Introduction and Overview =========================