Skip to content

Commit e933613

Browse files
committed
Merge branch 'main' into docs
2 parents c5189b2 + 1af982e commit e933613

File tree

115 files changed

+4603
-35391
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

115 files changed

+4603
-35391
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
#react
44

5+
.DS_Store
6+
57
npm
68

79
.metadata
@@ -100,4 +102,4 @@ buildNumber.properties
100102

101103
# End of https://www.gitignore.io/api/java,maven,eclipse
102104

103-
/.apt_generated/
105+
/.apt_generated/

docgen/parameters.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"title" : "Venus (Fugerit Document Generation Framework)",
33
"name": "Venus",
4-
"version" : "0.8.0",
5-
"date" : "07/01/2023",
4+
"version" : "0.8.9",
5+
"date" : "20/02/2023",
66
"organization" : {
77
"name" : "Fugerit Org",
88
"url" : "https://www.fugerit.org"

docgen/release-notes.txt

Lines changed: 51 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,53 @@
1-
0.8.0 (2023-01-07)
1+
0.8.9 (2023-02-20)
2+
------------------
3+
+ [Upgraded quarkus version to 3.0.0.Alpha4](https://github.com/fugerit-org/fj-doc/issues/29)
4+
+ Fix chatset handling for csv type handler
5+
+ Fix to alternate text for json and yaml sample
6+
7+
8+
0.8.8 (2023-02-11)
9+
------------------
10+
+ [Fix javadoc build for java 17](https://github.com/fugerit-org/fj-doc/issues/26)
11+
+ [Jackson core need to be upgraded 2.14.1](https://github.com/fugerit-org/fj-doc/issues/9)
12+
+ update fj-core version to 0.8.12
13+
14+
15+
0.8.7 (2023-02-08)
16+
------------------
17+
+ [Fix Javadoc generations with older versions of jdk 11 fails](https://github.com/fugerit-org/fj-doc/issues/24)
18+
19+
0.8.6 (2023-02-06)
20+
------------------
21+
+ Added meta informations to samples documents
22+
+ Added new sample catalog entry from playground
23+
+ Playground tests disabled by default
24+
+ Playground not included in release
25+
26+
0.8.5 (2023-01-31)
27+
------------------
28+
+ [fj-doc-base - Extend charset provider capabilities](https://github.com/fugerit-org/fj-doc/issues/22)
29+
30+
0.8.4 (2023-01-27)
31+
------------------
32+
+ [fj-doc-base - Enable charset selection for DocTypeHandlerXML](https://github.com/fugerit-org/fj-doc/issues/17)
33+
34+
0.8.3 (2023-01-24)
35+
------------------
36+
+ [fj-doc-mod-fop - need to create FopConfigClassLoaderWrapper with default ResourceResolver](https://github.com/fugerit-org/fj-doc/issues/15)
37+
38+
0.8.2 (2023-01-22)
39+
------------------
40+
+ Updated fj-core version to 0.8.8
41+
+ Improved playground
42+
43+
0.8.1 (2023-01-15)
44+
------------------
45+
+ Added methods to DocProcessContext for DocBase and DocType availability.
46+
+ Added access to DocConfig static variables in Freemarker Chain process
47+
+ Added new info doc-version-compatibility for handling behaviours in 1-x e 2-x doc versions.
48+
+ Added a sample documents catalog to the fj-doc-sample modules (accessible in the playgound application too)
49+
50+
0.8.0 (2023-01-07)
251
------------------
352
+ Added a new module for generating documentation [fj-doc-lib-autodoc](https://github.com/fugerit-org/fj-doc/tree/main/fj-doc-lib-autodoc)
453
+ Published new version of [doc-2-0.xsd](https://venusdocs.fugerit.org/fj-doc-base/src/main/resources/config/doc-2-0.xsd), [see doc xsd changelog](https://github.com/fugerit-org/fj-doc/blob/main/fj-doc-base/DocXsdChangelog.md)
@@ -390,4 +439,4 @@ syntax)
390439

391440
0.3.0.0 (2020-03-31)
392441
--------------------
393-
+ Java 8 is the minimum version supported
442+
+ Java 8 is the minimum version supported

fj-doc-base-json/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>org.fugerit.java</groupId>
99
<artifactId>fj-doc</artifactId>
10-
<version>0.8.0</version>
10+
<version>0.8.9</version>
1111
</parent>
1212

1313
<name>fj-doc-base-json</name>

fj-doc-base-json/src/main/java/org/fugerit/java/doc/json/parse/DocJsonParser.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ private DocObjectMapperHelper getHelper() {
2323
}
2424

2525
@Override
26-
protected DocValidationResult validateWorker(Reader reader) throws Exception {
27-
return this.getHelper().validateWorkerResult(reader);
26+
protected DocValidationResult validateWorker(Reader reader, boolean parseVersion) throws Exception {
27+
return this.getHelper().validateWorkerResult(reader, parseVersion);
2828
}
2929

3030
@Override

fj-doc-base-json/src/main/java/org/fugerit/java/doc/json/parse/DocObjectMapperHelper.java

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,15 +94,20 @@ private void handleElement( JsonNode node, DocParserContext context ) {
9494
context.handleEndElement(qName);
9595
}
9696

97-
public DocValidationResult validateWorkerResult(Reader reader) throws Exception {
97+
public DocValidationResult validateWorkerResult(Reader reader, boolean parseVersion) throws Exception {
9898
DocValidationResult result = DocValidationResult.newDefaultNotDefinedResult();
9999
DocJsonToXml convert = new DocJsonToXml( this.mapper );
100100
Element root = convert.convertToElement( reader );
101101
try ( ByteArrayOutputStream buffer = new ByteArrayOutputStream() ) {
102102
DOMIO.writeDOMIndent(root, buffer);
103103
try ( Reader xmlReader = new InputStreamReader( new ByteArrayInputStream( buffer.toByteArray() ) ) ) {
104104
DocXmlParser parser = new DocXmlParser();
105-
result = parser.validateResult(xmlReader);
105+
result = null;
106+
if ( parseVersion ) {
107+
result = parser.validateVersionResult(xmlReader);
108+
} else {
109+
result = parser.validateResult(xmlReader);
110+
}
106111
if ( !result.getErrorList().isEmpty() ) {
107112
result.getInfoList().add( "This validation is made through conversion to xml, so lines/columns number in errors are to be considered an hint" );
108113
}

fj-doc-base-yaml/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>org.fugerit.java</groupId>
99
<artifactId>fj-doc</artifactId>
10-
<version>0.8.0</version>
10+
<version>0.8.9</version>
1111
</parent>
1212

1313
<name>fj-doc-base-yaml</name>

fj-doc-base-yaml/src/main/java/org/fugerit/java/doc/yaml/parse/DocYamlParser.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ private DocObjectMapperHelper getHelper() {
2525
}
2626

2727
@Override
28-
protected DocValidationResult validateWorker(Reader reader) throws Exception {
29-
return this.getHelper().validateWorkerResult(reader);
28+
protected DocValidationResult validateWorker(Reader reader, boolean parseVersion) throws Exception {
29+
return this.getHelper().validateWorkerResult(reader, parseVersion);
3030
}
3131

3232
@Override

fj-doc-base/DocXsdChangelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
* Attribute 'base64' has now its own type 'base64Type'
1818
* Attribute 'url' has now its own type 'urlType'
1919
* Element 'br', 'barcode', 'image', 'nbsp' are no longer 'mixed'
20+
* Type styleType as a new possible value : 'normal'
2021

2122
Summary of previous versions :
2223
-----------------------------

fj-doc-base/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>org.fugerit.java</groupId>
99
<artifactId>fj-doc</artifactId>
10-
<version>0.8.0</version>
10+
<version>0.8.9</version>
1111
</parent>
1212

1313
<name>fj-doc-base</name>

0 commit comments

Comments
 (0)