Skip to content

Commit 4d2a036

Browse files
authored
Documentation on Github Pages (#4)
* preparing for compatibility check * using corrent parent version * using correct parent versions * using cibseven-engine-spring dependency * switched from javax to jakarta * run docs action on main and documentation branches * Deploy latest develop snapshot docs to GH pages for main and documentation branches * preparing documentation * css and text changes * back to monochrome, logo als svg * no monochrome header in dark mode, back to png logo * renamed to cibseven-tests * report directory removed to cibseven-tests * Update README.md
1 parent 4838b54 commit 4d2a036

File tree

19 files changed

+50
-46
lines changed

19 files changed

+50
-46
lines changed

.github/workflows/docs.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ name: Build the docs
33
on:
44
push:
55
branches:
6-
- master
6+
- main
7+
- documentation
78
tags:
89
- '*'
910
release:
@@ -69,9 +70,14 @@ jobs:
6970
if: startsWith(github.ref, 'refs/tags/')
7071
run: mike set-default stable --push
7172

72-
# This is for master branch
73+
# This is for main branch
7374
- name: Deploy latest develop snapshot docs to GH pages.
74-
if: github.ref == 'refs/heads/master'
75+
if: github.ref == 'refs/heads/main'
76+
run: mike deploy snapshot -u --push
77+
78+
# This is for documentation branch
79+
- name: Deploy latest develop snapshot docs to GH pages.
80+
if: github.ref == 'refs/heads/documentation'
7581
run: mike deploy snapshot -u --push
7682

7783
# This is for release close

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
[![](https://img.shields.io/badge/Community%20Extension-An%20open%20source%20community%20maintained%20project-FF4700)](https://github.com/cibseven-community-hub/community)
2-
![Compatible with: Camunda Platform 7](https://img.shields.io/badge/Compatible%20with-Camunda%20Platform%207-26d07c)
1+
[![](https://img.shields.io/badge/Community%20Extension-An%20open%20source%20community%20maintained%20project-E11E19)](https://github.com/cibseven-community-hub)
2+
[![Compatible with: CIB seven](https://img.shields.io/badge/Compatible%20with-CIB%20seven-26d07c)](https://github.com/cibseven/cibseven)
33

44

55
# CIB seven Process Test Coverage
@@ -24,7 +24,7 @@ This CIB seven community extension **visualises** test process **paths** and **c
2424

2525
## Installation
2626

27-
Add a **Maven test dependency** to your project <a href="https://maven-badges.herokuapp.com/maven-central/org.cibseven.community.process_test_coverage/process-test-coverage-bom"><img src="https://maven-badges.herokuapp.com/maven-central/org.cibseven.community.process_test_coverage/process-test-coverage-bom/badge.svg" align="right" /></a>
27+
Add a **Maven test dependency** to your project <a href="https://maven-badges.herokuapp.com/maven-central/org.cibseven.community.process_test_coverage/process-test-coverage-bom"><img src="https://maven-badges.herokuapp.com/maven-central/org.cibseven.community.process_test_coverage/cibseven-process-test-coverage-bom/badge.svg" align="right" /></a>
2828
0
2929
### JUnit5
3030

docs/assets/css/extra.css

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,35 +9,33 @@
99

1010
[data-md-color-scheme="default"] {
1111
/*
12-
Camunda colors
12+
CIB colors
1313
*/
14-
--camunda-orange-1: #f38a07;
15-
--camunda-orange-2: #f27d06;
16-
--camunda-orange-3: #f04609;
14+
--primary: #E11E19;
15+
--secondary: #4D6278;
1716
--monochrome-50: #7f7f7f;
1817

1918

2019
/*
2120
Default colors adjustments
2221
*/
2322
--md-primary-fg-color: var(--monochrome-50);
24-
--md-accent-fg-color: var(--camunda-orange-3);
25-
--md-footer-bg-color: var(--camunda-orange-1);
23+
--md-accent-fg-color: var(--primary);
24+
--md-footer-bg-color: var(--secondary);
2625
}
2726

2827
[data-md-color-scheme="slate"] {
2928
/*
30-
Camunda colors
29+
CIB colors
3130
*/
32-
--camunda-orange-1: #f38a07;
33-
--camunda-orange-2: #f27d06;
34-
--camunda-orange-3: #f04609;
31+
--primary: #E11E19;
32+
--secondary: #4D6278;
3533

3634

3735
/*
3836
Default colors adjustments
3937
*/
4038
--md-primary-fg-color: var(--monochrome-50);
41-
--md-accent-fg-color: var(--camunda-orange-3);
42-
--md-footer-bg-color: var(--camunda-orange-1);
39+
--md-accent-fg-color: var(--primary);
40+
--md-footer-bg-color: var(--secondary);
4341
}

docs/assets/img/camunda-logo.png

-16.1 KB
Binary file not shown.

docs/assets/img/cibseven-logo.png

4 KB
Loading

docs/developer-guide/contribution.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# How to Contribute
22

3-
We'd love you to contribute to this project by filing bugs, helping others on the [issue tracker](https://github.com/cibseven/process-test-coverage/issues), and by contributing features/bug fixes through pull requests.
3+
We'd love you to contribute to this project by filing bugs, helping others on the [issue tracker](https://github.com/cibseven-community-hub/process-test-coverage/issues), and by contributing features/bug fixes through pull requests.
44

55
Read more on [how to get the project up and running](#setting-up-the-project-locally).
66

77

88
## Creating Issues
99

10-
Please use our [issue tracker](https://github.com/cibseven/cibseven-process-test-coverage/issues) for project communication.
10+
Please use our [issue tracker](https://github.com/cibseven-community-hub/cibseven-process-test-coverage/issues) for project communication.
1111
When using the issue tracker:
1212

1313
* Be descriptive when creating an issue (what, where, when and how does a problem pop up)?
@@ -22,7 +22,7 @@ Create a pull request if you would like to have an in-depth discussion about som
2222
The project is build using [Maven 3](https://maven.apache.org/) as build tool.
2323
To build the project by yourself, go to your cmd line and enter ```mvn clean install``` on the root of the checked out project.
2424

25-
1. git clone https://github.com/cibseven/cibseven-process-test-coverage.git
25+
1. git clone https://github.com/cibseven-community-hub/cibseven-process-test-coverage.git
2626
2. cd cibseven-process-test-coverage/
2727
3. mvn clean install
2828

docs/user-guide/configuration.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ possible to configure the output directory for the aggregation report inside the
4949
<goal>aggregate</goal>
5050
</goals>
5151
<configuration>
52-
<reportDirectory>build/camunda-tests</reportDirectory>
52+
<reportDirectory>build/cibseven-tests</reportDirectory>
5353
<outputDirectory>aggregation</outputDirectory>
5454
</configuration>
5555
</execution>
@@ -69,14 +69,14 @@ plugins {
6969
}
7070
7171
aggregateProcessTestCoverage {
72-
reportDirectory = 'build/camunda-tests'
72+
reportDirectory = 'build/cibseven-tests'
7373
outputDirectory = 'aggregation'
7474
}
7575
```
7676

7777
### Legacy way via system property
7878

79-
We still support the old way to configure the reporting directory via system property `camunda-process-test-coverage.target-dir-root`.
79+
We still support the old way to configure the reporting directory via system property `cibseven-process-test-coverage.target-dir-root`.
8080

8181
#### Maven
8282
```xml
@@ -85,7 +85,7 @@ We still support the old way to configure the reporting directory via system pro
8585
<artifactId>maven-surefire-plugin</artifactId>
8686
<configuration>
8787
<systemPropertyVariables>
88-
<camunda-process-test-coverage.target-dir-root>${project.build.directory}/my-coverage-reports/</camunda-process-test-coverage.target-dir-root>
88+
<cibseven-process-test-coverage.target-dir-root>${project.build.directory}/my-coverage-reports/</cibseven-process-test-coverage.target-dir-root>
8989
</systemPropertyVariables>
9090
</configuration>
9191
</plugin>
@@ -96,7 +96,7 @@ We still support the old way to configure the reporting directory via system pro
9696
tasks {
9797
withType<Test> {
9898
systemProperties = mapOf(
99-
"camunda-process-test-coverage.target-dir-root" to "$buildDir/my-coverage-reports/"
99+
"cibseven-process-test-coverage.target-dir-root" to "$buildDir/my-coverage-reports/"
100100
)
101101
}
102102
}

examples/jgiven-platform-7/src/test/resources/application.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
spring:
2-
# spring.datasource.url: jdbc:h2:file:./camunda-h2-database
2+
# spring.datasource.url: jdbc:h2:file:./cibseven-h2-database
33
datasource:
44
url: jdbc:h2:mem:camunda;DB_CLOSE_ON_EXIT=FALSE
55

examples/spring-starter-platform-7/src/test/resources/application.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
spring:
2-
# spring.datasource.url: jdbc:h2:file:./camunda-h2-database
2+
# spring.datasource.url: jdbc:h2:file:./cibseven-h2-database
33
datasource:
44
url: jdbc:h2:mem:camunda;DB_CLOSE_ON_EXIT=FALSE
55

examples/spring-test-platform-7/src/test/resources/application.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
spring:
2-
# spring.datasource.url: jdbc:h2:file:./camunda-h2-database
2+
# spring.datasource.url: jdbc:h2:file:./cibseven-h2-database
33
datasource:
44
url: jdbc:h2:mem:camunda;DB_CLOSE_ON_EXIT=FALSE
55

0 commit comments

Comments
 (0)