Skip to content

Commit 5b218bf

Browse files
#1 Update README, CONTRIBUTING & docs
1 parent c4bbb49 commit 5b218bf

File tree

4 files changed

+61
-10
lines changed

4 files changed

+61
-10
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ make tests
4444

4545
When a feature should be deprecated, or when you have a breaking change for a future version, please :
4646
* [Fill an issue](https://github.com/cleverage/process-bundle-demo/issues/new)
47-
* Add TODO comments with the following format: `@TODO deprecated v2.0`
48-
* Trigger a deprecation error: `@trigger_error('This feature will be deprecated in v4.0', E_USER_DEPRECATED);`
47+
* Add TODO comments with the following format: `@TODO deprecated v1.0`
48+
* Trigger a deprecation error: `@trigger_error('This feature will be deprecated in v1.0', E_USER_DEPRECATED);`
4949

5050
You can check which deprecation notice is triggered in tests
5151
* `make bash`

README.md

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,10 @@ CleverAge/ProcessBundleDemo
33

44
A demo project using cleverage/process-bundle & cleverage/*-process-bundle bridges
55

6-
## Usage
6+
## Documentation
77

8-
```shell script
9-
make start
10-
```
11-
12-
Then access to UI via http://process-bundle-demo.localhost/process (username: [email protected] / password: [email protected])
13-
14-
By default, this demo use sqlite as default database. Feel free to user pgsql or mysql/mariadb in you project.
8+
For usage documentation, see:
9+
[docs/index.md](docs/index.md)
1510

1611
## Support & Contribution
1712

docs/index.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
## Usage
2+
3+
```bash
4+
make start
5+
```
6+
7+
Then access to UI via http://process-bundle-demo.localhost/process (username: [email protected] / password: [email protected])
8+
9+
By default, this demo use sqlite as default database. Feel free to user pgsql or mysql/mariadb in you project.
10+
11+
## Reference
12+

docs/reference/tasks/_template.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
TaskName
2+
========
3+
4+
_Describe main goal an use cases of the task_
5+
6+
Task reference
7+
--------------
8+
9+
* **Service**: `ClassName`
10+
11+
Accepted inputs
12+
---------------
13+
14+
_Description of allowed types_
15+
16+
Possible outputs
17+
----------------
18+
19+
_Description of possible types_
20+
21+
Options
22+
-------
23+
24+
| Code | Type | Required | Default | Description |
25+
| ---- | ---- | :------: | ------- | ----------- |
26+
| `code` | `type` | **X** _or nothing_ | `default value` _if available_ | _description_ |
27+
28+
Examples
29+
--------
30+
31+
_YAML samples and explanations_
32+
33+
* Example 1
34+
- details
35+
- details
36+
37+
```yaml
38+
# Task configuration level
39+
code:
40+
service: '@service_ref'
41+
options:
42+
a: 1
43+
b: 2
44+
```

0 commit comments

Comments
 (0)