From e99e55d0aa6209388ce76db42322b18006fbaaad Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Tue, 14 Jun 2022 21:30:02 -0400 Subject: docs: fix incorrect info for declare_dependency sources The type information is clearly wrong as it disagrees with the description w.r.t. generated headers. We also rely on it accepting custom targets for the obvious reason that we accept it in a build target too! In fact, we rely on this in the testsuite too. --- docs/yaml/functions/declare_dependency.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/yaml/functions') diff --git a/docs/yaml/functions/declare_dependency.yaml b/docs/yaml/functions/declare_dependency.yaml index bcc8343..51fde28 100644 --- a/docs/yaml/functions/declare_dependency.yaml +++ b/docs/yaml/functions/declare_dependency.yaml @@ -37,7 +37,7 @@ kwargs: description: Libraries to link fully, same as [[executable]]. sources: - type: list[str | file] + type: list[str | file | custom_tgt | custom_idx | generated_list] description: | sources to add to targets (or generated header files -- cgit v1.1