Re: [docs] [yocto] [ANNOUNCEMENT] Yocto Project 4.0 is Released

Nicolas Dechesne <nicolas.dechesne@...>

On Wed, Apr 27, 2022 at 1:17 PM Nicolas Dechesne <nicolas.dechesne@...> wrote:

On Wed, Apr 27, 2022 at 10:59 AM Michael Opdenacker via <> wrote:

On 4/27/22 10:18, Jose Quaresma wrote:
> In the HTML page it is fine, the &YOCTO_DOC_VERSION is 4.0
> In the dev version the &YOCTO_DOC_VERSION is not replaced by dev

That's *very weird* because the substitution happened in but
not in
(same version).

When I build the docs locally things look fine. Any ideas what could
cause this?

I can reproduce the issue when building locally. I am using Sphinx==4.4.0

oh... It's because the file release-notes-4.0.rst is included with a ..include statement. The variable mapping is done with a custom Sphinx extension ( which is triggered for the 'source-read' event. So perhaps this event is not triggered when using an include statement.. let me check more on that..  


Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering

Join to automatically receive all group messages.