Skip to content

Commit 6111e69

Browse files
committed
FINERACT-1608: Add introduction to Asciidoc
1 parent 7f11d81 commit 6111e69

43 files changed

Lines changed: 539 additions & 101 deletions

Some content is hidden

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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ complies with the [Apache Software Foundation third-party license policy](https:
338338
Apache Fineract Platform API
339339
============
340340

341-
The API for Fineract is documented in [apiLive.htm](fineract-provider/src/main/resources/static/api-docs/apiLive.htm), and the [apiLive.htm can be viewed on Fineract.dev](https://demo.fineract.dev/fineract-provider/legacy-docs/apiLive.htm "API Documentation"). If you have your own Fineract instance running, you can find this documentation under [/fineract-provider/api-docs/apiLive.htm](https://localhost:8443/fineract-provider/api-docs/apiLive.htm).
341+
The API for Fineract is documented in [apiLive.htm](fineract-provider/src/main/resources/static/api-docs/apiLive.htm), and the [apiLive.htm can be viewed on Fineract.dev](https://fineract.apache.org/legacy-docs/apiLive.htm "API Documentation"). If you have your own Fineract instance running, you can find this documentation under [/fineract-provider/api-docs/apiLive.htm](https://localhost:8443/fineract-provider/api-docs/apiLive.htm).
342342

343343
The Swagger documentation (work in progress; see [FINERACT-733](https://issues.apache.org/jira/browse/FINERACT-733)) can be accessed under [/fineract-provider/swagger-ui/index.html](https://localhost:8443/fineract-provider/swagger-ui/index.html) and [live Swagger UI here on Fineract.dev](https://demo.fineract.dev/fineract-provider/swagger-ui/index.html).
344344

fineract-client/build.gradle

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,20 @@ task buildAsciidoc(type: org.openapitools.generator.gradle.plugin.tasks.Generate
9393
apiPackage = 'org.apache.fineract.client.services'
9494
invokerPackage = 'org.apache.fineract.client'
9595
modelPackage = 'org.apache.fineract.client.models'
96+
configOptions = [
97+
appName: 'Apache Fineract REST API',
98+
appDescription: '''Apache Fineract is a secure, multi-tenanted microfinance platform.
99+
The goal of the Apache Fineract API is to empower developers to build apps on top of the Apache Fineract Platform.
100+
The https://cui.fineract.dev[reference app] (username: mifos, password: password) works on the same demo tenant as the interactive links in this documentation.
101+
Until we complete the new REST API documentation you still have the legacy documentation available https://fineract.apache.org/legacy-docs/apiLive.htm[here].
102+
Please check https://fineract.apache.org/docs/current[the Fineract documentation] for more information.''',
103+
headerAttributes: 'false',
104+
infoEmail: 'dev@fineract.apache.org',
105+
infoUrl: 'https://fineract.apache.org',
106+
licenseInfo: 'Apache 2.0',
107+
licenseUrl: 'http://www.apache.org/licenses/LICENSE-2.0.html',
108+
useMethodAndPath: 'true'
109+
]
96110
dependsOn(':fineract-provider:resolve')
97111
}
98112

fineract-doc/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ asciidoctor {
5757
}
5858
outputDir 'build/docs/html'
5959

60-
dependsOn ':fineract-client:buildAsciidoc'
60+
dependsOn(':fineract-client:clean', ':fineract-client:buildAsciidoc')
6161
}
6262

6363
// asciidoctorEpub {
@@ -92,11 +92,11 @@ asciidoctorPdf {
9292
// }
9393
// }
9494
// fontsDir "$projectDir/src/resources/fonts"
95-
dependsOn ':fineract-client:buildAsciidoc'
95+
dependsOn(':fineract-client:clean', ':fineract-client:buildAsciidoc')
9696
}
9797

9898
task doc(type: Zip) {
99-
dependsOn asciidoctor, asciidoctorPdf
99+
dependsOn(asciidoctor, asciidoctorPdf)
100100

101101
into("fineract-${project.version}/html") {
102102
from("$buildDir/docs/html") {

fineract-doc/src/docs/en/chapters/documentation/asciidoc-cheatsheet.adoc

Lines changed: 398 additions & 0 deletions
Large diffs are not rendered by default.

fineract-doc/src/docs/en/chapters/documentation/asciidoc-tutorial.adoc

Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
= Asciidoc
2-
3-
See: https://asciidoctor.org/
4-
5-
TBD
6-
7-
include::asciidoc-tutorial.adoc[leveloffset=+1]
1+
= AsciiDoc
82

93
include::asciidoc-cheatsheet.adoc[leveloffset=+1]
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
= Archimate Cheatsheet
2+
3+
TBD
4+
5+
NOTE: https://www.opengroup.org/archimate-forum/archimate-overview and https://plantuml.com/archimate-diagram
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
= C4 Cheatsheet
2+
3+
TBD
4+
5+
NOTE: https://c4model.com and https://github.com/plantuml-stdlib/C4-PlantUML
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
= PlantUML Cheatsheet
2+
3+
TBD
4+
5+
NOTE: https://plantuml.com
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
= Vega Cheatsheet
2+
3+
TBD
4+
5+
NOTE: https://vega.github.io/vega-lite/

0 commit comments

Comments
 (0)