admin-shell-io / aas-specs-api

Repository of the Asset Administration Shell Specification DTA-01002 API
https://industrialdigitaltwin.org/
Creative Commons Attribution 4.0 International
9 stars 4 forks source link

References to non-existent/removed clauses #284

Open zrgt opened 2 months ago

zrgt commented 2 months ago

As some clauses were removed in V3.1 ,there are currently references in .adoc files in branch IDTA-01002-3-1_preparation on removed clauses. We need to adapt texts there.

Example of reference to non-existing clause 12 in interfaces-payload.adoc:

see Clause 12.12.3 for further details on service specifications and profiles

We need to adjust texts before release

sebbader-sap commented 2 months ago

@zrgt what's the best practice for references in ASCIIDOC? Especially to keep it in the same way as for Part 1.

zrgt commented 2 months ago

@sebbader-sap sorry I didn't understand the question, could you explain it in more detail?

sebbader-sap commented 2 months ago

It's about two different topics, it just came to my mind when I read your initial finding:

  1. The example you mention is wrong, it needs to be corrected.
  2. In the previous PDF, statements like "... Clause 12.12.3 ... " had a link behind so the reader could immediately jump there. I expect to have a hyperlink available now that we are in the ASCIIDOC/website world. And I am just asking myself how this shall be done, how would we (the writers) know what the hyperlink to a certain paragraph was etc. I thought there were some ideas already, maybe in some Part 1 rounds but not sure anymore.
zrgt commented 2 months ago

@sebbader-sap I've already fixed all links/references/bib-refs/figure-refs/table-refs in Part 5 and Part 2. Please check the result e.g. Preamble of Part 5 and also see the raw code by clicking on "Edit this page".

In short:

Example:

xref:aasx.adoc[] is an example of a reference for a document. 

xref:aasx.adoc#general[General] is an example of a reference for a section with ELEMENT_ID="general" in a document. 

<<general>> is an example of a reference for a section with ELEMENT_ID="general" in the same document. 

[[general]]
== General

Here we reference a figure: The following process in <<aasx-package-gen-and-use>> is defined for creating and consuming AASX packages.

.Process for Generating and Consuming AASX Packages
[[aasx-package-gen-and-use]]
image::aasx-package-gen-and-use.jpeg[]

For more info refer to antora documentation: https://docs.antora.org/antora/latest/page/xref/