* Re: [RFC] Integrate Rust code documentation into Documentation/
[not found] <20221119165921.18806-1-bilbao@vt.edu>
@ 2022-11-21 21:39 ` Jonathan Corbet
2022-11-21 23:52 ` Miguel Ojeda
0 siblings, 1 reply; 2+ messages in thread
From: Jonathan Corbet @ 2022-11-21 21:39 UTC (permalink / raw)
To: Carlos Bilbao, ojeda, alex.gaynor, wedsonaf, boqun.feng
Cc: linux-kernel, linux-doc, Carlos Bilbao
Carlos Bilbao <bilbao@vt.edu> writes:
> I propose we include in 'make htmldocs' the option to integrate
> rustdoc-generated information. We could create and use
> Documentation/rust/rustdoc.rst as linking point for that HTML. This
> wouldn't be costly for the kernel itself. More importantly, the kernel
> website could host this information by default.
I'm all in favor of including that output, just haven't had the time to
try to figure out how to make it actually work. Got a patch that
implements this behavior? :)
jon
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [RFC] Integrate Rust code documentation into Documentation/
2022-11-21 21:39 ` [RFC] Integrate Rust code documentation into Documentation/ Jonathan Corbet
@ 2022-11-21 23:52 ` Miguel Ojeda
0 siblings, 0 replies; 2+ messages in thread
From: Miguel Ojeda @ 2022-11-21 23:52 UTC (permalink / raw)
To: Jonathan Corbet
Cc: Carlos Bilbao, ojeda, alex.gaynor, wedsonaf, boqun.feng,
linux-kernel, linux-doc, Konstantin Ryabitsev
On Mon, Nov 21, 2022 at 10:39 PM Jonathan Corbet <corbet@lwn.net> wrote:
>
> Carlos Bilbao <bilbao@vt.edu> writes:
>
> > I propose we include in 'make htmldocs' the option to integrate
> > rustdoc-generated information. We could create and use
> > Documentation/rust/rustdoc.rst as linking point for that HTML. This
> > wouldn't be costly for the kernel itself. More importantly, the kernel
> > website could host this information by default.
>
> I'm all in favor of including that output, just haven't had the time to
> try to figure out how to make it actually work. Got a patch that
> implements this behavior? :)
Agreed, generating them in `make htmldocs` is also what Konstantin
(Cc'd) proposed a long time ago. In which case, I assume he will need
to add the toolchain to some infrastructure so that we actually get
them.
There are a couple bits to handle: they should only be generated if
the Rust toolchain is available (and if the Rust support is enabled,
really; and probably that suggested `rustdoc.rst` should reflect the
result too). Also, the existing target depends on a kernel config --
we may use x86_64 allyesconfig for the moment.
Cheers,
Miguel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-11-21 23:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20221119165921.18806-1-bilbao@vt.edu>
2022-11-21 21:39 ` [RFC] Integrate Rust code documentation into Documentation/ Jonathan Corbet
2022-11-21 23:52 ` Miguel Ojeda
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).