Git Product home page Git Product logo

draft-rfc7854bis's Introduction

RFC7854bis

Generating IETF XML

This draft is written using mmark (markdown) to render the IETF submission XML file.

Root Entrypoint

The root entrypoint where the RFC is defined is rfc.md. This file includes other markdown files, such as abstract.md and body.md.

Apple/Mac

Install mmark

brew install mmark

Install xml2rfc

xml2rfc is avaialble via PIP but the pip package doesn't always install scripts. It's more consistent to install xml2rfc using the below:

git clone [email protected]:ietf-tools/xml2rfc.git
cd xml2rfc
pip3 install -r requirements.txt
python3 setup.py install --user --install-scripts=$HOME/bin

Update local environment

Various scripts will require python which is not always available (e.g. only python3 works). Add an alias, such as alias python="/usr/bin/python3"to ensure that python from shell uses python3.

xml2rfc bin has been installed to ${HOME}/bin/xml2rfc. Make sure that ${HOME}/bin is in the PATH=${HOME}/bin:$PATH variable.

All platforms

Use 'make' to render IETF documents

Providing xml2rfc and mmark work from shell/command line, a simple call to make should generate the IETF XML file. The text file output will also be generated. The text file provides a clear human-readable rendering of the generated XML file.

Example:

❯ make
mkdir -p gen
mmark  rfc.md > gen/draft-jennings-moq-architecture.xml
xml2rfc --text --v3 gen/draft-jennings-moq-architecture.xml
 Created file gen/draft-jennings-moq-architecture.txt

draft-rfc7854bis's People

Contributors

timevens avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.