cybersonic / luceedocs

Documentation website and generator for Lucee Server
2 stars 3 forks source link

'Prettifying' all exported JSON files to make maintenance easier #21

Closed DominicWatson closed 9 years ago

DominicWatson commented 9 years ago

Making code edits and seeing your changes in a diff view is a bit of a PITA when the json is compressed.

In this edit, I have added a little function to the export (taken from here http://ketanjetty.com/coldfusion/javascript/format-json/) that formats the json with new lines and indentation.

cybersonic commented 9 years ago

I have merged this into the develop branch. Couldn't do it automatically

DominicWatson commented 9 years ago

Curious, I think I saw another PR that was also changing the import cfm file, individually they could probably have been auto merged. But not both.

cybersonic commented 9 years ago

Yeah, it wasn't too bad, no worries.