Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve documentation structure for antora #329

Closed

Conversation

zrgt
Copy link
Collaborator

@zrgt zrgt commented Jan 5, 2024

  • Moved all files from named-module "Shared" to "ROOT",
    as it is easier to handle all adoc filkes in one module rather than two.
  • Created "partials" directory for adoc. files, which are not pages,
    but rathe only include some contents.
    See https://docs.antora.org/antora/latest/partials-directory/
  • Removed index.adoc as not needed for antora
  • Fixed section titles in
    IDTA-01xxx_TermsDefinitionsAbbreviations.adoc

BirgitBoss and others added 30 commits December 20, 2023 15:16
The following changes were made:

* Introduce nav.adoc as entry point with includes

* Split Annex: into shared parts (UML, UML Templates, 
Back-Naur-Form, Bibliography, Terms & Definitions) 
and specific parts
 (ChangeLog, Concepts AAS, Metamodel with Inheritance, 
Requirements, Usage Metamodel)

* Extract Preamble from rest of document

* Within Preamble extract Conformance and Versioning and move to Shared Sections

* add index.adoc as start page for antora (preparation)
…ization of metamodel element "Reference" into separate files
…"General Rules".

So new file for embedded data specifications was created and
text was moved to original file again.
Figure embedded data spec was updated (note arrow between EmbeddedDataSpecification and DataSpecification)
+ updated figures for UML Annex (From E/A) +
fix that one figure was referenced twice
Now generated link in html works.
+
Note fixed
ot be displayed as html-link: fixed in examples
+ source made italic without bullet point +
added links to metamodel abbreviations
* 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 <garmaev@gmx.de>
 (one table instead of two for classes and enumerations)
+
new table row for metamodel ID
+ add metamodel IDs to Normative Part
- update UML template for table
- update metamodel element ID if it uses elements with type "Identifier" or inherits from Referable (change type of idShort)
+ updates in changelog for Referable/idShort et.al.
BirgitBoss and others added 11 commits January 1, 2024 20:34
Template for Enumeration updated to also contain metamodel ID
for single values of the enumeration
metamodel IDs added for Primitives
+ bugfix Enumerations: add value "Referable" to FragmentsKeys and AasReferableNonIdentifiables
(otherwise errors in grammar due to special charc.)
http not valid resources, special char. used
As IDTA-01001_Constraints.adoc is not a page in terms of Antora, but an adoc file containing content snippets namely contstraint definitions it should be treated as partial. See https://docs.antora.org/antora/latest/partials-directory/
Place IDTA-01xxx_Conformance.adoc and IDTA-01xxx_Versioning.adoc to partials, as they will be used to save a content which will be shown in Preamble page.
@zrgt zrgt requested a review from BirgitBoss January 5, 2024 17:25
@BirgitBoss
Copy link
Collaborator

BirgitBoss commented Jan 6, 2024

index.adoc is useful in antora: https://docs.antora.org/antora/latest/page/start-page/ or did you only remove it from nav.adoc? The latter is ok

I am using AsciidocFX for generating html on my local machine: the two partials IDTA-01xxx_Versioning.adoc and IDTA-01xxx_Conformance.adoc included in IDTA-01001_Preamble.adoc do not show up in the generated html file.

Base automatically changed from BiBo/IDTA-01001-3-1_working to IDTA-01001-3-1_working January 29, 2024 13:08
@BirgitBoss
Copy link
Collaborator

I will close the PR because structure will change again

@BirgitBoss BirgitBoss closed this Jan 31, 2024
@zrgt zrgt deleted the IgGa/IDTA-01001-3-1_fix_antora_structure branch July 19, 2024 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants