Skip to content

Commit

Permalink
Update chapters/annotations.tex
Browse files Browse the repository at this point in the history
Co-authored-by: Henrik Tidefelt <henrikt@wolfram.com>
  • Loading branch information
HansOlsson and henrikt-ma committed May 22, 2024
1 parent be3b721 commit 5a00456
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chapters/annotations.tex
Original file line number Diff line number Diff line change
Expand Up @@ -2327,7 +2327,7 @@ \subsection{Licensing}\label{licensing}
\section{License Texts}\label{license-texts}

For a top-level class the {\lstinline!annotation(License="modelica:/ModelicaLibraryName/Resources/Licenses/MyLicense.txt")!}\annotationindex{License}, gives a license text file for the class.
The annotation may give a scalar value or an array of values.
The annotation may give a scalar string or an array of strings, where each string is a URI referencing a license text file, see \cref{external-resources}.
The license text files are human-readable files containing the license conditions.
If the annotation specifies an array of license text files the conditions in all of them must be satisfied (i.e., it is not intended for dual-licensing).
External functions may also contain this annotation (with similar content), see \cref{annotations-for-external-libraries-and-include-files}.
Expand Down

0 comments on commit 5a00456

Please sign in to comment.