comparison tests/test-hgweb-json.t @ 24591:517f3e190a5d

json: implement {help} template We should consider add HTML rendering of the RST into the response as a follow-up. I attempted to do this, but there was an empty array returned by the rstdoc() template function. Not sure what's going on. Will deal with it later.
author Gregory Szorc <gregory.szorc@gmail.com>
date Wed, 01 Apr 2015 22:24:03 -0700
parents 0bb733dfcabe
children 2f43f8cf8219
comparison
equal deleted inserted replaced
24590:0bb733dfcabe 24591:517f3e190a5d
1001 help/{topic} shows an individual help topic 1001 help/{topic} shows an individual help topic
1002 1002
1003 $ request json-help/phases 1003 $ request json-help/phases
1004 200 Script output follows 1004 200 Script output follows
1005 1005
1006 "not yet implemented" 1006 {
1007 "rawdoc": "Working with Phases\n*", (glob)
1008 "topic": "phases"
1009 }