camunda-bpm-platform
camunda-bpm-platform copied to clipboard
Considerations of Hugo updates
This issue was imported from JIRA:
Field | Value |
---|---|
JIRA Link | CAM-11265 |
Reporter | @yanavasileva |
Has restricted visibility comments | false |
Current Hugo version used in our CI: 54.0
List of versions of Hugo that might cause higher cost of migration efforts:
- v
61.0
:- warnings during the build of docs-manual:
Building sites ... WARN 2020/01/13 16:19:15 Page.Hugo is deprecated and will be removed in a future release. Use the global hugo function.
- issues with output:
- our tables of params and result in the Rest are not displayed (check screenshot (rest-attachment-61)) - http://localhost:1313/reference/rest/task/attachment/get-task-attachments/
- some of the json examples in the Rest are with black layout (check screenshot (rest-attachment-61)) - http://localhost:1313/reference/rest/task/attachment/get-task-attachments/
- (warnings during the build of blog: )
Building sites ... WARN 2020/01/13 16:47:10 Page.RSSLink is deprecated and will be removed in a future release. Use the Output Format's link, e.g. something like:
` with .OutputFormats.Get "RSS" `` .RelPermalink `` end `
WARN 2020/01/13 16:47:10 Page.Hugo is deprecated and will be removed in a future release. Use the global hugo function.
Links:
Issues with v.0.122.0
version:
Output snippet
ERROR render of "home" failed: "/xxx/camunda-docs-static/security/layouts/index.html:1:3": execute of template failed: template: index.html:1:3: executing "index.html" at <partial "header.html" .>: error calling partial: "/xxx/camunda-docs-static/security/themes/camunda/layouts/partials/header.html:31:46": execute of template failed: template: partials/header.html:31:46: executing "partials/header.html" at <.Hugo.Version>: can't evaluate field Hugo in type *hugolib.pageState
ERROR render of "page" failed: "/xxx/camunda-docs-static/security/themes/camunda/layouts/_default/single.html:1:3": execute of template failed: template: _default/single.html:1:3: executing "_default/single.html" at <partial "header.html" .>: error calling partial: "/xxx/camunda-docs-static/security/themes/camunda/layouts/partials/header.html:31:46": execute of template failed: template: partials/header.html:31:46: executing "partials/header.html" at <.Hugo.Version>: can't evaluate field Hugo in type *hugolib.pageState
Total in 56 ms
Error: error building site: render: failed to render pages: render of "page" failed: "/xxx/camunda-docs-static/security/themes/camunda/layouts/_default/single.html:1:3": execute of template failed: template: _default/single.html:1:3: executing "_default/single.html" at <partial "header.html" .>: error calling partial: "/xxx/camunda-docs-static/security/themes/camunda/layouts/partials/header.html:31:46": execute of template failed: template: partials/header.html:31:46: executing "partials/header.html" at <.Hugo.Version>: can't evaluate field Hugo in type *hugolib.pageState