Skip to content

Commit

Permalink
Merge changes antora + references (#324)
Browse files Browse the repository at this point in the history
* Fix refs to AasReferableNonIdentifiables

* Rename "Sections" dir to "pages" as standard in Antora

* Rename "Sections" dir to "pages" as standard in Antora

* Move Annex dirs in pages dir

Annex should be a subdir of pages

* Fix include refs acc. to Antora

See https://docs.antora.org/antora/latest/page/include-a-page/

* Remove definition of imagesdir, as already done by Antora

* Fix xref macro reference

See: https://docs.antora.org/antora/latest/page/xref/

* Fix examples for valid model references

* Move images as they belong to IDTA-01xxx_UML.adoc

* Remove refs from Abbreviations table

* Fix all xrefs acc. to Antora

See: https://docs.antora.org/antora/latest/page/xref/

* Add example ref to an image

---------

Co-authored-by: zrgt <[email protected]>
  • Loading branch information
BirgitBoss and zrgt authored Dec 27, 2023
1 parent b4534fa commit ac25751
Show file tree
Hide file tree
Showing 27 changed files with 182 additions and 201 deletions.
26 changes: 13 additions & 13 deletions documentation/IDTA-01001/modules/ROOT/nav.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Plattform Industrie 4.0; Anna Salari, Publik. Agentur für Kommunikation GmbH, d
:xrefstyle: short


include::../Constraints/constraints.adoc[]
include::./IDTA-01001_Constraints.adoc[]


= image:../../idta-logo.png[width=100%]
Expand All @@ -30,30 +30,30 @@ include::../Constraints/constraints.adoc[]
include::Sections/index.adoc[]
////

include::../Shared/Sections/IDTA-01xxx_TermsDefinitionsAbbreviations.adoc[]
include::Shared:IDTA-01xxx_TermsDefinitionsAbbreviations.adoc[]

include::Sections/IDTA-01001_Preamble.adoc[]
include::./IDTA-01001_Preamble.adoc[]


include::Sections/IDTA-01001.adoc[]
include::./IDTA-01001.adoc[]



include::Annex/IDTA-01001_ConceptsAAS.adoc[]
include::./Annex/IDTA-01001_ConceptsAAS.adoc[]

include::Annex/IDTA-01001_Requirements.adoc[]
include::./Annex/IDTA-01001_Requirements.adoc[]

include::../Shared/Annex/IDTA-01xxx_BackusNaurForm.adoc[]
include::Shared:Annex/IDTA-01xxx_BackusNaurForm.adoc[]

include::../Shared/Annex/IDTA-01xxx_UMLTemplates.adoc[]
include::Shared:Annex/IDTA-01xxx_UMLTemplates.adoc[]

include::../Shared/Annex/IDTA-01xxx_UML.adoc[]
include::Shared:Annex/IDTA-01xxx_UML.adoc[]

include::Annex/IDTA-01001_UsageMetamodel.adoc[]
include::./Annex/IDTA-01001_UsageMetamodel.adoc[]

include::Annex/IDTA-01001_MetamodelWithInheritance.adoc[]
include::./Annex/IDTA-01001_MetamodelWithInheritance.adoc[]

include::Annex/IDTA-01001_ChangeLog.adoc[]
include::./Annex/IDTA-01001_ChangeLog.adoc[]

include::../Shared/Annex/IDTA-01xxx_Bibliography.adoc[]
include::Shared:Annex/IDTA-01xxx_Bibliography.adoc[]

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ Plattform Industrie 4.0; Anna Salari, Publik. Agentur für Kommunikation GmbH, d
////


:imagesdir: ../images/


[appendix]
== Concepts of the Administration Shell
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ Illustrations:
Plattform Industrie 4.0; Anna Salari, Publik. Agentur für Kommunikation GmbH, designed by Publik. Agentur für Kommunikation GmbH
////

:imagesdir: ../images/

[appendix]
== Metamodel UML with Inherited Attributes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ Illustrations:
Plattform Industrie 4.0; Anna Salari, Publik. Agentur für Kommunikation GmbH, designed by Publik. Agentur für Kommunikation GmbH
////

:imagesdir: ../images/

[appendix]
== Requirements
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ Plattform Industrie 4.0; Anna Salari, Publik. Agentur für Kommunikation GmbH, d
////


:imagesdir: ../images/


[appendix]
== How to Use the Metamodel
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,10 @@ Plattform Industrie 4.0; Anna Salari, Publik. Agentur für Kommunikation GmbH, d
:toc-title: Specification of the Asset Administration Shell. Part 1: Metamodel
:sectlinks:
:sectnums:
:imagesdir: ../images/
:nofooter:


include::../../Constraints/constraints.adoc[]
include::IDTA-01001_Constraints.adoc[]



Expand Down Expand Up @@ -2348,8 +2347,9 @@ image::image49.png[]

Keys are used to define references (_Reference_).

Figure 49 presents a logical model of key types. These logical enumerations are used to formulate constraints.
<<model_for_refs_keys>> presents a logical model of key types. These logical enumerations are used to formulate constraints.

[#model_for_refs_keys]
.Logical Model for Keys of References (non-normative)
image::image50.png[]

Expand Down Expand Up @@ -2469,7 +2469,7 @@ Note: not used as type but in constraints.
====


|Set of: |xref:AASReferableNonIdentifiables[AASReferableNonIdentifiables], xref:GenericFragmentKeys[GenericFragmentKeys]
|Set of: |xref:AasReferableNonIdentifiables[AASReferableNonIdentifiables], xref:GenericFragmentKeys[GenericFragmentKeys]
|===
[cols="30%,70%"],options="header"]
|===
Expand Down Expand Up @@ -2678,7 +2678,7 @@ Note: not used as type but in constraints.
====


|Set of: |xref:AASReferableNonIdentifiables[AASReferableNonIdentifiables], xref:AasIdentifiables[AasIdentifiables]
|Set of: |xref:AasReferableNonIdentifiables[AASReferableNonIdentifiables], xref:AasIdentifiables[AasIdentifiables]
|===
[cols="30%,70%"],options="header"]
|===
Expand Down Expand Up @@ -2846,7 +2846,7 @@ identifiers for the corresponding resource referenced.
{aasd128}

In the following examples for valid und invalid model references and external references are given.
The notation follows the grammar as defined in section xref:#trueserialization-of-values-of-type-reference[].
The notation follows the grammar as defined in section xref:#_serialization_of_values_of_type_reference[].

[.underline]#Examples for valid references:#

Expand Down Expand Up @@ -3532,7 +3532,7 @@ Blobs require the following encoding: base64 string.

==== Serialization of Values of Type "Reference"

include::IDTA-01001_GrammarSerializationReference.adoc[]
include::IDTA-01001_GrammarSerializationReference.adoc[]


==== Semantic Identifiers for Metamodel and Data Specifications
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
== Data Specification Templates (normative)
////
:imagesdir: ../images/
=== Introduction
Expand Down Expand Up @@ -41,9 +40,9 @@ A template consists of the _DataSpecificationContent_ containing the additional
|===
|Attribute |Explanation |Type |Card.
|idShort | Name of the data specification |xref:NameType[NameType] |0..1
|idShort | Name of the data specification |xref:page$IDTA-01001.adoc#NameType[NameType] |0..1
|description |Description of how and in which context the data specification template is applicable; can be provided in several languages. |xref:MultiLanguageTextType[MultiLanguageTextType] |0..1
|description |Description of how and in which context the data specification template is applicable; can be provided in several languages. |xref:page$IDTA-01001.adoc#MultiLanguageTextType[MultiLanguageTextType] |0..1
|administration a|
Administrative information of an identifiable element
Expand All @@ -53,17 +52,17 @@ Administrative information of an identifiable element
Note: some of the administrative information like the version number might need to be part of the identification.
====
|xref:AdministrativeInformation[AdministrativeInformation] |0..1
|xref:page$IDTA-01001.adoc#AdministrativeInformation[AdministrativeInformation] |0..1
|id a|
The globally unique identification of the data specification
====
Note: This identifier is used as value for xref:HasDataSpecification[HasDataSpecification/dataSpecification]
Note: This identifier is used as value for xref:page$IDTA-01001.adoc#HasDataSpecification[HasDataSpecification/dataSpecification]
====
|xref:Identifier[Identifier] |1
|xref:page$IDTA-01001.adoc#Identifier[Identifier] |1
|dataSpecificationContent |The content of the template without meta data
|xref:DataSpecificationContent[DataSpecificationContent] |1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
==== Embedded Data Specifications
////
:imagesdir: ../images/
The document series "Specification Asset Administration Shell" predefines data specifications that can be used within an Asset Administration Shell to ensure interoperability (see Part 3 documents).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
==== Semantic Identifiers for Metamodel and Data Specifications
////
:imagesdir: ../images/
Rules for creating identifiers are defined to enable the unique identification of concepts as used and defined in the metamodel of the Asset Administration Shell.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
==== Serialization of Values of Type "Reference"
////
:imagesdir: ../images/
Some mappings or serializations convert the type "Reference" into a single string. In this case, the following serialization is required:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ Illustrations:
Plattform Industrie 4.0; Anna Salari, Publik. Agentur für Kommunikation GmbH, designed by Publik. Agentur für Kommunikation GmbH
////

:imagesdir: ../images/

== Preamble

Expand All @@ -34,9 +33,9 @@ The first version of this document was produced September 2017 to July 2018 by a

For better readability the abbreviation "I4.0" is consistently used for "Industrie 4.0" in compound terms. The term "Industrie 4.0" continues to be used when standing on its own.

include::../../Shared/Sections/IDTA-01xxx_Versioning.adoc[]
include::../../Shared/pages/IDTA-01xxx_Versioning.adoc[]

include::../../Shared/Sections/IDTA-01xxx_Conformance.adoc[]
include::../../Shared/pages/IDTA-01xxx_Conformance.adoc[]


=== Scope of this Document
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ Illustrations:
Plattform Industrie 4.0; Anna Salari, Publik. Agentur für Kommunikation GmbH, designed by Publik. Agentur für Kommunikation GmbH
////

:imagesdir: ../images/

[appendix]
== Backus-Naur-Form
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ Illustrations:
Plattform Industrie 4.0; Anna Salari, Publik. Agentur für Kommunikation GmbH, designed by Publik. Agentur für Kommunikation GmbH
////

:imagesdir: ../images/


[appendix]
== Legend for UML Modelling
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ Illustrations:
Plattform Industrie 4.0; Anna Salari, Publik. Agentur für Kommunikation GmbH, designed by Publik. Agentur für Kommunikation GmbH
////

:imagesdir: ../images/

[appendix]
== Templates for UML Tables
Expand Down Expand Up @@ -74,23 +73,23 @@ Note 3: optional lists, i.e. attributes with cardinality > 1 and minimum 0, are

[.underline]#Examples for valid model references#

If class type equal to "ModelReference<xref:Submodel[Submodel]>", the following reference would be a valid reference (using the text serialization as defined in Clause 7.2.3):
If class type equal to "ModelReference<Submodel>", the following reference would be a valid reference (using the text serialization as defined in Clause 7.2.3):

*(Submodel)https://example.com/aas/1/1/1234859590*

If class type equal to "ModelReference<xref:Referable[Referable]>", the following references would be valid references (using the text serialization as defined in Clause 7.2.3):
If class type equal to "ModelReference<Referable>", the following references would be valid references (using the text serialization as defined in Clause 7.2.3):

*(Submodel)https://example.com/aas/1/1/1234859590*

*(Submodel)https://example.com/aas/1/1/1234859590, (Property)temperature*

*(Submodel)https://example.com/aas/1/1/1234859590, (File)myDocument*

This would be an invalid reference for "ModelReference<xref:Referable[Referable]>", instead type "Reference" shall be used:
This would be an invalid reference for "ModelReference<Referable>", instead type "Reference" shall be used:

*(Submodel)https://example.com/aas/1/1/1234859590, (File)myDocument (FragmentReference)Hints*

This would be an invalid reference for "ModelReference<xref:Submodel[Submodel]>"
This would be an invalid reference for "ModelReference<Submodel>"

*(Submodel)https://example.com/aas/1/1/1234859590, (Property)temperature*

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ Illustrations:
Plattform Industrie 4.0; Anna Salari, Publik. Agentur für Kommunikation GmbH, designed by Publik. Agentur für Kommunikation GmbH
////

:imagesdir: ../images/


=== Conformance

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -486,28 +486,28 @@ The following abbreviations are not used in the document but may be used as abbr
[cols="33%,67%",options=header]
|===
|*Abbreviation* |*Description*
|AAS |xref:AssetAdministrationShell[]
|Cap |xref:Capability[]
|CD |xref:ConceptDescription[]
|DE |xref:DataElement[]
|DST |xref:DataSpecification[] Template
|InOut |xref:inoutputVariable[]
|In |xref:inputVariable[]
|Prop |xref:Property[]
|MLP |xref:MultiLanguageProperty[]
|Range |xref:Range[]
|Ent |xref:Entity[]
|Evt |xref:Event[]
|File |xref:File[]
|Blob |xref:Blob[]
|Opr |xref:Operation[]
|Out |xref:outputVariable[]
|Qfr |xref:Qualifier[]
|Ref |xref:ReferenceElement[]
|Rel |xref:RelationshipElement[]
|RelA |xref:AnnotatedRelationshipElement[]
|SM |xref:Submodel[]
|SMC |xref:SubmodelElementCollection[]
|SME |xref:SubmodelElement[]
|SML |xref:SubmodelElementList[]
|AAS |AssetAdministrationShell
|Cap |Capability
|CD |ConceptDescription
|DE |DataElement
|DST |DataSpecification Template
|InOut |inoutputVariable
|In |inputVariable
|Prop |Property
|MLP |MultiLanguageProperty
|Range |Range
|Ent |Entity
|Evt |Event
|File |File
|Blob |Blob
|Opr |Operation
|Out |outputVariable
|Qfr |Qualifier
|Ref |ReferenceElement
|Rel |RelationshipElement
|RelA |AnnotatedRelationshipElement
|SM |Submodel
|SMC |SubmodelElementCollection
|SME |SubmodelElement
|SML |SubmodelElementList
|===
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ Illustrations:
Plattform Industrie 4.0; Anna Salari, Publik. Agentur für Kommunikation GmbH, designed by Publik. Agentur für Kommunikation GmbH
////

:imagesdir: ../images/


=== Versioning

Expand Down

0 comments on commit ac25751

Please sign in to comment.