Re: [PATCH 0/1] fix rustdoc build detection
From: Miguel Ojeda
Date: Sun Nov 23 2025 - 20:51:53 EST
On Fri, Nov 21, 2025 at 10:41 AM Mauro Carvalho Chehab
<mchehab+huawei@xxxxxxxxxx> wrote:
>
> I'm not talking about stop using rustdoc. I'm talking about using
> it to output on a format that Sphinx can understand, and let Sphinx
> do the final output, solving cross-references.
By stop using `rustdoc` I meant its "normal" (HTML) output, i.e. the
webpage with all its features and so on.
The JSON support is unstable so far:
https://github.com/rust-lang/rust/issues/76578
And even then, I imagine it will always still require a kernel config,
so that isn't an advantage either.
Thus trying to mimic what `rustdoc` does is probably going to be a lot
of work to maintain, to likely get a worse result than what `rustdoc`
already does.
Something that would work without a config could be way more
interesting for us to integrate into Sphinx.
Thanks!
Cheers,
Miguel