Skip to content

Commit 45dc17f

Browse files
committed
updated workflows
1 parent e087502 commit 45dc17f

File tree

3 files changed

+59
-20
lines changed

3 files changed

+59
-20
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Build and Deploy Documentation Portal
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
workflow_dispatch:
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v3
13+
14+
- name: Setup Node.js
15+
uses: actions/setup-node@v3
16+
with:
17+
node-version: '18'
18+
19+
- name: Install dependencies
20+
run: npm install
21+
22+
- name: Build site
23+
run: npm run build
24+
25+
- name: Deploy to GitHub Pages
26+
uses: peaceiris/actions-gh-pages@v3
27+
with:
28+
github_token: ${{ secrets.GITHUB_TOKEN }}
29+
publish_dir: ./build/site

antora-playbook.yml

Lines changed: 15 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,21 @@ content:
88
- url: .
99
branches: [ HEAD ]
1010
start_path: .
11-
- url: https://github.com/admin-shell-io/aas-specifications.git
12-
branches: [ main ]
11+
components:
12+
- name: home
13+
start_page: index.adoc
14+
- url: https://admin-shell-io.github.io/aas-specifications/
15+
branches: [ HEAD ]
16+
start_path: .
17+
components:
18+
- name: aas-specifications
19+
start_page: index.html
20+
- url: https://admin-shell-io.github.io/idta-submodel-templates/
21+
branches: [ HEAD ]
1322
start_path: .
14-
- url: https://github.com/admin-shell-io/idta-submodel-templates.git
15-
branches: [ main ]
16-
23+
components:
24+
- name: submodel-templates
25+
start_page: index.html
1726

1827
ui:
1928
bundle:
@@ -22,20 +31,6 @@ ui:
2231
supplemental_files:
2332
- path: .nojekyll
2433

25-
runtime:
26-
fetch: true
27-
28-
antora:
29-
extensions:
30-
- '@antora/lunr-extension'
31-
- '@antora/pdf-extension'
32-
3334
asciidoc:
34-
sourcemap: true
35-
extensions:
36-
- asciidoctor-kroki
3735
attributes:
38-
xrefstyle: short
39-
kroki-server-url: http://localhost:8000
40-
kroki-fetch-diagram: true
41-
kroki-plantuml-include: https://raw.githubusercontent.com/admin-shell-io/aas-specifications/refs/heads/main/plantuml/puml-theme-idta.puml
36+
xrefstyle: short

index.adoc

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
= Industrial Digital Twin Documentation
2+
:page-layout: home
3+
:!sectids:
4+
5+
Welcome to the Industrial Digital Twin documentation portal. This site combines documentation from multiple sources to provide a comprehensive resource for the Industrial Digital Twin Association (IDTA).
6+
7+
== Documentation Components
8+
9+
* xref:aas-specifications:index.adoc[AAS Specifications] - The Asset Administration Shell specifications
10+
* xref:submodel-templates:index.adoc[Submodel Templates] - Standardized submodel templates
11+
12+
== Quick Links
13+
14+
* https://industrialdigitaltwin.io/aas-specifications/[AAS Specifications]
15+
* https://industrialdigitaltwin.io/submodel-templates/[Submodel Templates]

0 commit comments

Comments
 (0)