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 <antonin.godard@bootlin.com>
(cherry picked from commit 8e70193dc4c6271e0226cdda7110cf60347f0f51)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Paul Barker <paul@pbarker.dev>
This commit is contained in:
Antonin Godard
2026-08-18 09:34:59 +02:00
committed by Paul Barker
parent ac4a16fccc
commit 779318a316

View File

@@ -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 </g/docs>` 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 </g/docs>` if you want to help out.
Introduction and Overview
=========================