zendframework/zf2-documentation — pull request #143 by mikaelkael (2012-08-09 22:55:32+00:00)
Title: Remove json syntax highlighting for code block

To be able to render the json syntax highlighting you need at least Pygments 1.5.

Currently we have 1.4 for Ubuntu and with sphinx 1.1.3 it send a warning.

But with Debian it's pygments-1.3 and sphinx 0.6.6, and in this case it crashes:
```
writing output... [ 6%] modules/zend.config.reader
Exception occurred:
File "/usr/lib/pymodules/python2.6/pygments/lexers/__init__.py", line 80, in get_lexer_by_name
raise ClassNotFound('no lexer for alias %r found' % _alias)
ClassNotFound: no lexer for alias u'json' found
The full traceback has been saved in /tmp/sphinx-err-TvAy1D.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
Either send bugs to the mailing list at ,
or report them in the tracker at . Thanks!
make: *** [html] Erreur 1
```

As there are only 4 occurences in all the files, this commit replaces JSON by TEXT
@ping ezimuel