A user account is required in order to edit this wiki, but we've had to disable public user registrations due to spam.

To request an account, ask an autoconfirmed user on IRC (such as one of these permanent autoconfirmed members).

Difference between revisions of "Anolis"

From WHATWG Wiki
Jump to: navigation, search
m (Setting up Anolis with cross-specification cross-references)
(only mention Anolis specific instructions here)
Line 3: Line 3:
 
* http://pimpmyspec.net/
 
* http://pimpmyspec.net/
 
* http://hg.hoppipolla.co.uk/ -- jgraham's work
 
* http://hg.hoppipolla.co.uk/ -- jgraham's work
* http://bitbucket.org/ms2ger/anolis -- will hopefully be merged into jgraham's work
+
* http://bitbucket.org/ms2ger/anolis -- used by most WHATWG standards, the latest version
  
== Setting up Anolis with cross-specification cross-references ==
+
== Setting up ms2ger/anolis ==
  
 
* Install http://bitbucket.org/ms2ger/anolis:
 
* Install http://bitbucket.org/ms2ger/anolis:
Line 17: Line 17:
 
  hg clone https://code.google.com/p/html5lib
 
  hg clone https://code.google.com/p/html5lib
 
  cd html5lib/python && sudo python setup.py install
 
  cd html5lib/python && sudo python setup.py install
* In the directory where you have your specification clone https://bitbucket.org/ms2ger/specification-data as "data"
 
cd /mirror/hg/dvcs.w3.org/fullscreen/ # or wherever your spec is locally
 
hg clone https://bitbucket.org/ms2ger/specification-data data
 
* In the same directory create a Makefile equivalent to http://dvcs.w3.org/hg/progress/raw-file/tip/Makefile
 
  
 
[[Category:Spec coordination]]
 
[[Category:Spec coordination]]

Revision as of 10:36, 17 October 2012

Anolis is a tool to generate specification-like documents out of simple HTML.

Setting up ms2ger/anolis

hg clone http://bitbucket.org/ms2ger/anolis
cd anolis && sudo python setup.py install
  • install lxml using whatever package manager is appropriate for your OS/environment; for example, one of the following:
sudo easy_install lxml
sudo port install py27-lxml
sudo apt-get install python-lxml
  • install html5lib:
hg clone https://code.google.com/p/html5lib
cd html5lib/python && sudo python setup.py install