fix tables in Markdown documentation
Categories
(Firefox :: Messaging System, task, P1)
Tracking
()
People
(Reporter: dmosedale, Assigned: andreio)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: regression)
Attachments
(1 file, 1 obsolete file)
Our Markdown documentation has a number of files with tables in them (eg data_dictionary.md). The markdown parser used by mach doc doesn't support tables, so they currently show up broken on firefox-source-docs.mozilla.org.
The workaround for people who to view them currently is simply to give them a link to the source files in searchfox, but that's awfully ugly.
It would be nice if they rendered correctly. I've set this to currently depend on another bug which swaps out recommonmark in mach doc for a fork called sphinx-markdown-parser. However, if that turns out to be too much work, we could try another strategy, eg using eval_rst to embed rst tables in the Markdown or converting the tables to raw HTML, as suggested in https://github.com/readthedocs/recommonmark/issues/103
Updated•5 years ago
|
| Assignee | ||
Comment 1•5 years ago
|
||
dmose, ./mach doc doesn't seem to support html (converting the table from md table format to html table) or eval_rst.
Should we swap .md for .rst instead? Tested it out and any "online md to rst" tool does a decent job. Tables still won't work they need to be done manually.
| Reporter | ||
Comment 2•5 years ago
|
||
searchfox suggests that eval_rst does seem to work in at least one other place in the tree. I verified, and https://firefox-source-docs.mozilla.org/toolkit/components/glean/index.html looks good, and if you click the "view source" link", it shows that some of the stuff you see is built from eval_rst.
| Reporter | ||
Comment 3•5 years ago
•
|
||
eval_rst examples in web-platform-tests seem to be working, such as https://firefox-source-docs.mozilla.org/web-platform/index.html
| Assignee | ||
Comment 4•5 years ago
|
||
| Assignee | ||
Comment 5•5 years ago
|
||
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Comment 7•5 years ago
|
||
| bugherder | ||
Comment 8•5 years ago
|
||
Since the status are different for nightly and release, what's the status for beta?
For more information, please visit auto_nag documentation.
Updated•5 years ago
|
Updated•4 years ago
|
Description
•