diff --git a/stardoc/proto/stardoc_output.proto b/stardoc/proto/stardoc_output.proto index 1c46f23f..8e536fd1 100644 --- a/stardoc/proto/stardoc_output.proto +++ b/stardoc/proto/stardoc_output.proto @@ -123,6 +123,12 @@ message StarlarkFunctionInfo { // The documented description of the function (if specified in the function's // docstring). string doc_string = 3; + + // The return value for the function. + FunctionReturnInfo return = 4; + + // The deprecation for the function. + FunctionDeprecationInfo deprecated = 5; } // Representation of a Starlark function parameter definition. @@ -144,6 +150,18 @@ message FunctionParamInfo { bool mandatory = 4; } +message FunctionReturnInfo { + // The documented return value of the function (if specified in the function's + // docstring). + string doc_string = 1; +} + +message FunctionDeprecationInfo { + // The documented deprecation of the function (if specified in the function's + // docstring). + string doc_string = 1; +} + // Representation of a Starlark provider field definition, comprised of // the field name and provider description. message ProviderFieldInfo { diff --git a/stardoc/renderer_binary.jar b/stardoc/renderer_binary.jar index c58f1ea7..015372d9 100755 Binary files a/stardoc/renderer_binary.jar and b/stardoc/renderer_binary.jar differ diff --git a/stardoc/stardoc_binary.jar b/stardoc/stardoc_binary.jar index 7ac7dfcf..ea5b1af4 100755 Binary files a/stardoc/stardoc_binary.jar and b/stardoc/stardoc_binary.jar differ