Home
last modified time | relevance | path

Searched refs:rustdoc (Results 1 – 14 of 14) sorted by relevance

/linux/rust/
H A DMakefile4 rustdoc_output := $(objtree)/Documentation/output/rust/rustdoc
138 --crate-name $(subst rustdoc-,,$@) \
154 rustdoc: rustdoc-core rustdoc-macros rustdoc-compiler_builtins \ target
155 rustdoc-kernel rustdoc-pin_init
169 $(Q)for f in $(rustdoc_output)/static.files/rustdoc-*.css; do \
172 rustdoc-proc_macro2: private rustdoc_host = yes
173 rustdoc-proc_macro2: private rustc_target_flags = $(proc_macro2-flags)
174 rustdoc-proc_macro2: $(src)/proc-macro2/lib.rs rustdoc-clean FORCE
175 +$(call if_changed,rustdoc)
177 rustdoc-quote: private rustdoc_host = yes
[all …]
/linux/Documentation/translations/zh_CN/rust/
H A Dindex.rst29 给定一个内核配置,内核可能会生成 Rust 代码文档,即由 ``rustdoc`` 工具呈现的 HTML。
31 .. only:: rustdoc and html
33 该内核文档使用 `Rust 代码文档 <rustdoc/kernel/index.html>`_ 构建。
35 .. only:: not rustdoc and html
H A Dgeneral-information.rst21 Rust内核代码使用其内置的文档生成器 ``rustdoc`` 进行记录。
30 们,请使用 ``rustdoc`` 目标,并使用编译时使用的相同调用,例如::
32 make LLVM=1 rustdoc
36 xdg-open Documentation/output/rust/rustdoc/kernel/index.html
H A Dcoding-guidelines.rst98 代码的常用系统:rustdoc工具,它使用Markdown(一种轻量级的标记语言)。
132 这个例子展示了一些 ``rustdoc`` 的特性和内核中遵循的一些惯例:
147 - Rust项目(函数、类型、常量……)必须有适当的链接(``rustdoc`` 会自动创建一个
156 要了解更多关于如何编写Rust和拓展功能的文档,请看看 ``rustdoc`` 这本书,网址是:
158 https://doc.rust-lang.org/rustdoc/how-to-write-documentation.html
H A Dquick-start.rst166 rustdoc section in 开发依赖
169 ``rustdoc`` 是Rust的文档工具。它为Rust代码生成漂亮的HTML文档(详情请见 general-information.rst )。
171 ``rustdoc`` 也被用来测试文档化的Rust代码中提供的例子(称为doctests或文档测试)。
176 独立的安装程序也带有 ``rustdoc`` 。
H A Dtesting.rst62 在用户空间中,这些测试由 ``rustdoc`` 负责收集并运行。单独使用这个工具已经很有价值,
104 其中标明了原始测试的文件和行号(不是 ``rustdoc`` 生成的临时 Rust 文件位置)::
/linux/Documentation/rust/
H A Dindex.rst32 i.e. HTML rendered by the ``rustdoc`` tool.
34 .. only:: rustdoc and html
37 <rustdoc/kernel/index.html>`_.
39 .. only:: not rustdoc and html
H A Dgeneral-information.rst23 Rust kernel code is documented using ``rustdoc``, its built-in documentation
42 the particular kernel configuration used. To generate them, use the ``rustdoc``
45 make LLVM=1 rustdoc
49 xdg-open Documentation/output/rust/rustdoc/kernel/index.html
H A Dquick-start.rst123 make LLVM=1 RUSTC=rustc-1.80 RUSTDOC=rustdoc-1.80 RUSTFMT=rustfmt-1.80 \
293 rustdoc section in Requirements: Developing
296 ``rustdoc`` is the documentation tool for Rust. It generates pretty HTML
300 ``rustdoc`` is also used to test the examples provided in documented Rust code
307 The standalone installers also come with ``rustdoc``.
H A Dcoding-guidelines.rst196 Instead, the usual system for documenting Rust code is used: the ``rustdoc``
232 This example showcases a few ``rustdoc`` features and some conventions followed
252 (``rustdoc`` will create a link automatically).
263 please take a look at the ``rustdoc`` book at:
265 https://doc.rust-lang.org/rustdoc/how-to-write-documentation.html
H A Dtesting.rst63 In userspace, the tests are collected and run via ``rustdoc``. Using the tool
/linux/tools/docs/
H A Dsphinx-build-wrapper126 self.rustdoc = False
139 self.rustdoc = True
355 if self.rustdoc:
700 if self.rustdoc:
/linux/Documentation/
H A DChanges397 rustdoc
400 ``rustdoc`` is used to generate the documentation for Rust code. Please see
/linux/
H A DMakefile531 RUSTDOC = rustdoc
1856 PHONY += rustdoc
1857 rustdoc: prepare target