Sphinx: Warning is raised for valid tags

Created on 25 Aug 2016  路  4Comments  路  Source: sphinx-doc/sphinx

I have it for .. todo::, which is valid rst, handled by conf.py.
Nothing terrible, but it pollutes the output.
Thanks.

extensions question

Most helpful comment

Did you enable the todo extension?
It seems todo extension is not activated.

You need to add sphinx.ext.todo into extensions in your conf.py for enabling.

extensions = ['sphinx.ext.todo']

All 4 comments

Could you tell me your problem in detail?
How do you mark up todo directives in your docs?
What warning did you see?
And what version of sphinx do you use?

This is an example:

.. todo:: do this

which results in:

ERROR: Unknown directive type "todo".

Sphinx v1.4.6

Thanks

Did you enable the todo extension?
It seems todo extension is not activated.

You need to add sphinx.ext.todo into extensions in your conf.py for enabling.

extensions = ['sphinx.ext.todo']

/me stupid, sorry for the noise

Was this page helpful?
0 / 5 - 0 ratings

Related issues

samweisgamdschie picture samweisgamdschie  路  3Comments

shimizukawa picture shimizukawa  路  3Comments

MichiK picture MichiK  路  3Comments

ubershmekel picture ubershmekel  路  3Comments

shimizukawa picture shimizukawa  路  3Comments