THIS REPOSITORY IS ARCHIVED. Its functionality has been incorporated into https://github.com/metanorma/mnconvert
You will need the maven
build tool and make
.
java -jar target/rfc2mn-1.0.jar <XML-FileName> [--output <Output-ADOC-FileName>]
e.g.
java -jar target/rfc2mn-1.0.jar tests/example.xml --output tests/example.adoc
Update version in pom.xml
, e.g.:
<groupId>org.metanorma</groupId>
<artifactId>rfc2mn</artifactId>
<version>1.0</version>
<name>XML2RFC to Metanorma Asciidoc IETF</name>
Build the package using instructions above, the package will be created at:
target/rfc2mn-{version}.jar
Tag the same version in Git:
git tag v1.0
git push origin v1.0
Then the corresponding GitHub release will be automatically created at: https://github.com/metanorma/rfc2mn/releases