Skip to content

Commit bf724a7

Browse files
aykevldeadprogram
authored andcommitted
Update to Docsy v0.10.0
This adds support for light/dark mode, which I've waited for for a while. (I wish we could just make it automatic without menu entry, but this is already better than nothing). There are a few small visual changes, which I think are generally an improvement: - Buttons are more square. - Links now have underscores, for accessibility reasons. - The ellipsis after "Read more..." on the home page is gone. - The copyright in the footer has changed slightly. I did a quick browse through the website and couldn't find any breaking changes.
1 parent 9f096aa commit bf724a7

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

config.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ breadcrumb_disable = false
5050
sidebar_search_disable = true
5151
# Set to false if you don't want to display a logo (/assets/icons/logo.svg) in the top nav bar
5252
navbar_logo = true
53-
# Set to true to disable the About link in the site footer
54-
footer_about_disable = false
5553
# Set the maximum number of menus to be displayed in the sidebar
5654
sidebar_menu_truncate = 1000
55+
# Show a menu to the left of the search menu to toggle light/dark mode (or set it to auto).
56+
showLightDarkModeMenu = true
5757

5858
[params.links]
5959
# End user relevant links. These will show up on left side of footer and in the community page if you have one.

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ module github.com/tinygo-org/tinygo-site
33
go 1.19
44

55
require (
6-
github.com/google/docsy v0.7.0 // indirect
6+
github.com/google/docsy v0.10.0 // indirect
77
github.com/google/docsy/dependencies v0.7.0 // indirect
88
)

go.sum

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
github.com/FortAwesome/Font-Awesome v0.0.0-20230327165841-0698449d50f2/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo=
2-
github.com/google/docsy v0.7.0 h1:JaeZ0/KufX/BJ3SyATb/fmZa1DFI7o5d9KU+i6+lLJY=
3-
github.com/google/docsy v0.7.0/go.mod h1:5WhIFchr5BfH6agjcInhpLRz7U7map0bcmKSpcrg6BE=
2+
github.com/FortAwesome/Font-Awesome v0.0.0-20240402185447-c0f460dca7f7/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo=
3+
github.com/google/docsy v0.10.0 h1:6tMDacPwAyRWNCfvsn/9qGOZDQ8b0aRzjRZvnZPY5dg=
4+
github.com/google/docsy v0.10.0/go.mod h1:c0nIAqmRTOuJ01F85U/wJPQtc3Zj9N58Kea9bOT2AJc=
45
github.com/google/docsy/dependencies v0.7.0 h1:/xUlWCZOSMDubHfrhIz1YtaRn2Oc/swfJ7OUfglXE8U=
56
github.com/google/docsy/dependencies v0.7.0/go.mod h1:gihhs5gmgeO+wuoay4FwOzob+jYJVyQbNaQOh788lD4=
67
github.com/twbs/bootstrap v5.2.3+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=
8+
github.com/twbs/bootstrap v5.3.3+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=

netlify.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66

77
# "production" environment specific build settings
88
[build.environment]
9-
HUGO_VERSION = "0.111.3"
9+
HUGO_VERSION = "0.125.4"
10+
GO_VERSION = "1.22.x" # any reasonably recent version
1011

1112
# "production" environment specific build settings
1213
[context.release.environment]

0 commit comments

Comments
 (0)