canvas-lms/doc/yard_plugins
Wagner Gonçalves 74238bfb96 fix editor guard and availability
Unify EDITOR_CONTENTS_GUARD and EDITOR_SELECTION_GUARD into EDITOR_GUARD
and add the correct availability to these variables in the expansion
plugin.

closes INTEROP-6679
flags=none

test-plan:
* after runing the  script/generate_lti_variable_substitution_markdown
  the doc/api/tools_variable_substitutions.md file should not be changed.
* generate the doc api again rake doc:api
* access the doc api documentation (http://canvas.docker/doc/api/) and
  check if availability of the variables com.instructure.Editor.contents
  and com.instructure.Editor.selection are correct;

Change-Id: Ib0a28a5c66f226f967139712799120290e4db4e7
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/262250
QA-Review: Robin Kuss <rkuss@instructure.com>
Reviewed-by: Xander Moffatt <xmoffatt@instructure.com>
Product-Review: Wagner Goncalves <wagner.goncalves@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
2021-04-05 17:35:35 +00:00
..
lti_variable_expansion_plugin.rb fix editor guard and availability 2021-04-05 17:35:35 +00:00