Skip to content

Commit

Permalink
Fixes modelica#2721 by using a more abstract package as example
Browse files Browse the repository at this point in the history
The previous example URI suggested something that should actually exist. But in this case this is just meant to serve as an example for documentation. This makes this clear.
  • Loading branch information
usn-student committed Oct 3, 2018
1 parent 467a0b6 commit 1d90470
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ModelicaReference/package.mo
Expand Up @@ -757,13 +757,13 @@ documentation_annotation:
The \"Documentation\" annotation can contain the \"info\" annotation giving a textual description, the \"revisions\" annotation giving a list of revisions and other annotations defined by a tool [The \"revisions\" documentation may be omitted in printed documentation]. How the tool interprets the information in \"Documentation\" is unspecified. Within a string of the \"Documentation\" annotation, the tags <HTML> and </HTML> or <html> and </html> define the start and end of content that is HTML encoded. Links to Modelica classes may be defined with the HTML link command using scheme \"Modelica\", e.g.,
</p>
<pre>
&lt;a href=\"modelica://MultiBody.Tutorial\"&gt;MultiBody.Tutorial&lt;/a&gt;
&lt;a href=\"modelica://ExamplePackage.Tutorial\"&gt;ExamplePackage.Tutorial&lt;/a&gt;
</pre>
<p>
Together with scheme \"Modelica\" the (URI) fragment specifiers #diagram, #info, #text, #icon may be used to reference different layers. Example:
</p>
<pre>
&lt;a href=\"modelica://MultiBody.Joints.Revolute#info\"&gt;Revolute&lt;/a&gt;
&lt;a href=\"modelica://ExamplePackage.SimpleModel#info\"&gt;SimpleModel&lt;/a&gt;
</pre>
</html>"));
end Documentation;
Expand Down

0 comments on commit 1d90470

Please sign in to comment.