--- you can reply above this line ---

New issue 270: HINT: How to provide coloring in demo with failing tests in docs
https://bitbucket.org/hpk42/pytest/issue/270/hint-how-to-provide-coloring-in-demo-with

jenisys:

**CONTEXT:** docs

On page 
[reportingdemo](http://pytest.org/latest/example/reportingdemo.html#tbreportdemo)
 you write that you are working on the issue of providing coloring information. 
I had a similar problem with sphinx and solved it by using:

  * sphinxcontrib-programoutput
  * sphinxcontrib-ansi

I basically run the command (with ANSI mode enabled) while generating the docs.
This will capture the ANSI coloring escape sequences and convert it into HTML 
colors while generated HTML docs.

**DOCUMENTATION EXAMPLE** (of colored output):
[tutorial01.html#run-the-feature-test](http://jenisys.github.com/behave.example/tutorials/tutorial01.html#run-the-feature-test)
Look at my [github project](https://github.com/jenisys/behave.example) for the 
details (if this solution would be of interest for you).


--

This is an issue notification from bitbucket.org. You are receiving
this either because you are the owner of the issue, or you are
following the issue.
_______________________________________________
pytest-commit mailing list
pytest-commit@python.org
http://mail.python.org/mailman/listinfo/pytest-commit

Reply via email to