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
(Setting up Anolis with cross-specification cross-references)
(added instructions for installing lxml and html5lib)
Line 9: Line 9:
 
* Install http://bitbucket.org/ms2ger/anolis:
 
* Install http://bitbucket.org/ms2ger/anolis:
 
  hg clone http://bitbucket.org/ms2ger/anolis
 
  hg clone http://bitbucket.org/ms2ger/anolis
  sudo python setup.py install
+
  cd anolis && sudo python setup.py install
* install lxml and html5lib (actual install commands to be defined/tested/verified)
+
* 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
 
* In the directory where you have your specification clone https://bitbucket.org/ms2ger/specification-data as "data"
 
* 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
 
  cd /mirror/hg/dvcs.w3.org/fullscreen/ # or wherever your spec is locally

Revision as of 01:00, 31 May 2012

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

Setting up Anolis with cross-specification cross-references

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
cd /mirror/hg/dvcs.w3.org/fullscreen/ # or wherever your spec is locally
hg clone https://bitbucket.org/ms2ger/specification-data data