jrule
jrule copied to clipboard
Rework documentation
The README is beginning to become quite overloaded, and I assume some of the information is neither correct nor complete.
- Maybe split examples to separate file?
- Improve doc on creating testcases for rules?
- Provide better doc on how to setup a user rule project using Maven or Gradle?
agree completely, thought the same while merging the readme again and again. My thoughts were to use "cleanup" the integration tests and use this as examples. I created there temporary the rules to copy them to the examples to be typo safe.
@seaside1 WDYT?
Not sure. Should we keep the examples in .java-files have them checked in, so they can be changed. And then maybe only link to the source. Otherwise sounds good to make documentation better.
I have updated the examples of Readme now to reflect the refactoring in main.
I like the idea of having the examples as compilable java files. Makes it much easier to maintain as well.
Should we close this one now?
I've been thinking about making this project into a maven multimodule project where the modules are
- the main jrule artifact (as today)
- all the examples as a compilable project
- an empty example project setup like jrules-user repo
WDYT?
I still think having the examples as code is more secure (see the last merged typo) Putting this in a multimodule project seems to be a good idea.
I also think it sounds good!