Add documentation for the new webhook resource.
Review Request #7524 — Created July 14, 2015 and submitted — Latest diff uploaded
This change adds the pieces needed to generate docs for the new webhook
resource. Specifically, it adds new doc entries for webhook-list and webhook,
links in the index, and a fixture to auto-generate examples from.While I was doing this, I encountered lots of trouble because the types for the
apply_to
,encoding
, andtype
fields weren't correct (they were lists of
specific strings rather than just being a genericsix.text_type
). This was
causing the docs to fail to build in a cryptic way as thewebapi-resource
sphinx class tried to import "a.ll"
Build docs and looked at the results.
Diff Revision 1
This is not the most recent revision of the diff. The latest diff is revision 2. See what's changed.
docs/manual/fixtures/initial_data.json |
---|
docs/manual/webapi/2.0/resources/index.rst |
---|
docs/manual/webapi/2.0/resources/webhook.rst |
---|
docs/manual/webapi/2.0/resources/webhook-list.rst |
---|
reviewboard/webapi/resources/webhook.py |
---|