Skip to content

Commit 07458a5

Browse files
[Doc] Update README links, mark external links (#18635)
Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
1 parent c1e4a40 commit 07458a5

File tree

2 files changed

+23
-3
lines changed

2 files changed

+23
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<p align="center">
22
<picture>
3-
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/vllm-project/vllm/main/docs/source/assets/logos/vllm-logo-text-dark.png">
4-
<img alt="vLLM" src="https://raw.githubusercontent.com/vllm-project/vllm/main/docs/source/assets/logos/vllm-logo-text-light.png" width=55%>
3+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/vllm-project/vllm/main/docs/assets/logos/vllm-logo-text-dark.png">
4+
<img alt="vLLM" src="https://raw.githubusercontent.com/vllm-project/vllm/main/docs/assets/logos/vllm-logo-text-light.png" width=55%>
55
</picture>
66
</p>
77

@@ -107,7 +107,7 @@ Please check out [Contributing to vLLM](https://docs.vllm.ai/en/stable/contribut
107107
vLLM is a community project. Our compute resources for development and testing are supported by the following organizations. Thank you for your support!
108108

109109
<!-- Note: Please sort them in alphabetical order. -->
110-
<!-- Note: Please keep these consistent with docs/source/community/sponsors.md -->
110+
<!-- Note: Please keep these consistent with docs/community/sponsors.md -->
111111
Cash Donations:
112112
- a16z
113113
- Dropbox

docs/mkdocs/stylesheets/extra.css

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,24 @@
1+
/* Warning for latest docs */
12
.md-banner {
23
background-color: var(--md-warning-bg-color);
34
color: var(--md-warning-fg-color);
45
}
6+
7+
/* https://christianoliff.com/blog/styling-external-links-with-an-icon-in-css/ */
8+
a:not(:has(svg)):not(.md-icon) {
9+
align-items: center;
10+
11+
&[href^="//"]::after,
12+
&[href^="http://"]::after,
13+
&[href^="https://"]::after {
14+
content: "";
15+
width: 12px;
16+
height: 12px;
17+
margin-left: 4px;
18+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' stroke='gray' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M8.636 3.5a.5.5 0 0 0-.5-.5H1.5A1.5 1.5 0 0 0 0 4.5v10A1.5 1.5 0 0 0 1.5 16h10a1.5 1.5 0 0 0 1.5-1.5V7.864a.5.5 0 0 0-1 0V14.5a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h6.636a.5.5 0 0 0 .5-.5z'/%3E%3Cpath fill-rule='evenodd' d='M16 .5a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0 0 1h3.793L6.146 9.146a.5.5 0 1 0 .708.708L15 1.707V5.5a.5.5 0 0 0 1 0v-5z'/%3E%3C/svg%3E");
19+
background-position: center;
20+
background-repeat: no-repeat;
21+
background-size: contain;
22+
display: inline-block;
23+
}
24+
}

0 commit comments

Comments
 (0)