We gladly and thankfully accept pull requests to improve the content of our tutorials. See Contributing to this repo for the legal details.
In the root directory the following commands can be used to build different outputs.
// create HTML 5
./gradlew cH
// create PDF
./gradlew cP
// create EPub 3
./gradlew cE
// create All (HTML 5, PDF, EPub 3)
./gradlew cA
Alternativly the command can be changed to:
this will triger an automatical run of the command once a change is saved in the adoc files.
If these commands are run in the root directory all subprojects will be build.
Tip
|
Single subprojects can be build when navigating into a subproject and for example run ../gradlew cH
|
Note
|
On Windows OS ./gradlew.bat must be usedSee CSS tutorial |
-
Create a new project(a sub-directory) in the root directory
-
Add the new project to the settings.gradle file (
include '{newProjectName}'
) -
Open new project in terminal and run
../gradlew cT
to run thecreateTemplate
task