Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ietf-tools/draftforge

DraftForge

Release GitHub Issues VS Code Installs Build + Publish

A fully featured VS Code extension to write, review, refine and submit Internet-Drafts.

Warning

This is alpha release that should only be used for testing and development purposes by IETF / RFC-Editor staff.

IETF DraftForge provide tools, validation checks and snippets for both Internet-Drafts authors and the RFC Production Center.

Install

Follow the User Guide for installation instructions.

Some features of this extension relies on several dependencies that must also be installed, depending on your workflow. This extension should almost never be installed standalone. Install one of these extension packs instead:

Features

  • Validation Checks
    • Articles Check
    • Hyphenation Check
    • Inclusive Language Check
    • Names Check
    • Non-ASCII Check
    • Placeholders Check
    • RFC-specific Terms Check
    • Repeated Words Check
    • Typos Check
  • Tools
    • Add XML Models
    • Export as HTML
    • Export as PDF
    • Export as TXT
    • Extract [rfced] comments
    • Extract Code Components
    • Format Document
    • IDNits
    • List Inconsistent Capitalization
    • Lookup Selection Across Docs
    • Open Preview
    • Strip ^M Line Endings
    • SVG Check
  • Snippets
    • Author Block
    • Date Element
    • Table
  • Reference
    • User Guide
    • RFCXML
      • Vocabulary

Extension Settings

This extension contributes the following settings:

  • draftforge.experience: Set to author (default) for an author-centric experience or rpc for a RPC staff-centric experience.
  • draftforge.idnits.mode: The default validation mode to use when running IDNits. Set to prompt (default) to be prompted every time or to normal, forgive, submission.
  • draftforge.idnits.offline: Whether to run IDNits in offline mode. Any check that requires an internet connection will be skipped. (Defaults to false)
  • draftforge.svgcheck.executablePath: svgcheck executable name or path. (Defaults to svgcheck)
  • draftforge.svgcheck.flags: The flags to provide to svgcheck. Do not include the output format / paths flags. (Defaults to empty)
  • draftforge.xml2rfc.executablePath: XML2RFC executable name or path. (Defaults to xml2rfc)
  • draftforge.xml2rfc.previewFlags: The flags to provide to xml2rfc for the live preview of XMLRFC documents. Do not include the output format / paths flags. (Defaults to --v3 --no-dtd --no-network --id-is-work-in-progress)
  • draftforge.xml2rfc.htmlOutputFlags: The flags to provide to xml2rfc when generating HTML outputs of XMLRFC documents. Do not include the output format / paths flags. (Defaults to --v3 --id-reference-base-url="https://datatracker.ietf.org/doc/html/" --rfc-reference-base-url="https://www.rfc-editor.org/rfc/" --metadata-js-url="https://www.rfc-editor.org/js/metadata.min.js" --id-is-work-in-progress)
  • draftforge.xml2rfc.txtOutputFlags: The flags to provide to xml2rfc when generating TXT outputs of XMLRFC documents. Do not include the output format / paths flags. (Defaults to --v3 --bom --id-reference-base-url="https://datatracker.ietf.org/doc/html/" --id-is-work-in-progress)
  • draftforge.xml2rfc.pdfOutputFlags: The flags to provide to xml2rfc when generating PDF outputs of XMLRFC documents. Do not include the output format / paths flags. (Defaults to --v3 --id-reference-base-url="https://datatracker.ietf.org/doc/html/" --rfc-reference-base-url="https://www.rfc-editor.org/rfc/" --id-is-work-in-progress)

About

VS Code extension to write, review, refine and submit Internet-Drafts.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks