public inbox for docs@lists.yoctoproject.org
 help / color / mirror / Atom feed
* Links within 'Mega' Manual?
@ 2026-02-17  7:59 Daniel Ammann
  2026-02-17  8:28 ` [docs] " Antonin Godard
  2026-02-17 10:02 ` Antonin Godard
  0 siblings, 2 replies; 4+ messages in thread
From: Daniel Ammann @ 2026-02-17  7:59 UTC (permalink / raw)
  To: docs

Hello

It looks like links within the 'Mega' Manual do not work.
E.g.
- Go to https://docs.yoctoproject.org/
- Switch to the 'Mega' Manual.
- Click on one of the links to within the document (e.g. "Build Host").
- The link is now https://docs.yoctoproject.org/singleindex.html#document-ref-manual/terms#term-Build-Host
   and doesn't work.

I tested with firefox and chromium.

Kind regards

Daniel


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [docs] Links within 'Mega' Manual?
  2026-02-17  7:59 Links within 'Mega' Manual? Daniel Ammann
@ 2026-02-17  8:28 ` Antonin Godard
  2026-02-17 10:02 ` Antonin Godard
  1 sibling, 0 replies; 4+ messages in thread
From: Antonin Godard @ 2026-02-17  8:28 UTC (permalink / raw)
  To: Daniel Ammann, docs

Hi,

On Tue Feb 17, 2026 at 8:59 AM CET, Daniel Ammann wrote:
> Hello
>
> It looks like links within the 'Mega' Manual do not work.
> E.g.
> - Go to https://docs.yoctoproject.org/
> - Switch to the 'Mega' Manual.
> - Click on one of the links to within the document (e.g. "Build Host").
> - The link is now https://docs.yoctoproject.org/singleindex.html#document-ref-manual/terms#term-Build-Host
>    and doesn't work.

You're right, thanks for the report. I'll look into it.

Antonin


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [docs] Links within 'Mega' Manual?
  2026-02-17  7:59 Links within 'Mega' Manual? Daniel Ammann
  2026-02-17  8:28 ` [docs] " Antonin Godard
@ 2026-02-17 10:02 ` Antonin Godard
  2026-02-27 11:50   ` Quentin Schulz
  1 sibling, 1 reply; 4+ messages in thread
From: Antonin Godard @ 2026-02-17 10:02 UTC (permalink / raw)
  To: Daniel Ammann, docs

On Tue Feb 17, 2026 at 8:59 AM CET, Daniel Ammann wrote:
> Hello
>
> It looks like links within the 'Mega' Manual do not work.
> E.g.
> - Go to https://docs.yoctoproject.org/
> - Switch to the 'Mega' Manual.
> - Click on one of the links to within the document (e.g. "Build Host").
> - The link is now https://docs.yoctoproject.org/singleindex.html#document-ref-manual/terms#term-Build-Host
>    and doesn't work.
>
> I tested with firefox and chromium.

I have found that the issue was also reported upstream, and have sent a patch to
our Sphinx recipe that is used to build the documentation on https://docs.yoctoproject.org:

https://lore.kernel.org/r/20260217-fix-sphinx-singlehtml-uris-v1-1-763a999c54db@bootlin.com

If you are building the documentation yourself, make sure to revert the commit
as I did in my link above for now. Hopefully this will be fixed in the next
version of Sphinx.

Thanks again for the report!
Antonin


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [docs] Links within 'Mega' Manual?
  2026-02-17 10:02 ` Antonin Godard
@ 2026-02-27 11:50   ` Quentin Schulz
  0 siblings, 0 replies; 4+ messages in thread
From: Quentin Schulz @ 2026-02-27 11:50 UTC (permalink / raw)
  To: antonin.godard, Daniel Ammann, docs

Hi Antonin,

On 2/17/26 11:02 AM, Antonin Godard via lists.yoctoproject.org wrote:
> On Tue Feb 17, 2026 at 8:59 AM CET, Daniel Ammann wrote:
>> Hello
>>
>> It looks like links within the 'Mega' Manual do not work.
>> E.g.
>> - Go to https://docs.yoctoproject.org/
>> - Switch to the 'Mega' Manual.
>> - Click on one of the links to within the document (e.g. "Build Host").
>> - The link is now https://docs.yoctoproject.org/singleindex.html#document-ref-manual/terms#term-Build-Host
>>     and doesn't work.
>>
>> I tested with firefox and chromium.
> 
> I have found that the issue was also reported upstream, and have sent a patch to
> our Sphinx recipe that is used to build the documentation on https://docs.yoctoproject.org/:
> 
> https://lore.kernel.org/r/20260217-fix-sphinx-singlehtml-uris-v1-1-763a999c54db@bootlin.com
> 
> If you are building the documentation yourself, make sure to revert the commit

Maybe rather suggest to use a version which isn't impacted? This is much 
easier than reverting a patch? According to 
https://github.com/sphinx-doc/sphinx/commit/c93723b80396959e19442f7058ad3412eaf11468 
the commit is in version v8.2.0 and later. So anything below that 
version should be fine.

I'm wondering if we should enforce that in Pipfile and pip3_docs.sh 
maybe? We'll have an issue once a new release is published with this 
fixed where we'll want Sphinx to not come from a specific range. At that 
point, I guess we can refuse to build singlehtml from the Makefile 
directly if sphinx-build is in that unsupported range.

What do you think?

Cheers,
Quentin


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-02-27 11:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-17  7:59 Links within 'Mega' Manual? Daniel Ammann
2026-02-17  8:28 ` [docs] " Antonin Godard
2026-02-17 10:02 ` Antonin Godard
2026-02-27 11:50   ` Quentin Schulz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox