-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HINT: How to provide coloring in demo with failing tests in docs #270
Comments
Original comment by Ronny Pfannschmidt (BitBucket: RonnyPfannschmidt, GitHub: RonnyPfannschmidt): there was no sane way to integrate that into regendoc when we last checked, |
Closing as duplicate |
Do you have the id of the duplicate Ronny? It would be interesting to keep it as a reference |
I didn't know about sphinxcontrib-programoutput and sphinxcontrib-ansi, looks interesting. It seems like it could be used, but I think it would have to replace |
Thanks! 😄 |
These 2 options allow you to pass in regular expressions that determine whether files/directories are included or excluded in the recursive file search. Fixes pytest-dev#270
Originally reported by: BitBucket: jenisys, GitHub: jenisys
CONTEXT: docs
On page reportingdemo 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:
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
Look at my github project for the details (if this solution would be of interest for you).
The text was updated successfully, but these errors were encountered: