Skip to content

fix: add language tags to code blocks in vastai sharing guide#211

Open
mesutoezdil wants to merge 1 commit intoProject-HAMi:masterfrom
mesutoezdil:fix/vastai-code-block-language-tags
Open

fix: add language tags to code blocks in vastai sharing guide#211
mesutoezdil wants to merge 1 commit intoProject-HAMi:masterfrom
mesutoezdil:fix/vastai-code-block-language-tags

Conversation

@mesutoezdil
Copy link
Copy Markdown
Contributor

@mesutoezdil mesutoezdil commented Apr 24, 2026

Four code blocks in the Vastai sharing documentation were opened with bare triple backticks, so they rendered without syntax highlighting. This PR adds the correct language identifiers.

Changes

  • Line 21: kubectl command → tagged as bash
  • Line 29: Full Card Mode manifest → tagged as yaml
  • Line 123: Die Mode manifest → tagged as yaml
  • Line 217: Pod example → tagged as yaml

Affected file: docs/userguide/vastai/enable-vastai-sharing.md

The rest of the device guides (iluvatar, mthreads, enflame, metax, etc.) consistently declare languages on their code blocks. Without the tag, Docusaurus skips syntax highlighting, which makes the YAML manifests harder to read and copy.

Four code blocks in the Vastai sharing documentation were opened with bare
triple backticks, causing them to render without syntax highlighting. Added
appropriate language identifiers: 'bash' for the kubectl label command and
'yaml' for the three Kubernetes manifest examples (Full Card Mode, Die Mode,
and the Pod example).

This brings the file in line with the rest of the device guides where code
blocks consistently declare their language.

Signed-off-by: Mesut Oezdil <versusfinem@gmail.com>
@hami-robot
Copy link
Copy Markdown
Contributor

hami-robot Bot commented Apr 24, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: mesutoezdil
Once this PR has been reviewed and has the lgtm label, please assign windsonsea 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

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 24, 2026

Deploy Preview for project-hami ready!

Name Link
🔨 Latest commit 78d53d4
🔍 Latest deploy log https://app.netlify.com/projects/project-hami/deploys/69eb7a9f1e54c500083d27de
😎 Deploy Preview https://deploy-preview-211--project-hami.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@hami-robot hami-robot Bot added the size/XS label Apr 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant