This module contains AsciiDoc sources and configuration to generate CDI documentation in HTML and PDF format for both Apache License 2 and Jakarta Eclipse Foundation Specification Process.
Just enter mvn
at the command line.
Maven will generate final doc in HTML and PDF in target
directory with the default license (ASL2).
The documentation can be generated for 2 licenses : Apache License v 2.0 (by default) and EFSL license.
To generate doc with the final EFSL license, change the license-file
property to final
. Use asl
or
specify nothing for the Apache V2 License.
For instance mvn -Dlicense-file=final
will generate docs with EFSL final license.
The spec is split different AsciiDoc file in src/main/asciidoc
The master doc (entry point) is cdi-spec.asciidoc
which includes all the other part of the spec.
To work in the spec you may want to install a plugin in your IDE (major 3 IDE have AsciiDoc plugins). You can also use a good text editor providing AsciiDoc plugin. Best candidate are:
Install Atom. Then from the Atom editor menus, navigate to menu:Atom[Preferences]. From there, open the menu:Packages[] tab and install:
- AsciiDoc Preview package
-
enables live preview
- AsciiDoc package
-
enables syntax highlighting (AsciiDoc language support)
More information:
Install Brackets.
Then from the Brackets file menu, open the extension manager.
Browse available extensions and install AsciiDoc Preview
.
More information:
To run AsciiDocFX, you will need to:
-
Install JDK 8
-
Download the latest AsciidocFX.zip and extract it
-
Run
bin/asciidocfx.bat
orbin/asciidocfx.sh
More information: