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 Chat (such as one of these permanent autoconfirmed members).
Anolis: Difference between revisions
Jump to navigation
Jump to search
(only mention Anolis specific instructions here) |
(→Setting up ms2ger/anolis: cssselect is also required.) |
||
Line 14: | Line 14: | ||
sudo port install py27-lxml | sudo port install py27-lxml | ||
sudo apt-get install python-lxml | sudo apt-get install python-lxml | ||
* install cssselect using whatever package manager is appropriate for your OS/environment; for example, one of the following: | |||
sudo easy_install cssselect | |||
sudo port install py27-cssselect | |||
sudo apt-get install python-cssselect | |||
* install html5lib: | * install html5lib: | ||
hg clone https://code.google.com/p/html5lib | hg clone https://code.google.com/p/html5lib |
Revision as of 14:30, 25 October 2012
Anolis is a tool to generate specification-like documents out of simple HTML.
- http://pimpmyspec.net/
- http://hg.hoppipolla.co.uk/ -- jgraham's work
- http://bitbucket.org/ms2ger/anolis -- used by most WHATWG standards, the latest version
Setting up ms2ger/anolis
- Install http://bitbucket.org/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 cssselect using whatever package manager is appropriate for your OS/environment; for example, one of the following:
sudo easy_install cssselect sudo port install py27-cssselect sudo apt-get install python-cssselect
- install html5lib:
hg clone https://code.google.com/p/html5lib cd html5lib/python && sudo python setup.py install