Git Product home page Git Product logo

rfc's Introduction

Setup and Editing

There are two ways to view this document:

  1. As an XML document directly in Firefox
  2. By converting it using the same tool that the IETF uses

Using Firefox

To use Firefox, just open the XML file directly. It will use the referenced XSLT to style the document. If it doesn't, you may need to access about:config and set security.fileuri.strict_origin_policy to false. The rendered result will not look the same way as an RFC published by the IETF. To get that look, you need to use xml2rfc.

Using xml2rfc

  1. Install xml2rfc by doing pip install --user xml2rfc

  2. Open the XML document in Intellij.

  3. Add a new Python run configuration using the following settings:

    • Script path the path to xml2rfc (e.g., /Users/user22/Library/Python/2.7/bin/xml2rfc)
    • Parameters should be --html --text whatever.xml (e.g., --html draft-ideskog-assisted-token-00.xml)
    • Pick an interpreter from the Python interpreter section
  4. When the XML of the RFC draft has changed, just run the Python configuration (^R)

rfc's People

Contributors

travisspencer avatar jacobideskog avatar

Watchers

 avatar James Cloos avatar  avatar  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.