summaryrefslogtreecommitdiffstats
path: root/Documentation/rust
diff options
context:
space:
mode:
authorMiguel Ojeda <ojeda@kernel.org>2024-08-18 16:11:59 +0200
committerMiguel Ojeda <ojeda@kernel.org>2024-08-25 18:37:40 +0200
commit0eef6ec5a8e5bc2d633d6716f2640de8d6b45da7 (patch)
treea16b2d38793a1c665fa894d00a0018c4c61b64af /Documentation/rust
parentrust: types: add `ARef::into_raw` (diff)
downloadlinux-0eef6ec5a8e5bc2d633d6716f2640de8d6b45da7.tar.xz
linux-0eef6ec5a8e5bc2d633d6716f2640de8d6b45da7.zip
docs: rust: link to https://rust.docs.kernel.org
The Rust code documentation (i.e. `rustdoc`-generated docs) is now available at: https://rust.docs.kernel.org Thus document it and remove the `TODO` line. The generation uses a particular kernel configuration, based on x86_64, which may get tweaked over time. Older tags, and how they are generated, may also change in the future. We may consider freezing them at some point, but for the moment, the content should not be considered immutable. Thanks Konstantin for the support setting it up! Cc: Konstantin Ryabitsev <konstantin@linuxfoundation.org> Acked-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org> Link: https://lore.kernel.org/r/20240818141200.386899-1-ojeda@kernel.org Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'Documentation/rust')
-rw-r--r--Documentation/rust/general-information.rst13
-rw-r--r--Documentation/rust/index.rst3
2 files changed, 13 insertions, 3 deletions
diff --git a/Documentation/rust/general-information.rst b/Documentation/rust/general-information.rst
index a82926d7b379..2dec01888d53 100644
--- a/Documentation/rust/general-information.rst
+++ b/Documentation/rust/general-information.rst
@@ -22,10 +22,17 @@ Rust kernel code is documented using ``rustdoc``, its built-in documentation
generator.
The generated HTML docs include integrated search, linked items (e.g. types,
-functions, constants), source code, etc. They may be read at (TODO: link when
-in mainline and generated alongside the rest of the documentation):
+functions, constants), source code, etc. They may be read at:
- http://kernel.org/
+ https://rust.docs.kernel.org
+
+For linux-next, please see:
+
+ https://rust.docs.kernel.org/next/
+
+There are also tags for each main release, e.g.:
+
+ https://rust.docs.kernel.org/6.10/
The docs can also be easily generated and read locally. This is quite fast
(same order as compiling the code itself) and no special tools or environment
diff --git a/Documentation/rust/index.rst b/Documentation/rust/index.rst
index 46d35bd395cf..5e51bfb248a4 100644
--- a/Documentation/rust/index.rst
+++ b/Documentation/rust/index.rst
@@ -32,6 +32,9 @@ configurations.
.. only:: not rustdoc and html
This documentation does not include rustdoc generated information.
+ A pregenerated version is provided at:
+
+ https://rust.docs.kernel.org
.. toctree::
:maxdepth: 1