canvas-lms/doc
Jozsef Kercso 15ed413621 Fix generation of Markdown formatted Appendix
The HTML appendix generated by the yard-appendix plugin contains
HTML tags that cannot be rendered correctly by the Markdown
renderer. This patch set fixes the rendering of the appendices by
generating Markdown format components instead of HTML.

refs: SAS-3699

How to generate the docs in Markdown format?
Run this command from a Canvas box:
`OUTPUT_FORMAT=markdown rake doc:api`
The generated documentation will be available in `public/doc/api_md`.

Tests executed:
- Backward compatibility: I regenerated the documentation in HTML format
and compared each file with the output from an original documentation.
Only the timestamps in the footer differed; everything else was the same.
- Content parity: I compared the content of each generated Markdown file
with its "twin brother" HTML file. While there are differences in look and
feel, the content is consistent. This is how it looks like in Markdown
format:
https://inst.gitbook.io/sandbox-instructure-developer-portal/0hk9uatQ63bsQYSzZzF2/services/api

Note:
The change does not influence in any way the HTML formatted
Canvas Documentation or the way is generated.

Change-Id: Ie545effcee651a23b69b22723bfcb4ddfb319515
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/358068
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Tucker Mcknight <tmcknight@instructure.com>
QA-Review: Tucker Mcknight <tmcknight@instructure.com>
Product-Review: Jozsef Kercso <jozsef.kercso@instructure.com>
2024-09-24 18:07:48 +00:00
..
api Fix generation of Markdown formatted Appendix 2024-09-24 18:07:48 +00:00
diagrams
docker remove Cassandra support for page views 2024-06-05 15:15:34 +00:00
examples
images remove analytics_hub from external docs 2024-09-20 18:10:52 +00:00
lti_manual Add AnalyticsHub Placement to LIME 2024-09-20 17:08:49 +00:00
openapi/lti spec: Add openapi docs for lti/developer_keys endpoint 2024-01-03 23:31:54 +00:00
styleguide Remove broken/obsolete content from styleguide 2020-05-15 17:47:09 +00:00
yard_plugins Use a Group's Course for LTI var expansions 2024-07-31 23:28:41 +00:00
DEPRECATION.md api docs: add deprecation functionality + documentation 2018-08-16 18:27:55 +00:00
GraphQL Validation Errors.md graphql: add CreateGroupInSet mutation 2018-11-14 00:49:29 +00:00
detect_n_plus_one_queries.md add prosopite n+1 query detection 2023-03-29 22:34:20 +00:00
high_level.txt
js_code_coverage.md fix JS job sanity around COVERAGE var 2021-01-27 16:24:14 +00:00
live_events.md Support NQ Embedded Quiz Assets 2023-10-19 18:23:45 +00:00
profiling_ruby.md speed up pulsar tests 2021-10-05 20:35:26 +00:00
testing_javascript.md updated .coffee-related comments 2023-04-20 17:39:28 +00:00
testing_with_selenium.md tweak doc/testing_with_selenium.md 2023-04-24 16:14:46 +00:00
trace_database_queries.md tweak AR_QUERY_TRACE options 2021-11-19 22:14:42 +00:00
using_guard_rail_in_development.md Bump switchman 2022-03-21 16:05:30 +00:00
working_with_webpack.md remove prior screenreader gradebook 2024-09-09 15:57:32 +00:00