Skip to content

Commit a5c1499

Browse files
authored
Merge pull request #1 from bci-oss/transition-omp-to-esmf
Transition OMP to ESMF
2 parents 7915f93 + e271146 commit a5c1499

File tree

15 files changed

+893
-139
lines changed

15 files changed

+893
-139
lines changed

.github/workflows/antora-build.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,27 @@ on:
44
branches:
55
- main
66
workflow_dispatch:
7-
7+
88
jobs:
99
build-and-deploy:
1010
runs-on: ubuntu-20.04
1111

1212
steps:
1313
- name: Checkout
14-
uses: actions/[email protected]
15-
with:
16-
ref: main
17-
fetch-depth: '0'
18-
- name: Install Node
19-
uses: actions/setup-node@v2
14+
uses: actions/checkout@v3
15+
16+
- name: Set up JDK 17
17+
uses: actions/setup-java@v3
2018
with:
21-
node-version: '14'
22-
- name: Install Antora
23-
run: npm i -g @antora/[email protected] antora-site-generator-lunr
24-
- name: Fetch and Build Antora site
25-
run: antora --fetch site.yml --generator antora-site-generator-lunr --stacktrace
19+
distribution: 'temurin'
20+
java-version: '17'
21+
22+
- name: Build
23+
run: |
24+
./mvnw -B generate-resources -Pantora
25+
2626
- name: Deploy
2727
uses: JamesIves/[email protected]
2828
with:
2929
branch: gh-pages
30-
folder: build/site
30+
folder: build/site

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,9 @@ build
44
node_modules
55
site-local.yml
66
package-lock.json
7+
package.json
8+
.idea
9+
node/
10+
.DS_Store
11+
712

.mvn/wrapper/maven-wrapper.jar

61.1 KB
Binary file not shown.

.mvn/wrapper/maven-wrapper.properties

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.5/apache-maven-3.8.5-bin.zip
18+
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar

README.md

Lines changed: 7 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,17 @@
1-
> THIS REPOSITORY HAS BEEN ARCHIVED. Open Manufacturing Platform has been formally closed.
1+
# ESMF documentation site
22

3-
# sds-documentation
3+
This repository contains the setup for the documentation of the [Eclipse Semantic Modeling Framework](https://projects.eclipse.org/projects/dt.esmf)
4+
(ESMF) that is available at [https://eclipse-esmf.github.io/](https://eclipse-esmf.github.io/).
45

5-
This repository belongs to the Semantic Data Structuring Working Group (SDS WG) in the Open
6-
Manufacturing Platform. It contains content to generate a joint SDS WG documentation across
7-
different SDS WG repositories using Antora.
8-
9-
The documentation site is generated using Github actions and is available at
10-
[https://openmanufacturingplatform.github.io/sds-documentation/](https://openmanufacturingplatform.github.io/sds-documentation/).
11-
12-
As of now, the Antora build for the website pulls the content from the following repositories and
13-
sources:
14-
15-
- [SDS BAMM](https://github.com/OpenManufacturingPlatform/sds-bamm-aspect-meta-model/tree/main/src/docs)
16-
- [SDS SDK](https://github.com/OpenManufacturingPlatform/sds-sdk/tree/main/documentation/developer-guide)
6+
The documentation is built using [https://antora.org/](Antora). Refer to site.yml to see which
7+
documentation sources are included.
178

189
## Building locally
1910

20-
To build the documentation locally, you will need [Node.js](https://nodejs.org/en/) >=14. After
21-
installing, run the following commands:
11+
To build the documentation locally, you will need to have Java installed. To build, run:
2212

2313
```sh
24-
# Installs the Antora CLI and the site generator
25-
npm i @antora/[email protected] antora-site-generator-lunr
26-
27-
# Runs Antora to generate the documentation
28-
./node_modules/@antora/cli/bin/antora --fetch site.yml --generator antora-site-generator-lunr
14+
./mvnw generate-resources -Pantora
2915
```
3016

3117
After that, the documentation is available at `build/site/index.html`.

documentation/antora.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
name: esmf-documentation
2+
title: ESMF Documentation
3+
version: master
4+
start_page: ROOT:index.adoc
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
= Eclipse Semantic Modeling Framework
2+
:page-layout: tiles
3+
4+
5+
Welcome to the documentation of the artifacts of the Eclipse Semantic Modeling Framework (ESMF).
6+
7+
For a general introduction of the ESMF, please see the
8+
https://projects.eclipse.org/projects/dt.esmf[ESMF project page]. For more details on the artifacts
9+
see below:
10+
11+
'''
12+
13+
[.tile]
14+
[.icon-spec]
15+
--
16+
[.title]
17+
Semantic Aspect Meta Model (SAMM)
18+
19+
[.text]
20+
Aspect models defined using the SAMM describe domain semantics.
21+
Find out how they are defined.
22+
23+
[.link]
24+
xref:samm-specification:ROOT:index.adoc[Specification]
25+
--
26+
27+
[.tile]
28+
[.icon-cli]
29+
--
30+
[.title]
31+
SAMM Command Line Interface (SAMM-CLI)
32+
33+
[.text]
34+
Command line interface to work with Aspect Models: Validate and transform models into documentation
35+
and code.
36+
37+
[.link]
38+
xref:esmf-developer-guide:tooling-guide:samm-cli.adoc[SAMM CLI]
39+
--
40+
41+
[.tile]
42+
[.icon-cli]
43+
--
44+
[.title]
45+
Aspect Model Editor
46+
47+
[.text]
48+
The Aspect Model Editor is a visual editor for Aspect Models, which automatically validates the
49+
models against the BAMM Aspect Meta Model version.
50+
51+
[.link]
52+
xref:ame-guide:ROOT:introduction.adoc[Aspect Model Editor]
53+
--
54+
55+
[.tile]
56+
[.icon-cli]
57+
--
58+
[.title]
59+
Java ESMF SDK
60+
61+
[.text]
62+
The ESMF SDK helps you to build solutions, model your Aspect data, implement your own customized
63+
Aspect or want to integrate existing assets and systems within the Java programming language.
64+
[.link]
65+
xref:esmf-developer-guide:tooling-guide:java-aspect-tooling.adoc[Java SDK]
66+
--
67+
68+
[.tile]
69+
[.icon-cli]
70+
--
71+
[.title]
72+
Python ESMF SDK
73+
74+
[.text]
75+
The Python SDK offers functionality which helps software developers to work with Aspect Models in
76+
their Python applications.
77+
[.link]
78+
xref:python-sdk-guide:ROOT:index.adoc[Python SDK]
79+
--

0 commit comments

Comments
 (0)