Skip to content

Commit 3dac6a1

Browse files
committed
Mention mix hex.search
1 parent c04bf1c commit 3dac6a1

File tree

1 file changed

+19
-7
lines changed

1 file changed

+19
-7
lines changed

src/hexdocs/view/home.gleam

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ pub fn home(model: Model) {
122122
"text-gray-700 dark:text-gray-100 text-xl font-semibold leading-loose",
123123
),
124124
],
125-
[html.text("To search specific packages")],
125+
[html.text("List which packages to search")],
126126
),
127127
html.span(
128128
[
@@ -139,11 +139,7 @@ pub fn home(model: Model) {
139139
class("text-gray-600 dark:text-gray-200"),
140140
],
141141
[
142-
html.text(
143-
" to scope your search to one or more packages.",
144-
),
145-
html.br([]),
146-
html.text("Use "),
142+
html.text(" to select a package, "),
147143
],
148144
),
149145
html.span(
@@ -154,7 +150,23 @@ pub fn home(model: Model) {
154150
[
155151
class("text-gray-600 dark:text-gray-200"),
156152
],
157-
[html.text(" to pick a specific version.")],
153+
[
154+
html.text(" to pick a version"),
155+
html.br([]),
156+
html.text("Run "),
157+
],
158+
),
159+
html.span(
160+
[class("bg-black px-0.5 text-gray-50 font-mono rounded")],
161+
[html.text("mix hex.search")],
162+
),
163+
html.span(
164+
[attribute.class("text-gray-600 dark:text-gray-200")],
165+
[
166+
html.text(
167+
" in your project to search across its dependencies",
168+
),
169+
],
158170
),
159171
]),
160172
html.div([attribute.class("mt-10")], [

0 commit comments

Comments
 (0)