GithubHelp home page GithubHelp logo

runt18 / html-tools Goto Github PK

View Code? Open in Web Editor NEW

This project forked from w3c/html-tools

0.0 3.0 0.0 278 KB

Tools used to publish the HTML specifications

Makefile 0.07% Python 7.13% PHP 2.48% HTML 87.82% JavaScript 1.31% Emacs Lisp 1.19%

html-tools's Introduction

Tools used to publish the HTML WG drafts

This repository contains all the tools that are being used to publish the following specifications of the HTML WG:

  • HTML
  • Canvas
  • Microdata

Support for further specifications may be added as things progress.

Installation

Just check it out wherever seems convenient to you, and it should work. Its one dependency is a recent version of Anolis.

Configuration

There is a default-config.json file included here. Do NOT edit it, it is just the default. If you need to override its values, create a local-config.json file and use it to override just the values you need. For instance, if you need your HTML draft to be in /some/other/path (the default assumes ../html), just create this local-config.json:

{
    "html": { "path": "/some/other/path" }
}

Running

You can run this either as:

python publish.py [html|2dcontext|microdata]

or as:

make [html|2dcontext|microdata]

The make variant runs exactly the same thing, but checks to see if the source has changed since the last generation. This can be faster if you're working on the spec, but be warned that it does not check if other dependencies may have changed too (e.g. the boilerplate) and so can trip you.

TODO

  • make output directory configurable
  • add support for generating against a specific branch, or multiple branches
  • add a linter

html-tools's People

Contributors

darobin avatar hober avatar quantifiedcode-bot avatar runt18 avatar sideshowbarker avatar silviapfeiffer avatar stevefaulkner avatar travisleithead avatar

Watchers

 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.