Skip to content

Conversation

@katara-Jayprakash
Copy link

@katara-Jayprakash katara-Jayprakash commented Dec 17, 2025

in this pr I update the Hugo version to latest but the pr is still under working I am getting some problems mainly home, about , why volcano content is not showing

  • Please check if the PR fulfills these requirements
  • The commit message follows our guidelines
  • What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

- Update HUGO_VERSION in netlify.toml for all build contexts
- Migrate BlackFriday to Goldmark markdown renderer
- Update pagination config to new format

Signed-off-by: katara-Jayprakash <[email protected]>
- Remove leading zeros from dateday values (07 -> 7, 01 -> 1, 08 -> 8)
- Fix malformed URL with asterisks in Volcano-1.11.0-release.md

Signed-off-by: katara-Jayprakash <[email protected]>
Signed-off-by: katara-Jayprakash <[email protected]>
@volcano-sh-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign kevin-wangzefeng for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Details 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

@volcano-sh-bot
Copy link
Collaborator

Welcome @katara-Jayprakash! It looks like this is your first PR to volcano-sh/website 🎉

@volcano-sh-bot volcano-sh-bot added the size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. label Dec 17, 2025
@gemini-code-assist
Copy link

Summary of Changes

Hello @katara-Jayprakash, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request focuses on a significant upgrade of the Hugo static site generator to its latest version, 0.152.2. This update necessitates a series of compatibility changes across the website's configuration and theme files, including a migration to the Goldmark markdown renderer and adjustments to various template functions. The author notes that the PR is still in progress, with some content display issues yet to be resolved, indicating the complexity of adapting the site to the new Hugo environment.

Highlights

  • Hugo Version Update: The Hugo static site generator has been updated from version 0.57.2 to 0.152.2, requiring various configuration and template adjustments for compatibility with the latest features and deprecations.
  • Markdown Renderer Migration: The site's markdown rendering has been migrated from the deprecated Blackfriday engine to Goldmark, including new configurations for unsafe HTML and attribute parsing.
  • Configuration and Template Modernization: Several configuration files and layout templates have been updated to align with modern Hugo practices, such as changes to pagination settings, Google Analytics integration, Disqus comments, and RSS feed generation.
  • Content Formatting Improvements: Numerous content markdown files, particularly in the English and Chinese blogs, received minor formatting adjustments to improve readability, including consistent spacing, blank lines, and numerical date formatting.
  • New Dynamic Sidebar: A new dynamic sidebar navigation (docs_sidebar.html) has been introduced, featuring JavaScript functionality to toggle sub-menus for improved documentation browsing.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@katara-Jayprakash
Copy link
Author

@JesseStutler sorry for raising the pr so late I was busy in my universityexam

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates Hugo to a much newer version, which is a significant undertaking. The changes correctly address many breaking changes in Hugo, such as the pagination and markdown renderer configuration. However, I've found several critical issues that are likely contributing to the problems you're seeing, and may cause other parts of the site to break. These include critical bugs in a new JavaScript sidebar, and broken formatting in several markdown files which makes the documentation unusable. My review provides specific suggestions to fix these issues. Addressing them should help in getting the site to build and display correctly.

Comment on lines 35 to 38
```html
# mkdir -p $GOPATH/src/volcano.sh/
# cd $GOPATH/src/volcano.sh/
# git clone https://github.com/volcano-sh/volcano.git
# mkdir -p $GOPATH/src/volcano.sh/ # cd $GOPATH/src/volcano.sh/ # git clone
https://github.com/volcano-sh/volcano.git
```

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

The commands in this code block have been merged into a single line, which makes them incorrect and not copy-paste friendly for users. Each command should be on its own line. This issue appears in other code blocks in this file as well.

Suggested change
```html
# mkdir -p $GOPATH/src/volcano.sh/
# cd $GOPATH/src/volcano.sh/
# git clone https://github.com/volcano-sh/volcano.git
# mkdir -p $GOPATH/src/volcano.sh/ # cd $GOPATH/src/volcano.sh/ # git clone
https://github.com/volcano-sh/volcano.git
```
# mkdir -p $GOPATH/src/volcano.sh/
# cd $GOPATH/src/volcano.sh/
# git clone https://github.com/volcano-sh/volcano.git

Comment on lines 44 to 50
```html
cd $GOPATH/src/volcano.sh/volcano
make images
## Verify your images
# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
volcanosh/vk-admission latest a83338506638 8 seconds ago 41.4MB
volcanosh/vk-scheduler latest faa3c2a25ac3 9 seconds ago 49.6MB
volcanosh/vk-controllers latest 7b11606ebfb8 10 seconds ago 44.2MB
cd $GOPATH/src/volcano.sh/volcano make images ## Verify your images # docker
images REPOSITORY TAG IMAGE ID CREATED SIZE volcanosh/vk-admission latest
a83338506638 8 seconds ago 41.4MB volcanosh/vk-scheduler latest faa3c2a25ac3 9
seconds ago 49.6MB volcanosh/vk-controllers latest 7b11606ebfb8 10 seconds ago
44.2MB
```

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

This code block is broken due to incorrect line breaks. The commands and the output are jumbled together, making it unreadable and incorrect. Please restore the original line breaks for clarity and correctness.

Suggested change
```html
cd $GOPATH/src/volcano.sh/volcano
make images
## Verify your images
# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
volcanosh/vk-admission latest a83338506638 8 seconds ago 41.4MB
volcanosh/vk-scheduler latest faa3c2a25ac3 9 seconds ago 49.6MB
volcanosh/vk-controllers latest 7b11606ebfb8 10 seconds ago 44.2MB
cd $GOPATH/src/volcano.sh/volcano make images ## Verify your images # docker
images REPOSITORY TAG IMAGE ID CREATED SIZE volcanosh/vk-admission latest
a83338506638 8 seconds ago 41.4MB volcanosh/vk-scheduler latest faa3c2a25ac3 9
seconds ago 49.6MB volcanosh/vk-controllers latest 7b11606ebfb8 10 seconds ago
44.2MB
```
cd $GOPATH/src/volcano.sh/volcano
make images
## Verify your images
# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
volcanosh/vk-admission latest a83338506638 8 seconds ago 41.4MB
volcanosh/vk-scheduler latest faa3c2a25ac3 9 seconds ago 49.6MB
volcanosh/vk-controllers latest 7b11606ebfb8 10 seconds ago 44.2MB

Comment on lines 53 to 57
```html
# mkdir -p $GOPATH/src/github.com/kubernetes-sigs/
# cd $GOPATH/src/github.com/kubernetes-sigs/
# git clone https://github.com/kubernetes-sigs/kube-batch
# mkdir -p $GOPATH/src/github.com/kubernetes-sigs/ # cd
$GOPATH/src/github.com/kubernetes-sigs/ # git clone
https://github.com/kubernetes-sigs/kube-batch
```

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

The commands in this code block have been merged onto a few lines, which is incorrect. Please place each command on a new line. This formatting issue is present throughout the file and makes the tutorial difficult to follow.

Suggested change
```html
# mkdir -p $GOPATH/src/github.com/kubernetes-sigs/
# cd $GOPATH/src/github.com/kubernetes-sigs/
# git clone https://github.com/kubernetes-sigs/kube-batch
# mkdir -p $GOPATH/src/github.com/kubernetes-sigs/ # cd
$GOPATH/src/github.com/kubernetes-sigs/ # git clone
https://github.com/kubernetes-sigs/kube-batch
```
# mkdir -p $GOPATH/src/github.com/kubernetes-sigs/
# cd $GOPATH/src/github.com/kubernetes-sigs/
# git clone https://github.com/kubernetes-sigs/kube-batch

Comment on lines 84 to 92
```html
apiVersion: batch/v1
kind: Job
metadata:
name: qj-1
spec:
backoffLimit: 6
completions: 6
parallelism: 6
template:
metadata:
annotations:
scheduling.k8s.io/group-name: qj-1
spec:
containers:
- image: busybox
imagePullPolicy: IfNotPresent
name: busybox
resources:
requests:
cpu: "1"
restartPolicy: Never
schedulerName: kube-batch
---
apiVersion: scheduling.incubator.k8s.io/v1alpha1
kind: PodGroup
metadata:
name: qj-1
spec:
minMember: 6
apiVersion: batch/v1 kind: Job metadata: name: qj-1 spec: backoffLimit: 6
completions: 6 parallelism: 6 template: metadata: annotations:
scheduling.k8s.io/group-name: qj-1 spec: containers: - image: busybox
imagePullPolicy: IfNotPresent name: busybox resources: requests: cpu: "1"
restartPolicy: Never schedulerName: kube-batch --- apiVersion:
scheduling.incubator.k8s.io/v1alpha1 kind: PodGroup metadata: name: qj-1 spec:
minMember: 6
```

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

This YAML configuration is completely broken due to incorrect formatting. The newlines have been removed, making it invalid YAML. Please restore the correct structure with proper indentation.

apiVersion: batch/v1
kind: Job
metadata:
  name: qj-1
spec:
  backoffLimit: 6
  completions: 6
  parallelism: 6
  template:
    metadata:
      annotations:
        scheduling.k8s.io/group-name: qj-1
    spec:
      containers:
      - image: busybox
        imagePullPolicy: IfNotPresent
        name: busybox
        resources:
          requests:
            cpu: "1"
      restartPolicy: Never
      schedulerName: kube-batch
---
apiVersion: scheduling.incubator.k8s.io/v1alpha1
kind: PodGroup
metadata:
  name: qj-1
spec:
  minMember: 6

[markup]
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true # Allow HTML in markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Enabling unsafe = true in Goldmark allows raw HTML in Markdown files. While this can be useful, it can also introduce security vulnerabilities (like Cross-Site Scripting) if the content is not fully trusted. Since this is a project website, the content is likely controlled, but it's a good practice to avoid this if possible and use shortcodes for complex HTML instead.

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@volcano-sh-bot volcano-sh-bot added the do-not-merge/invalid-commit-message Indicates that a PR should not merge because it has an invalid commit message. label Dec 20, 2025
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@volcano-sh-bot
Copy link
Collaborator

Keywords which can automatically close issues and at(@) or hashtag(#) mentions are not allowed in commit messages.

The list of commits with invalid commit messages:

  • 42c88ac Update layouts/partials/docs_sidebar.html
  • 5ffad48 updated-layout-file
Details

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. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge/invalid-commit-message Indicates that a PR should not merge because it has an invalid commit message. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants