-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CI:DOCS] Fix markdown tables on docs.podman.io #8335
[CI:DOCS] Fix markdown tables on docs.podman.io #8335
Conversation
LGTM |
@Luap99 do you have a way we can see results? |
PS that's not to say I don't believe it'll work, I'm just a careful reviewer who likes to be thorough. Nice work, thank you! |
Install the dependencies
Build the site
Watch the result
|
@Luap99 Thanks for putting this together. I saw your comment about sphinx in the issue, but didn't quickly see where to drop the changes in our site. I speak HTML (and being a weird InDUHvidual) prefer it to MD, so the other change was quick and took the middle man out for me. However if this works, I'm very happy to take it as clonking @edsantiago 's verification script alone was not good. |
FWIW, I'd to do the following to get the dependencies setup.
|
but then the build failed in my sandbox.... |
Needs a rebase. |
Sphinx with recommonmark cannot render markdown tables at all. There is a python package called `sphinx-markdown-tables` which adds the markdown table support to recommonmark. https://pypi.org/project/sphinx-markdown-tables/ By utilising this package we don't have to change our doc format. Signed-off-by: Paul Holzinger <[email protected]>
94a8216
to
80b613d
Compare
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Luap99, rhatdan The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Fixes: #8317 |
/lgtm |
@Luap99 this did fix the table structure thanks! |
@TomSweeneyRedHat I assume by "home page" you mean https://podman.io/ ? (I see a "Join Community" button there in a purple box). If so, can you paste a screen shot and perhaps describe your browser? On my setup (Firefox) I can't get the "Join Community" text to spill out of the purple box no matter how narrow I make my browser window. (Snapshot below). But before spending more time on this, let's please all make sure we're talking about the same URL. |
@edsantiago yes, that's the page, podman.io. So I think at this point it was just some kind of cache issue with Firefox at the time, so just ignore it, and sorry for the fire drill! |
Sphinx with recommonmark cannot render markdown tables at all.
There is a python package called
sphinx-markdown-tables
whichadds the markdown table support to recommonmark.
https://pypi.org/project/sphinx-markdown-tables/
By utilising this package we don't have to change our doc format.
Signed-off-by: Paul Holzinger [email protected]