Skip to content
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

Make it compatible with Hugo 0.55 #13680

Merged
merged 1 commit into from
Apr 9, 2019
Merged

Conversation

bep
Copy link
Contributor

@bep bep commented Apr 8, 2019

This commit adds two backwards compatible changes to prepare for the next Hugo version, most notable:

  • All the File methods on Page has been deprecated and will give a warning in the next Hugo version. Adjust this by changing .Dir to ´.File.Dir` and similar.
  • Version the capture shortcode to use the old behaviour for markdown rendering of shortcode inner content.

Note that there are several fixes in this version of Hugo that makes it worth-while for this site, esp. one bugfix re. merging of languages.

This commit adds two backwards compatible changes to prepare for the next Hugo version, most notable:

* All the `File` methods on `Page` has been deprecated and will give a warning in the next Hugo version. Adjust this by changing `.Dir` to ´.File.Dir` and similar.
* Version the capture shortcode to use the old behaviour for markdown rendering of shortcode inner content.
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Apr 8, 2019
@k8s-ci-robot k8s-ci-robot added the sig/docs Categorizes an issue or PR as relevant to SIG Docs. label Apr 8, 2019
@netlify
Copy link

netlify bot commented Apr 8, 2019

Deploy preview for kubernetes-io-master-staging ready!

Built with commit a1a37db

https://deploy-preview-13680--kubernetes-io-master-staging.netlify.com

@tengqm
Copy link
Contributor

tengqm commented Apr 9, 2019

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 9, 2019
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: tengqm

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 9, 2019
@k8s-ci-robot k8s-ci-robot merged commit b51bdc8 into kubernetes:master Apr 9, 2019
zacharysarah pushed a commit to zacharysarah/website that referenced this pull request Aug 30, 2019
This commit adds two backwards compatible changes to prepare for the next Hugo version, most notable:

* All the `File` methods on `Page` has been deprecated and will give a warning in the next Hugo version. Adjust this by changing `.Dir` to ´.File.Dir` and similar.
* Version the capture shortcode to use the old behaviour for markdown rendering of shortcode inner content.
k8s-ci-robot pushed a commit that referenced this pull request Oct 2, 2019
* lower case url

Invoke site param as a string

Invoke site param as text

Remove leading dot

Invoke as a page variable

Tweak the page param invocation

lower case

Update Hugo version to 0.57.2

* Make it compatible with Hugo 0.55 (#13680)

This commit adds two backwards compatible changes to prepare for the next Hugo version, most notable:

* All the `File` methods on `Page` has been deprecated and will give a warning in the next Hugo version. Adjust this by changing `.Dir` to ´.File.Dir` and similar.
* Version the capture shortcode to use the old behaviour for markdown rendering of shortcode inner content.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. sig/docs Categorizes an issue or PR as relevant to SIG Docs. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants