canvas-lms/doc
Spencer Olson 3792afc12e api docs: add deprecation functionality + documentation
Adds the @deprecated_method, @deprecated_argument, and
@deprecated_response_field tags for API documentation. Also adds the
'deprecated', 'deprecation_notice', 'deprecation_effective', and
'deprecation_description' attributes for the API models and their
properties.

closes GRADE-1450

Test Plan:
1. Read the deprecation_README provided in this commit and verify you
   can deprecate methods, arguments, response fields, models, and
   model attributes. This verificiation process should include:
   - Verifying the `rake doc:api` command throws an error when invalid
     and/or missing parameters are used for the deprecation tags
   - Verifying the deprecations show up in the generated documentation
     (located at public/doc/api/index.html) after running
     `rake doc:api`.
2. Verify the @argument, @response_field, and @model tags still work
   and generate appropriate documentation when running `rake doc:api`

Change-Id: If6c2b0ee9fccbbd202990d8835c6266017e2dfa5
Reviewed-on: https://gerrit.instructure.com/138581
Reviewed-by: Gary Mei <gmei@instructure.com>
Reviewed-by: Derek Bender <djbender@instructure.com>
QA-Review: Gary Mei <gmei@instructure.com>
Tested-by: Jenkins
Product-Review: Simon Williams <simon@instructure.com>
2018-08-16 18:27:55 +00:00
..
api api docs: add deprecation functionality + documentation 2018-08-16 18:27:55 +00:00
diagrams API doc update for a group assignment override 2013-02-08 11:50:54 -07:00
docker Match services docker workflow. 2018-08-14 17:08:58 +00:00
examples Quiz Stats - Multiple Answers 2014-06-05 09:12:19 +00:00
images Store EULA agreement timestamp 2017-11-02 19:43:35 +00:00
styleguide s/jammit_css/css_bundle 2015-07-07 21:26:35 +00:00
yard_plugins Add copyright message to remaining .rb files 2018-03-19 13:38:50 +00:00
DEPRECATION.md api docs: add deprecation functionality + documentation 2018-08-16 18:27:55 +00:00
high_level.txt remove non-draft-state everything 2014-12-10 17:57:18 +00:00
js_code_coverage.md Add a way to generate better js coverage 2018-07-17 14:19:03 +00:00
live_events.md add quiz lti contract tests for live events 2018-04-10 14:20:18 +00:00
merging-gradezilla.md add late_policy controller/serializer 2017-04-26 19:09:55 +00:00
testing_javascript.md Add Jest for testing JavaScript 2017-12-14 22:08:09 +00:00
working_with_webpack.md require yarn, not npm 2017-08-14 15:27:14 +00:00