From 1f2317b150c278b1274201c66553d41f37824863 Mon Sep 17 00:00:00 2001 From: UebelAndre Date: Fri, 25 Jun 2021 12:21:48 -0700 Subject: [PATCH] Regenerate documentation --- docs/flatten.md | 10 ++++++---- docs/rust_doc.md | 10 ++++++---- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/docs/flatten.md b/docs/flatten.md index 2ac69dcbe0..8ac8081746 100644 --- a/docs/flatten.md +++ b/docs/flatten.md @@ -424,7 +424,7 @@ rust_clippy( ## rust_doc
-rust_doc(name, dep, html_after_content, html_before_content, html_in_header, markdown_css)
+rust_doc(name, crate, dep, html_after_content, html_before_content, html_in_header, markdown_css)
 
Generates code documentation. @@ -470,7 +470,8 @@ Example: | Name | Description | Type | Mandatory | Default | | :------------- | :------------- | :------------- | :------------- | :------------- | | name | A unique name for this target. | Name | required | | -| dep | The label of the target to generate code documentation for.

rust_doc can generate HTML code documentation for the source files of rust_library or rust_binary targets. | Label | required | | +| crate | The label of the target to generate code documentation for.

rust_doc can generate HTML code documentation for the source files of rust_library or rust_binary targets. | Label | optional | None | +| dep | __deprecated__: use crate | Label | optional | None | | html_after_content | File to add in <body>, after content. | Label | optional | None | | html_before_content | File to add in <body>, before content. | Label | optional | None | | html_in_header | File to add to <head>. | Label | optional | None | @@ -482,7 +483,7 @@ Example: ## rust_doc_test
-rust_doc_test(name, dep)
+rust_doc_test(name, crate, dep)
 
Runs Rust documentation tests. @@ -529,7 +530,8 @@ Running `bazel test //hello_lib:hello_lib_doc_test` will run all documentation t | Name | Description | Type | Mandatory | Default | | :------------- | :------------- | :------------- | :------------- | :------------- | | name | A unique name for this target. | Name | required | | -| dep | The label of the target to run documentation tests for.

rust_doc_test can run documentation tests for the source files of rust_library or rust_binary targets. | Label | required | | +| crate | The label of the target to generate code documentation for.

rust_doc can generate HTML code documentation for the source files of rust_library or rust_binary targets. | Label | optional | None | +| dep | __deprecated__: use crate | Label | optional | None | diff --git a/docs/rust_doc.md b/docs/rust_doc.md index 6be6d11516..55c9302aa0 100644 --- a/docs/rust_doc.md +++ b/docs/rust_doc.md @@ -9,7 +9,7 @@ ## rust_doc
-rust_doc(name, dep, html_after_content, html_before_content, html_in_header, markdown_css)
+rust_doc(name, crate, dep, html_after_content, html_before_content, html_in_header, markdown_css)
 
Generates code documentation. @@ -55,7 +55,8 @@ Example: | Name | Description | Type | Mandatory | Default | | :------------- | :------------- | :------------- | :------------- | :------------- | | name | A unique name for this target. | Name | required | | -| dep | The label of the target to generate code documentation for.

rust_doc can generate HTML code documentation for the source files of rust_library or rust_binary targets. | Label | required | | +| crate | The label of the target to generate code documentation for.

rust_doc can generate HTML code documentation for the source files of rust_library or rust_binary targets. | Label | optional | None | +| dep | __deprecated__: use crate | Label | optional | None | | html_after_content | File to add in <body>, after content. | Label | optional | None | | html_before_content | File to add in <body>, before content. | Label | optional | None | | html_in_header | File to add to <head>. | Label | optional | None | @@ -67,7 +68,7 @@ Example: ## rust_doc_test
-rust_doc_test(name, dep)
+rust_doc_test(name, crate, dep)
 
Runs Rust documentation tests. @@ -114,6 +115,7 @@ Running `bazel test //hello_lib:hello_lib_doc_test` will run all documentation t | Name | Description | Type | Mandatory | Default | | :------------- | :------------- | :------------- | :------------- | :------------- | | name | A unique name for this target. | Name | required | | -| dep | The label of the target to run documentation tests for.

rust_doc_test can run documentation tests for the source files of rust_library or rust_binary targets. | Label | required | | +| crate | The label of the target to generate code documentation for.

rust_doc can generate HTML code documentation for the source files of rust_library or rust_binary targets. | Label | optional | None | +| dep | __deprecated__: use crate | Label | optional | None |