Skip to content

Conversation

titaneric
Copy link
Contributor

@titaneric titaneric commented Oct 5, 2025

Summary

When I previewed the docs for #23935 , I noticed that there is some rendering error for null and []. Also, I found that there is a similar issue reported in #23860 . I try to fix them by isset Hugo function.

Vector configuration

How did you test this PR?

cd website
make quick-build
make serve

Root metadata path's returning result

image

remove VRL function example
image

split_path example in #23935
image

Change Type

  • Bug fix
  • New feature
  • Non-functional (chore, refactoring, docs)
  • Performance

Is this a breaking change?

  • Yes
  • No

Does this PR include user facing changes?

  • Yes. Please add a changelog fragment based on our guidelines.
  • No. A maintainer will apply the no-changelog label to this PR.

References

Closes: #23860

Notes

  • Please read our Vector contributor resources.
  • Do not hesitate to use @vectordotdev/vector to reach out to us regarding this PR.
  • Some CI checks run only after we manually approve them.
    • We recommend adding a pre-push hook, please see this template.
    • Alternatively, we recommend running the following locally before pushing to the remote branch:
      • make fmt
      • make check-clippy (if there are failures it's possible some of them can be fixed with make clippy-fix)
      • make test
  • After a review is requested, please avoid force pushes to help us review incrementally.
    • Feel free to push as many commits as you want. They will be squashed into one before merging.
    • For example, you can run git merge origin master and git push.
  • If this PR introduces changes Vector dependencies (modifies Cargo.lock), please
    run make build-licenses to regenerate the license inventory and commit the changes (if any). More details here.

@titaneric titaneric requested review from a team as code owners October 5, 2025 18:03
@titaneric titaneric changed the title docs(vrl): fix empty object rendering by isset docs(external docs): fix empty object rendering by isset Oct 5, 2025
@titaneric titaneric changed the title docs(external docs): fix empty object rendering by isset docs(external docs): fix empty collection rendering by isset Oct 5, 2025
@pront pront added domain: external docs Anything related to Vector's external, public documentation no-changelog Changes in this PR do not need user-facing explanations in the release changelog labels Oct 6, 2025
@pront pront enabled auto-merge October 6, 2025 13:31
Copy link
Member

@pront pront left a comment

Choose a reason for hiding this comment

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

Thanks!

@pront pront added this pull request to the merge queue Oct 6, 2025
Merged via the queue into vectordotdev:master with commit deab79c Oct 6, 2025
47 of 48 checks passed
pront pushed a commit that referenced this pull request Oct 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

domain: external docs Anything related to Vector's external, public documentation no-changelog Changes in this PR do not need user-facing explanations in the release changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Possible minor documentation error in VRL expressions "Root metadata path"

2 participants