Skip to content

Commit 73ef6ef

Browse files
committed
Upgrade Docsy to v0.13.1-0.20260205235702-cec16119dd96, use anchor
1 parent 042a1db commit 73ef6ef

6 files changed

Lines changed: 22 additions & 23 deletions

File tree

content/en/_index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ description: Porridge temperature assessment — in the cloud!
1515

1616
<!-- prettier-ignore -->
1717
<div class="td-cta-buttons my-5">
18-
<button {{% _param btn-lg primary %}} href="docs/">
18+
<a {{% _param btn-lg primary %}} href="docs/">
1919
Learn More
2020
{{% _param FA solid arrow-alt-circle-right "" %}}
21-
</button>
22-
<button {{% _param btn-lg secondary %}}
21+
</a>
22+
<a {{% _param btn-lg secondary %}}
2323
href="{{ param github_url }}">
2424
Download
2525
{{% _param FA brands github "" %}}
26-
</button>
26+
</a>
2727
</div>
2828

2929
{{% blocks/link-down color="info" %}}

content/fa/_index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ description: ارزیابی درجه حرارت فرنی &mdash; در فضای
1616

1717
<!-- prettier-ignore -->
1818
<div class="td-cta-buttons my-5">
19-
<button {{% _param btn-lg primary %}} href="docs/">
19+
<a {{% _param btn-lg primary %}} href="docs/">
2020
بیشتر بخوانید
2121
{{% _param FA solid arrow-alt-circle-left "" %}}
22-
</button>
23-
<button {{% _param btn-lg secondary %}}
22+
</a>
23+
<a {{% _param btn-lg secondary %}}
2424
href="{{ param github_url }}">
2525
دانلود
2626
{{% _param FA brands github "" %}}
27-
</button>
27+
</a>
2828
</div>
2929

3030
{{% blocks/link-down color="info" %}}

content/no/_index.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ description: Vurdering av grøt-temperatur &mdash; i skyen!
1616

1717
<!-- prettier-ignore -->
1818
<div class="td-cta-buttons my-5">
19-
<button {{% _param btn-lg primary %}} href="docs/">
20-
Les mer
21-
{{% _param FA solid arrow-alt-circle-right "" %}}
22-
</button>
23-
<button {{% _param btn-lg secondary %}}
24-
href="{{ param github_url }}">
25-
Last ned
26-
{{% _param FA brands github "" %}}
27-
</button>
19+
<a {{% _param btn-lg primary %}} href="docs/">
20+
Les mer
21+
{{% _param FA solid arrow-alt-circle-right "" %}}
22+
</a>
23+
<a {{% _param btn-lg secondary %}}
24+
href="{{ param github_url }}">
25+
Last ned
26+
{{% _param FA brands github "" %}}
27+
</a>
2828
</div>
2929

3030
{{% blocks/link-down color="info" %}}

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ module github.com/google/docsy-example
22

33
go 1.12
44

5-
require github.com/google/docsy v0.13.1-0.20260205160058-5208380c07b7
5+
require github.com/google/docsy v0.13.1-0.20260205235702-cec16119dd96
66

77
// cSpell:ignore github docsy

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
github.com/FortAwesome/Font-Awesome v0.0.0-20241216213156-af620534bfc3 h1:/iluJkJiyTAdnqrw3Yi9rH2HNHhrrtCmj8VJe7I6o3w=
22
github.com/FortAwesome/Font-Awesome v0.0.0-20241216213156-af620534bfc3/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo=
3-
github.com/google/docsy v0.13.1-0.20260205160058-5208380c07b7 h1:dSe8IPmGYOP13S7tCe+6Mf5nXebP9Cnr5Bt7LeCfBDg=
4-
github.com/google/docsy v0.13.1-0.20260205160058-5208380c07b7/go.mod h1:1Fj1W1O3esZh7IBQ8XAYtxtg10udBXuGI89+LUQc1AU=
3+
github.com/google/docsy v0.13.1-0.20260205235702-cec16119dd96 h1:4NXmfLW5kDIJs2G/OwjRU3NtaGXDv2rJxk7vbVF7MQk=
4+
github.com/google/docsy v0.13.1-0.20260205235702-cec16119dd96/go.mod h1:1Fj1W1O3esZh7IBQ8XAYtxtg10udBXuGI89+LUQc1AU=
55
github.com/twbs/bootstrap v5.3.8+incompatible h1:eK1fsXP7R/FWFt+sSNmmvUH9usPocf240nWVw7Dh02o=
66
github.com/twbs/bootstrap v5.3.8+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=

hugo.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,8 @@ params:
184184
readingtime:
185185
enable: false
186186
mainBranchPreviewURL: https://main--goldydocs.netlify.app/
187-
# Docs helpers
188-
btn: class="btn btn-{1} btn-{2}" type="button"
189-
btn-lg: class="btn btn-lg btn-{1}" type="button"
187+
# Docs helpers: use with _param
188+
btn-lg: class="btn btn-lg btn-{1}" role="button"
190189
FA: <i class="fa-{1} fa-{2} text-{3} px-1"></i>
191190

192191
links:

0 commit comments

Comments
 (0)