I had the same issue when writing my doxylink extension so I just looked
how the built-in errors were produced and copied that.
app.info('this is an info message')
app.warn('warning message')
Also you can make text bold etc using:
from sphinx.util.console import bold, standout
app.warn(bold('bold warning'))
If you want to prepare a patch for the plugin documentation, I'm sure it
would be appreciated.
Matt Williams
--
You received this message because you are subscribed to the Google Groups
"sphinx-dev" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/sphinx-dev/-/mi-8Tsl377sJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sphinx-dev?hl=en.