Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 15 additions & 21 deletions docs/assets/stylesheets/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -1272,37 +1272,30 @@ html .md-footer-meta.md-typeset a:is(:focus,:hover) {
padding-right: 22px;
}

.md-tabs__item:nth-child(1) {
.md-tabs__item:nth-child(1), .md-tabs__item:nth-child(4) {
display: none;
}

/* .md-tabs__item:nth-child(5):after {
content: url('data:image/svg+xml,<svg fill="black" xmlns="http://www.w3.org/2000/svg" width="20px" height="20px" viewBox="0 0 16 16"><polygon points="5 4.31 5 5.69 9.33 5.69 2.51 12.51 3.49 13.49 10.31 6.67 10.31 11 11.69 11 11.69 4.31 5 4.31" data-v-e1bdab2c=""></polygon></svg>');
line-height: 14px;
margin-left: 4px;
position: relative;
top: 16px;
margin-right: -7px;
} */

/*.md-tabs__item:nth-child(6) {

.md-tabs__item:nth-child(7) {
margin-left: auto;
padding-right: 0.8rem;
padding-right: 0.5rem;
}

.md-tabs__item:nth-child(n+6) .md-tabs__link {
.md-tabs__item:nth-child(n+7) .md-tabs__link {
visibility: hidden;
width: 35px;
display: inline-block;
margin-top: 10px;
margin-top: 12px;
}

.md-tabs__item:nth-child(n+6) .md-tabs__link:before {
.md-tabs__item:nth-child(n+7) .md-tabs__link:before {
width: 38px;
height: 38px;
margin-top: 4px;
visibility: visible;
}*/
}

/* .twemoji.external {
position: relative;
Expand All @@ -1320,27 +1313,28 @@ html .md-footer-meta.md-typeset a:is(:focus,:hover) {
margin-right: -7px;
} */

/*.md-tabs__item:nth-child(6) .md-tabs__link:before {
.md-tabs__item:nth-child(7) .md-tabs__link:before {
position: relative;
content: '';
width: 37px;
height: 31px;
width: 34px;
height: 28px;
display: inline-block;
-webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><!--! Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2024 Fonticons, Inc.--><path d="M524.531 69.836a1.5 1.5 0 0 0-.764-.7A485 485 0 0 0 404.081 32.03a1.82 1.82 0 0 0-1.923.91 338 338 0 0 0-14.9 30.6 447.9 447.9 0 0 0-134.426 0 310 310 0 0 0-15.135-30.6 1.89 1.89 0 0 0-1.924-.91 483.7 483.7 0 0 0-119.688 37.107 1.7 1.7 0 0 0-.788.676C39.068 183.651 18.186 294.69 28.43 404.354a2.02 2.02 0 0 0 .765 1.375 487.7 487.7 0 0 0 146.825 74.189 1.9 1.9 0 0 0 2.063-.676A348 348 0 0 0 208.12 430.4a1.86 1.86 0 0 0-1.019-2.588 321 321 0 0 1-45.868-21.853 1.885 1.885 0 0 1-.185-3.126 251 251 0 0 0 9.109-7.137 1.82 1.82 0 0 1 1.9-.256c96.229 43.917 200.41 43.917 295.5 0a1.81 1.81 0 0 1 1.924.233 235 235 0 0 0 9.132 7.16 1.884 1.884 0 0 1-.162 3.126 301.4 301.4 0 0 1-45.89 21.83 1.875 1.875 0 0 0-1 2.611 391 391 0 0 0 30.014 48.815 1.86 1.86 0 0 0 2.063.7A486 486 0 0 0 610.7 405.729a1.88 1.88 0 0 0 .765-1.352c12.264-126.783-20.532-236.912-86.934-334.541M222.491 337.58c-28.972 0-52.844-26.587-52.844-59.239s23.409-59.241 52.844-59.241c29.665 0 53.306 26.82 52.843 59.239 0 32.654-23.41 59.241-52.843 59.241m195.38 0c-28.971 0-52.843-26.587-52.843-59.239s23.409-59.241 52.843-59.241c29.667 0 53.307 26.82 52.844 59.239 0 32.654-23.177 59.241-52.844 59.241"></path></svg>') no-repeat 50% 50%;
mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><!--! Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2024 Fonticons, Inc.--><path d="M524.531 69.836a1.5 1.5 0 0 0-.764-.7A485 485 0 0 0 404.081 32.03a1.82 1.82 0 0 0-1.923.91 338 338 0 0 0-14.9 30.6 447.9 447.9 0 0 0-134.426 0 310 310 0 0 0-15.135-30.6 1.89 1.89 0 0 0-1.924-.91 483.7 483.7 0 0 0-119.688 37.107 1.7 1.7 0 0 0-.788.676C39.068 183.651 18.186 294.69 28.43 404.354a2.02 2.02 0 0 0 .765 1.375 487.7 487.7 0 0 0 146.825 74.189 1.9 1.9 0 0 0 2.063-.676A348 348 0 0 0 208.12 430.4a1.86 1.86 0 0 0-1.019-2.588 321 321 0 0 1-45.868-21.853 1.885 1.885 0 0 1-.185-3.126 251 251 0 0 0 9.109-7.137 1.82 1.82 0 0 1 1.9-.256c96.229 43.917 200.41 43.917 295.5 0a1.81 1.81 0 0 1 1.924.233 235 235 0 0 0 9.132 7.16 1.884 1.884 0 0 1-.162 3.126 301.4 301.4 0 0 1-45.89 21.83 1.875 1.875 0 0 0-1 2.611 391 391 0 0 0 30.014 48.815 1.86 1.86 0 0 0 2.063.7A486 486 0 0 0 610.7 405.729a1.88 1.88 0 0 0 .765-1.352c12.264-126.783-20.532-236.912-86.934-334.541M222.491 337.58c-28.972 0-52.844-26.587-52.844-59.239s23.409-59.241 52.844-59.241c29.665 0 53.306 26.82 52.843 59.239 0 32.654-23.41 59.241-52.843 59.241m195.38 0c-28.971 0-52.843-26.587-52.843-59.239s23.409-59.241 52.843-59.241c29.667 0 53.307 26.82 52.844 59.239 0 32.654-23.177 59.241-52.844 59.241"></path></svg>') no-repeat 50% 50%;
-webkit-mask-size: cover;
mask-size: cover;
background: -webkit-linear-gradient(45deg, #0048ff, #ce00ff);
background-color: rgba(0,0,0,0.87);
/* background: -webkit-linear-gradient(45deg, #0048ff, #ce00ff); */
margin-top: 1px;
}*/
}

.md-tabs__link {
display: flex;
align-items: center;
}

.md-tabs__link {
font-size: 0.85rem;
font-size: 0.88rem;
font-weight: 500;
color: rgba(0,0,0,0.87);
/*letter-spacing: -0.5px;*/
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/stylesheets/landing.css
Original file line number Diff line number Diff line change
Expand Up @@ -1135,7 +1135,7 @@
}

@media screen and (max-width: 44.984375em) {
.md-header__buttons .md-button:before, .md-header__buttons .md-button:after {
.md-header__buttons .md-button:not(.github):before, .md-header__buttons .md-button:not(.github):after {
display: none !important;
}

Expand Down
15 changes: 13 additions & 2 deletions docs/overrides/header-2.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,19 @@
{% endif %}-->

<div class="md-header__buttons">
<a href="https://github.com/dstackai/dstack" target="_blank" class="md-button md-button--primary github">GitHub</a>
<a href="https://sky.dstack.ai" target="_blank" class="md-button md-button--primary sky">dstack Sky</a>
<a id="gh-star-link" href="https://github.com/dstackai/dstack" target="_blank" class="md-button md-button--primary github external-skip">GitHub</a>
<script>
fetch("https://api.github.com/repos/dstackai/dstack")
.then(r => r.json())
.then(data => {
if (data.stargazers_count) {
document.getElementById("gh-star-link").textContent =
data.stargazers_count.toLocaleString("en-US");
}
})
.catch(() => {});
</script>
<a href="https://sky.dstack.ai" target="_blank" class="md-button md-button--primary sky external-skip">dstack Sky</a>
</div>
</nav>
{% if "navigation.tabs.sticky" in features %}
Expand Down
6 changes: 3 additions & 3 deletions docs/overrides/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ <h1 class="glitch" data-text="Open-source GPU-native orchestration">Open-source
<a href="/docs/installation" target="_blank"
class="md-button md-button--primary"
style="min-width: 225px; margin-right: 10px">
<span>Get started</span>
<span class="icon"><svg viewBox="0 0 13 10" xmlns="http://www.w3.org/2000/svg"><path d="M12.823 4.164L8.954.182a.592.592 0 0 0-.854 0 .635.635 0 0 0 0 .88l2.836 2.92H.604A.614.614 0 0 0 0 4.604c0 .344.27.622.604.622h10.332L8.1 8.146a.635.635 0 0 0 0 .88.594.594 0 0 0 .854 0l3.869-3.982a.635.635 0 0 0 0-.88z" fill-rule="nonzero" fill="currentColor" class="fill-main"></path></svg></span>
<span>Install open-source</span>
<!-- <span class="icon"><svg viewBox="0 0 13 10" xmlns="http://www.w3.org/2000/svg"><path d="M12.823 4.164L8.954.182a.592.592 0 0 0-.854 0 .635.635 0 0 0 0 .88l2.836 2.92H.604A.614.614 0 0 0 0 4.604c0 .344.27.622.604.622h10.332L8.1 8.146a.635.635 0 0 0 0 .88.594.594 0 0 0 .854 0l3.869-3.982a.635.635 0 0 0 0-.88z" fill-rule="nonzero" fill="currentColor" class="fill-main"></path></svg></span> -->
</a>

<a href="/docs/" target="_blank"
Expand Down Expand Up @@ -585,7 +585,7 @@ <h2>Get started in minutes</h2>
class="md-button md-button--primary"
style="margin-right: 10px">
<span>Quickstart</span>
<span class="icon"><svg viewBox="0 0 13 10" xmlns="http://www.w3.org/2000/svg"><path d="M12.823 4.164L8.954.182a.592.592 0 0 0-.854 0 .635.635 0 0 0 0 .88l2.836 2.92H.604A.614.614 0 0 0 0 4.604c0 .344.27.622.604.622h10.332L8.1 8.146a.635.635 0 0 0 0 .88.594.594 0 0 0 .854 0l3.869-3.982a.635.635 0 0 0 0-.88z" fill-rule="nonzero" fill="currentColor" class="fill-main"></path></svg></span>
<!-- <span class="icon"><svg viewBox="0 0 13 10" xmlns="http://www.w3.org/2000/svg"><path d="M12.823 4.164L8.954.182a.592.592 0 0 0-.854 0 .635.635 0 0 0 0 .88l2.836 2.92H.604A.614.614 0 0 0 0 4.604c0 .344.27.622.604.622h10.332L8.1 8.146a.635.635 0 0 0 0 .88.594.594 0 0 0 .854 0l3.869-3.982a.635.635 0 0 0 0-.88z" fill-rule="nonzero" fill="currentColor" class="fill-main"></path></svg></span> -->
</a>

<a href="/docs/installation" target="_blank"
Expand Down
6 changes: 3 additions & 3 deletions docs/overrides/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,7 @@
{% endblock %}

{% block announce %}
Support dstack with a ⭐ on
<a href="https://github.com/dstackai/dstack" target="_blank">GitHub</a>
Services now support native <a href="https://dstack.ai/blog/pd-disaggregation/" target="_blank">Prefill-Decode disaggregation</a>
{% endblock %}

{% block footer %}
Expand Down Expand Up @@ -154,7 +153,7 @@

<div class="tx-footer__section">
<div class="tx-footer__section-title">Community</div>
<a href="https://discord.gg/u8SmfwPpMd" target="_blank" class="tx-footer__section-link external">Discord</a>
<a href="https://discord.gg/u8SmfwPpMd" target="_blank" class="tx-footer__section-link external">Join Discord</a>
<a href="https://github.com/dstackai/dstack" target="_blank" class="tx-footer__section-link external">GitHub</a>
</div>

Expand All @@ -164,6 +163,7 @@
<!-- <a href="/partners" class="tx-footer__section-link">Partners</a> -->
<a href="/terms" class="tx-footer__section-link">Terms</a>
<a href="/privacy" class="tx-footer__section-link">Privacy</a>
<a href="/blog" class="tx-footer__section-link">Blog</a>
<!--<a href="https://dstackai.notion.site/Jobs-at-dstack-ff01a450c3174904b70c36124f2d8f4b" target="_blank" class="tx-footer__section-link external">Careers</a>-->
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ nav:
- blog/index.md
- Case studies: blog/case-studies.md
- Benchmarks: blog/benchmarks.md
# - Discord: https://discord.gg/u8SmfwPpMd" target="_blank
- Discord: https://discord.gg/u8SmfwPpMd" target="_blank
# - Changelog: https://github.com/dstackai/dstack/releases" target="_blank
# - GitHub: https://github.com/dstackai/dstack" target="_blank
# - Sign in: https://sky.dstack.ai" target="_blank