Docutils rst2html.py gives <Error/3> Unknown Directive type "toctree"

Calvin Cheng calvin.cheng at od-eon.com
Thu Jun 19 17:19:51 EDT 2008


Hi,

I am attempting to convert a bunch of .txt files into html using the
docutils package.

It works for most of the txt files except for the index.txt file which
gives 2 errors:
(1) <Error/3> Unknown Directive type "toctree"
(2) (ERROR/3) Unknown interpreted text role "ref".

Any idea how I can fix this?

Would be glad if someone who is familiar with docutils could point me
in the right direction.

Thank you,
Calvin



More information about the Python-list mailing list