From: David G. <go...@py...> - 2004-11-12 14:19:51
|
[cj...@sy...] > In the .../site-packages/tools directory, I have the following > command: > ... # buildhtml.py ../docs ../docs You only need to specify "../docs" once. Try that. > and get the response below. I tried the same thing in the archive > directory, with a similar response. ... [lots of errors like this:] > /// Processing directory: ../docs > ::: Processing: index.txt > ../docs/index.txt:0: (ERROR/3) Document empty; must have contents. *Are* these documents empty? Perhaps the text encoding or line endings have been altered. How did you install Docutils? From what source? Where are all the parts installed? Do you have multiple copies installed? Is PYTHONPATH set? To what? > How do I convert the basic .txt stuff to HTML? Use buildhtml.py to convert a directory full of .txt files. Use rst2html.py to convert one at a time. See <http://docutils.sf.net/docs/user/tools.html>. > Would it be possible to build this into the distutils activity? Yes, it's possible. If and when depends on volunteers. Care to contribute? > Is it intended that the docultils package will be available as a > Debian package later? It is available now: apt-get install python-docutils Current version is 0.3.3 in testing, and 0.3.5 in unstable. Note that the current CVS code is 0.3.6, with more features and fewer bugs (IMHO) than releases. -- David Goodger <http://python.net/~goodger> |