-
Notifications
You must be signed in to change notification settings - Fork 15k
change hugo version unsafe #19907
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
change hugo version unsafe #19907
Conversation
@jimangel: GitHub didn't allow me to request PR reviews from the following users: lucperkins. Note that only kubernetes members and repo collaborators can review this PR, and authors cannot review their own PRs. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
ac0cfab
to
35d147a
Compare
Deploy preview for kubernetes-io-master-staging ready! Built with commit fdb2318 https://deploy-preview-19907--kubernetes-io-master-staging.netlify.app |
@jimangel , Do you know if Hugo provides details about what Most of the kubeadm pages: A while ago, I investigated the use of multiple feature state shortcodes on a single page. https://kubernetes.io/docs/concepts/storage/persistent-volumes/#expanding-persistent-volume-claims A somewhat unrelated question, will the latest version of Hugo play well with the future docs theme? |
Great catch! Yea, this move is going to be tough...
There is a great overview in this comment: gohugoio/hugo#6581 (comment) We can also try to stick with blackfriday rendering - but I would really like us to transition to goldmark since there's been other formatting issues with blackfriday.
The theme change should mainly be CSS related but that is 100% something to consider as part of this upgrade. |
Adding in @bep's #19905 (comment):
|
🙌 👍 |
+1 on bumping the version. The issue related to nested lists is annoying. |
So, I looked at 1 example above: And I'm guessing that this is hit by the 4 character indendation = code/preformatted rule. GoldMark is CommonMark compliant, which is mostly a good thing ... You see it also when previewing in GitHub: https://github.com/kubernetes/website/edit/master/content/en/docs/reference/kubectl/kubectl.md Look how the HTML is greyed out ... This should be fixable with some script, though ... |
Hi. Thanks for the tip. This reference page (a component tool page) is generated. I gather that the page would render if the HTML table is formatted to the CommonMark spec? |
It would render if you use some other indentation than 4. So, 3 should be good... |
I just tested the rendering of the table with no indent HTML table elements. |
f699050
to
fdb2318
Compare
I've rebased and bumped Hugo up to latest (0.70). |
I like it! This seems great! I did some local tests and it works for me - I'll kick the tires a bit more tomorrow 👍🏼 /lgtm |
When reviewing, what should I look at / for? |
@jimangel I spotted that https://deploy-preview-19907--kubernetes-io-master-staging.netlify.app/docs/contribute/style/hugo-shortcodes/ doesn't render as expected. Not sure what the fix is there; thought I'd mention it. |
Essentially, the style guide previously suggested that tabs can contain raw HTML, and with CommonMark I suspect that they can't. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: zacharysarah 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 |
/hold cancel |
Ref: #19028
Ref: #19905
Umbrella issue for tracking problems here: #20335
More details captured here: #19028 (comment):
/cc @kbarnard10 @bradtopol @kbhawkey @sftim @lucperkins
/hold