This Internet-Draft is written in pure AsciiDoc using the excellent
asciidoctor-rfc
gem. The latest
draft of this Internet-Draft is available at https://tools.ietf.org/html/draft-ribose-asciirfc-02 .
git clone https://github.com/metanorma/rfc-asciidoc-rfc
To fetch the sub-documents for /examples
:
cd rfc-asciidoc-rfc
git submodule init
make pull
idnits is the RFC checking tool prior to submissions.
The make
target finds exactly the document name from the :name:
document
attribute and puts the file in the right place before calling idnits
to
prevent it complaining about the location.
export ID_NAME=ribose-asciirfc
make draft-${ID_NAME}.nits
export ID_NAME=ribose-asciirfc
pcregrep --color='auto' -n "[\x80-\xFF]" draft-${ID_NAME}.xml