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

Calvin Cheng calvin.cheng at
Thu Jun 19 23:19:51 CEST 2008


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,

More information about the Python-list mailing list