From 34d39dce5749b2f8066e22a890d79170387b2bb4 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Tue, 29 Mar 2022 14:37:56 -0400 Subject: docs: correct documentation of shared_library soversions We have always accepted an int here as an alternative to a string, but the initial documentation thought it was only a string. --- docs/yaml/functions/shared_library.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/yaml/functions/shared_library.yaml b/docs/yaml/functions/shared_library.yaml index 15ac782..956fb2c 100644 --- a/docs/yaml/functions/shared_library.yaml +++ b/docs/yaml/functions/shared_library.yaml @@ -17,9 +17,9 @@ kwargs: instead (see above). soversion: - type: str + type: str | int description: | - A string specifying the soversion of this shared library, + A string or integer specifying the soversion of this shared library, such as `0`. On Linux and Windows this is used to set the soversion (or equivalent) in the filename. For example, if `soversion` is `4`, a Windows DLL will be called `foo-4.dll` and one -- cgit v1.1