Skip to content

Conversation

@hmellor
Copy link
Member

@hmellor hmellor commented Aug 25, 2025

  • Gets the title for the example using the first line of the README.md in the case of multi-file examples
  • Skip the title when README.md is included as a snippet in the generated example docs page

Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
@mergify mergify bot added the documentation Improvements or additions to documentation label Aug 25, 2025
Copy link
Contributor

@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 aims to improve how titles for multi-file examples are generated for the documentation. The changes correctly extract the title from the first line of a markdown file and adjust the content inclusion to avoid duplicating the title. My review includes one high-severity suggestion to improve the robustness of file handling by specifying the encoding, which will prevent potential issues on different operating systems.

@vllm-bot vllm-bot merged commit bfc1edc into vllm-project:main Aug 26, 2025
12 of 14 checks passed
@hmellor hmellor deleted the fix-multi-file-example-titles branch August 26, 2025 07:47
tc-mb pushed a commit to tc-mb/vllm that referenced this pull request Aug 27, 2025
…cs (vllm-project#23573)

Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: tc-mb <caitianchi@modelbest.cn>
epwalsh pushed a commit to epwalsh/vllm that referenced this pull request Aug 28, 2025
…cs (vllm-project#23573)

Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
xiao-llm pushed a commit to xiao-llm/vllm that referenced this pull request Aug 28, 2025
…cs (vllm-project#23573)

Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: Xiao Yu <xiao.yu@amd.com>
zhewenl pushed a commit to zhewenl/vllm that referenced this pull request Aug 28, 2025
…cs (vllm-project#23573)

Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
zhewenl pushed a commit to zhewenl/vllm that referenced this pull request Sep 3, 2025
…cs (vllm-project#23573)

Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
FeiDaLI pushed a commit to FeiDaLI/vllm that referenced this pull request Sep 25, 2025
…cs (vllm-project#23573)

Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants