Skip to content

Commit c0f0c75

Browse files
publish updates from main (#23013)
Automated pull request for publishing docs updates. --------- Co-authored-by: Arthur <[email protected]>
1 parent 5f304af commit c0f0c75

File tree

8 files changed

+25
-22
lines changed

8 files changed

+25
-22
lines changed

assets/css/components.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,6 @@
110110
}
111111

112112
.tab-item {
113-
@apply inline-block rounded-sm px-3 py-2 hover:bg-gray-100 dark:hover:bg-gray-900;
113+
@apply inline-block rounded-t-sm px-3 py-2 hover:bg-gray-100 dark:hover:bg-gray-900;
114114
@apply dark:text-gray-200;
115115
}

assets/css/global.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ input[type="search"]::-ms-clear {
4949
margin-bottom: 0.4em !important;
5050
}
5151
> h2 {
52-
@apply mt-5! mb-3!;
52+
@apply mt-7! mb-3!;
5353
font-size: 160% !important;
5454
a {
5555
@apply hover:no-underline!;

assets/css/utilities.css

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,3 @@
1-
@utility icon-svg {
2-
svg {
3-
font-size: 24px;
4-
width: 1em;
5-
height: 1em;
6-
display: inline-block;
7-
fill: currentColor;
8-
}
9-
}
10-
111
@utility icon-xs {
122
svg {
133
font-size: 12px;
@@ -91,6 +81,15 @@
9181
fill: currentColor;
9282
}
9383
}
84+
@utility icon-svg-stroke {
85+
svg {
86+
font-size: 24px;
87+
width: 1em;
88+
height: 1em;
89+
display: inline-block;
90+
stroke: currentColor;
91+
}
92+
}
9493

9594
@utility icon-xs {
9695
svg {
@@ -257,3 +256,7 @@
257256
@utility pagination-link {
258257
@apply flex items-center justify-center rounded-sm p-2;
259258
}
259+
260+
@utility breadcrumbs {
261+
font-size: 90%;
262+
}

content/manuals/ai/compose/models-and-compose.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Define AI Models in Docker Compose applications
33
linkTitle: Use AI models in Compose
44
description: Learn how to define and use AI models in Docker Compose applications using the models top-level element
55
keywords: compose, docker compose, models, ai, machine learning, cloud providers, specification
6-
alias:
6+
aliases:
77
- /compose/how-tos/model-runner/
88
- /ai/compose/model-runner/
99
weight: 10
@@ -68,14 +68,14 @@ models:
6868
```
6969

7070
Common configuration options include:
71-
- `model` (required): The OCI artifact identifier for the model. This is what Compose pulls and runs via the model runner.
71+
- `model` (required): The OCI artifact identifier for the model. This is what Compose pulls and runs via the model runner.
7272
- `context_size`: Defines the maximum token context size for the model.
73-
73+
7474
> [!NOTE]
7575
> Each model has its own maximum context size. When increasing the context length,
7676
> consider your hardware constraints. In general, try to keep context size
7777
> as small as feasible for your specific needs.
78-
78+
7979
- `runtime_flags`: A list of raw command-line flags passed to the inference engine when the model is started.
8080
For example, if you use llama.cpp, you can pass any of [the available parameters](https://github.com/ggml-org/llama.cpp/blob/master/tools/server/README.md).
8181
- Platform-specific options may also be available via extension attributes `x-*`
@@ -172,7 +172,7 @@ Docker Model Runner will:
172172
>
173173
> This approach is deprecated. Use the [`models` top-level element](#basic-model-definition) instead.
174174

175-
You can also use the `provider` service type, which allows you to declare platform capabilities required by your application.
175+
You can also use the `provider` service type, which allows you to declare platform capabilities required by your application.
176176
For AI models, you can use the `model` type to declare model dependencies.
177177

178178
To define a model provider:

layouts/partials/breadcrumbs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
id="breadcrumbs"
33
{{- $breadcrumbTitles := slice }}
44
data-pagefind-ignore
5-
class="mb-4 flex min-w-0 items-center gap-2 text-gray-400 dark:text-gray-300"
5+
class="breadcrumbs mb-4 flex min-w-0 items-center gap-2 text-gray-400 dark:text-gray-300"
66
>
77
{{ range .Ancestors.Reverse }}
88
{{ $breadcrumbTitles = $breadcrumbTitles | append .LinkTitle }}

layouts/partials/content-default.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ <h1 data-pagefind-weight="10">{{ .Title }}</h1>
1313
</div>
1414
{{ .Content }}
1515
</article>
16-
<div class="-mt-8 -mr-8 hidden min-w-52 flex-1 lg:block">
16+
<div class="-mt-8 -mr-20 hidden min-w-48 flex-1 lg:block">
1717
{{ partial "aside.html" . }}
1818
</div>
1919
</div>

layouts/partials/github-links.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
{{ with .File }}
88
{{ if not (in .Filename "/_vendor/") }}
99
<p class="flex items-center gap-1">
10-
<span class="icon-svg icon-sm">
10+
<span class="icon-svg-stroke icon-sm">
1111
{{ partial "utils/svg.html" "theme/icons/edit.svg" }}
1212
</span>
1313
<a class="link" rel="noopener"
@@ -16,7 +16,7 @@
1616
{{ end }}
1717
{{ end }}
1818
<p class="flex items-center gap-1">
19-
<span class="icon-svg icon-sm">
19+
<span class="icon-svg-stroke icon-sm">
2020
{{ partial "utils/svg.html" "theme/icons/issue.svg" }}
2121
</span>
2222
<a class="link" rel="noopener"

layouts/partials/md-dropdown.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<details id="markdownDropdown" class="group relative z-10 inline-block" data-heap-id="markdown-dropdown">
1+
<details id="markdownDropdown" class="ml-3 group relative z-10 inline-block" data-heap-id="markdown-dropdown">
22
<summary
33
class="inline-flex cursor-pointer items-center gap-0 rounded-sm border border-gray-600 bg-white py-1 pl-2
44
text-base font-semibold text-gray-600 transition-colors hover:bg-gray-50 dark:border-gray-50 dark:bg-gray-950 dark:text-gray-100 dark:hover:bg-gray-900"

0 commit comments

Comments
 (0)