From 45802f975ff5ff65d2efccdbca2a9dc5c0ccc63c Mon Sep 17 00:00:00 2001
From: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
Date: Tue, 8 Nov 2022 10:51:06 -0800
Subject: [PATCH] fix: generated docs
Accidentally merged https://github.com/aspect-build/rules_py/pull/91
without noticing that bazel test was not run. Also, changed the branch
protection to require bazel test to pass before merges.
Signed-off-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
---
docs/py_binary.md | 20 ++++++++++----------
docs/py_library.md | 8 ++++----
docs/rules.md | 4 ++--
3 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/docs/py_binary.md b/docs/py_binary.md
index c71ff924..dc9a55ab 100755
--- a/docs/py_binary.md
+++ b/docs/py_binary.md
@@ -18,12 +18,12 @@ py_binary(name, data
| Name | Description | Type | Mandatory | Default |
| :------------- | :------------- | :------------- | :------------- | :------------- |
| name | A unique name for this target. | Name | required | |
-| data | - | List of labels | optional | [] |
-| deps | - | List of labels | optional | [] |
-| env | - | Dictionary: String -> String | optional | {} |
-| imports | - | List of strings | optional | [] |
+| data | - | List of labels | optional | [] |
+| deps | - | List of labels | optional | [] |
+| env | - | Dictionary: String -> String | optional | {} |
+| imports | - | List of strings | optional | [] |
| main | - | Label | required | |
-| srcs | - | List of labels | optional | [] |
+| srcs | - | List of labels | optional | [] |
@@ -42,12 +42,12 @@ py_test(name, data, name | A unique name for this target. | Name | required | |
-| data | - | List of labels | optional | [] |
-| deps | - | List of labels | optional | [] |
-| env | - | Dictionary: String -> String | optional | {} |
-| imports | - | List of strings | optional | [] |
+| data | - | List of labels | optional | [] |
+| deps | - | List of labels | optional | [] |
+| env | - | Dictionary: String -> String | optional | {} |
+| imports | - | List of strings | optional | [] |
| main | - | Label | required | |
-| srcs | - | List of labels | optional | [] |
+| srcs | - | List of labels | optional | [] |
diff --git a/docs/py_library.md b/docs/py_library.md
index 44ec9413..2b9c1b7f 100755
--- a/docs/py_library.md
+++ b/docs/py_library.md
@@ -18,10 +18,10 @@ py_library(name, data<
| Name | Description | Type | Mandatory | Default |
| :------------- | :------------- | :------------- | :------------- | :------------- |
| name | A unique name for this target. | Name | required | |
-| data | - | List of labels | optional | [] |
-| deps | - | List of labels | optional | [] |
-| imports | - | List of strings | optional | [] |
-| srcs | - | List of labels | optional | [] |
+| data | - | List of labels | optional | [] |
+| deps | - | List of labels | optional | [] |
+| imports | - | List of strings | optional | [] |
+| srcs | - | List of labels | optional | [] |
diff --git a/docs/rules.md b/docs/rules.md
index bb40f8ef..f5676c5d 100644
--- a/docs/rules.md
+++ b/docs/rules.md
@@ -18,7 +18,7 @@ py_wheel(name, src)
| Name | Description | Type | Mandatory | Default |
| :------------- | :------------- | :------------- | :------------- | :------------- |
| name | A unique name for this target. | Name | required | |
-| src | - | Label | optional | None |
+| src | - | Label | optional | None |
@@ -83,7 +83,7 @@ py_pytest_main wraps the template rendering target and the final py_library.
| Name | Description | Default Value |
| :------------- | :------------- | :------------- |
| name | The name of the runable target that updates the test entry file. | none |
-| py_library | Use this attribute to override the default py_library rule. | |
+| py_library | Use this attribute to override the default py_library rule. | <function py_library> |
| kwargs | The extra arguments passed to the template rendering target. | none |