Skip to content

Commit 7b0ec56

Browse files
authored
Merge pull request #1 from bci-oss/rename-to-esmf
Update color scheme and docs to ESMF
2 parents 024dd34 + 94b2677 commit 7b0ec56

File tree

12 files changed

+16122
-632
lines changed

12 files changed

+16122
-632
lines changed

.github/workflows/build-artifact.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,25 @@ on:
33
pull_request:
44
branches: [ main ]
55
workflow_dispatch:
6-
6+
77
jobs:
88
build-ui-bundle:
99
runs-on: ubuntu-20.04
1010
steps:
1111
- name: Checkout
12-
uses: actions/checkout@v2.3.1
12+
uses: actions/checkout@v3
1313
- name: Set up Node
14-
uses: actions/setup-node@v2.1.5
14+
uses: actions/setup-node@v3
1515
with:
16-
node-version : '15'
16+
node-version : '16'
1717
- name: Install gulp
1818
run: npm install -g gulp-cli
1919
- name: Install dependencies
2020
run: npm install
2121
- name: Build UI bundle
2222
run: gulp bundle
2323
- name: Upload UI bundle
24-
uses: actions/upload-artifact@v2
24+
uses: actions/upload-artifact@v3
2525
with:
26-
name: sds-ui-bundle.zip
27-
path: build/
26+
name: esmf-ui-bundle.zip
27+
path: build/

.github/workflows/release-artifact.yaml

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@ on:
55
release_version:
66
description: 'Version number of the release'
77
required: true
8-
8+
99
jobs:
1010
build-ui-bundle:
1111
runs-on: ubuntu-20.04
1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@v2.3.1
14+
uses: actions/checkout@v3
1515
- name: Set up Node
16-
uses: actions/setup-node@v2.1.5
16+
uses: actions/setup-node@v3
1717
with:
18-
node-version : '15'
18+
node-version : '16'
1919
- name: Install gulp
2020
run: npm install -g gulp-cli
2121
- name: Install dependencies
@@ -25,22 +25,21 @@ jobs:
2525
- name: Add NOTICE file to build artifact
2626
run: |
2727
cd build
28-
mkdir sds-antora-ui-bundle
29-
unzip ui-bundle.zip -d sds-antora-ui-bundle
30-
cp ../legal/NOTICE-build.md ./sds-antora-ui-bundle/NOTICE.md
31-
cd sds-antora-ui-bundle
32-
zip sds-antora-ui-bundle-${{ github.event.inputs.release_version }}.zip -r *
28+
mkdir esmf-antora-ui-bundle
29+
unzip ui-bundle.zip -d esmf-antora-ui-bundle
30+
cp ../legal/NOTICE-build.md ./esmf-antora-ui-bundle/NOTICE.md
31+
cd esmf-antora-ui-bundle
32+
zip esmf-antora-ui-bundle-${{ github.event.inputs.release_version }}.zip -r *
3333
echo "Done with Zip"
3434
ls
3535
- name: Create GitHub release
3636
uses: softprops/action-gh-release@v1
37-
id: sds_antora_ui_release
38-
with:
39-
body: "Open Manufacturing Platform Default UI bundle for Antora in version v${{ github.event.inputs.release_version }}. Intended for internal use within the OMP."
37+
id: esmf_antora_ui_release
38+
with:
39+
body: "ESMF UI bundle for Antora in version v${{ github.event.inputs.release_version }}. Intended for internal use within the ESMF."
4040
tag_name: v${{ github.event.inputs.release_version }}
4141
draft: false
4242
prerelease: false
43-
files: build/sds-antora-ui-bundle/sds-antora-ui-bundle-${{ github.event.inputs.release_version }}.zip
43+
files: build/esmf-antora-ui-bundle/esmf-antora-ui-bundle-${{ github.event.inputs.release_version }}.zip
4444
env:
4545
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
46-

README.adoc

Lines changed: 18 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
= OMP Default UI (forked from Antora Default UI)
1+
= ESMF UI (forked from Antora Default UI)
22
// Settings:
33
:experimental:
44
:hide-uri-scheme:
5-
// OMP SDS Default UI URLS:
6-
:url-omp-ui-project: https://github.com/OpenManufacturingPlatform/sds-antora-ui.git
5+
// ESMF UI URLS:
6+
:url-esmf-ui-project: https://github.com/eclipse-esmf/esmf-antora-ui.git
77
// Antora Default UI URLs:
88
:url-project: https://gitlab.com/antora/antora-ui-default
99
:url-preview: https://antora.gitlab.io/antora-ui-default
@@ -20,27 +20,23 @@
2020
:url-nvm-install: {url-nvm}#installation
2121
:url-source-maps: https://developer.mozilla.org/en-US/docs/Tools/Debugger/How_to/Use_a_source_map
2222

23-
This project is an UI bundle implementing the style guide of the OMP (Open Manufacturing Platform). One can use the bundle to generate OMP styled documentation sites with {url-antora}[Antora].
24-
This OMP UI bundle is a customized fork of the {url-project}[Antora Default UI] project. Both projects are licensed under the MPL 2.0.
25-
The OMP Default UI bundle was initially created for generating documentations of the OMP SDS WG (Open Manufacturing Semantic Data Structuring Working Group) but can also be used by other OMP WGs and projects.
23+
This project is an UI bundle implementing the style of the Eclipse Semantic
24+
Modeling Framework (ESMF). One can use the bundle to generate ESMF styled documentation sites with {url-antora}[Antora].
25+
This ESMF UI bundle is a customized fork of the {url-project}[Antora Default UI] project. Both projects are licensed under the MPL 2.0.
2626

2727
////
28-
== Use the OMP SDS UI
28+
== Use the ESMF UI
2929

30-
If you want to simply use the default UI for your Antora-generated site, add the following UI configuration to your playbook:
30+
If you want to simply use the ESMF UI for your Antora-generated site, add the following UI configuration to your playbook:
3131

3232
[source,yaml]
3333
----
3434
ui:
3535
bundle:
36-
url: https://gitlab.com/antora/antora-ui-default/-/jobs/artifacts/master/raw/build/ui-bundle.zip?job=bundle-stable
36+
url: https://github.com/eclipse-esmf/esmf-antora-ui/releases/download/v1.2.0/esmf-antora-ui-bundle-1.2.0.zip
3737
snapshot: true
3838
----
3939

40-
NOTE: The `snapshot` flag tells Antora to fetch the UI when the `--fetch` command-line flag is present.
41-
This setting is required because updates to the UI bundle are pushed to the same URL.
42-
If the URL were to be unique, this setting would not be required.
43-
4440
Read on to learn how to customize the default UI for your own documentation.
4541

4642
////
@@ -120,10 +116,10 @@ Now that you have the prerequisites installed, you can fetch and build the UI pr
120116
Clone the default UI project using git:
121117
122118
[subs=attributes+]
123-
$ git clone {url-omp-ui-project} &&
119+
$ git clone {url-esmf-ui-project} &&
124120
cd "`basename $_`"
125121
126-
The example above clones the OMP SDS default UI project and then switches to the project folder on your filesystem.
122+
The example above clones the ESMF UI project and then switches to the project folder on your filesystem.
127123
Stay in this project folder when executing all subsequent commands.
128124
129125
Use npm to install the project's dependencies inside the project.
@@ -202,9 +198,9 @@ In this case, the bundle will include the source maps, which can be used for deb
202198
203199
== Copyright and License
204200
205-
Copyright (C) 2020 - 2021 Robert Bosch Manufacturing Solutions GmbH
201+
Copyright (C) 2020 - 2023 Robert Bosch Manufacturing Solutions GmbH
206202
207-
and
203+
and
208204
209205
Copyright (C) 2017-2021 OpenDevise Inc. and the Antora Project.
210206
@@ -214,12 +210,12 @@ See link:LICENSE[] to find the full license text.
214210
The content in this project is a customized fork from {url-project}[Antora Default UI] which is developed by OpenDevise Inc. and the Antora Project. The fork is based on the commit with the id 64b526ba9fcd22d6c37dc834126a41c65cbbbe1d dated 04.01.2021.
215211
216212
217-
== OMP specific changes
213+
== ESMF specific changes
218214
219-
In comparision, to the Antora Default UI this fork applies the following changes:
215+
In comparison, to the Antora Default UI this fork applies the following changes:
220216
221-
* add and apply OMP specific fonts
222-
* change colors in accordance to OMP color scheme
217+
* add and apply ESMF specific fonts
218+
* change colors in accordance to ESMF color scheme
223219
* adapt Readme
224220
* add RDF/Turtle syntax highlighting
225221
* disable JavaScript linting
@@ -232,4 +228,4 @@ In comparision, to the Antora Default UI this fork applies the following changes
232228
233229
Development of Antora is led and sponsored by {url-opendevise}[OpenDevise Inc].
234230
235-
The OMP specific adaptations to this OMP Default UI bundle were performed by {url-bci}[Robert Bosch Manufacturing Solutions GmbH].
231+
The ESMF specific adaptations to this ESMF UI bundle were performed by {url-bci}[Robert Bosch Manufacturing Solutions GmbH].

0 commit comments

Comments
 (0)