Skip to content

Commit 1da9a90

Browse files
authored
Use docsy/theme from docsy 0.15.1-dev at main as part of TOF task (#458)
1 parent 4ea2c58 commit 1da9a90

5 files changed

Lines changed: 9 additions & 10 deletions

File tree

.cspell.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ caseSensitive: true
33
words:
44
- chalin
55
- docset
6-
- Docsy
6+
- docsy
77
- errorf
8+
- github
89
- gohugoio
910
- Goldydocs
1011
- pageinfo

go.mod

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

33
go 1.12
44

5-
require github.com/google/docsy v0.15.0
6-
7-
// cSpell:ignore github docsy
5+
require github.com/google/docsy/theme v0.0.0-20260527175607-e20fbd8fc5bf // indirect

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.15.0 h1:MNJ1nrE2ZuweXlUNaegTo/UbSKZJu+WMczahfZaxosI=
4-
github.com/google/docsy v0.15.0/go.mod h1:1Fj1W1O3esZh7IBQ8XAYtxtg10udBXuGI89+LUQc1AU=
3+
github.com/google/docsy/theme v0.0.0-20260527175607-e20fbd8fc5bf h1:aCSucoC+nE0Utovh230EHeXZNMgm0RkxfUaBKftvVSA=
4+
github.com/google/docsy/theme v0.0.0-20260527175607-e20fbd8fc5bf/go.mod h1:CGCFFJjc3PAYexPDsQqTbB3/lWnncwlwKLnSQkDaaF0=
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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,5 +249,5 @@ module:
249249
extended: true
250250
min: 0.157.0
251251
imports:
252-
- path: github.com/google/docsy
252+
- path: github.com/google/docsy/theme
253253
disable: false

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"_commit:public": "HASH=$(git rev-parse --short main); cd public && git add -A && git commit --allow-empty -m \"Site at $HASH\"",
1616
"_diff:check": "git diff --name-only --exit-code",
1717
"_fix:permissions": "chmod -R u+w public/* 2>/dev/null || true",
18-
"_get:docsy": "hugo mod get github.com/google/docsy@v$npm_package_version",
18+
"_get:docsy": "hugo mod get github.com/google/docsy/theme@v$npm_package_version",
1919
"_hugo-dev": "npm run _hugo -- -e dev --logLevel info -DFE",
2020
"_hugo": "hugo --cleanDestinationDir",
2121
"_local": "npx cross-env HUGO_MODULE_WORKSPACE=docsy.work",
@@ -43,8 +43,8 @@
4343
"test-and-fix": "npm run fix && npm run test-only",
4444
"test-only": "npm run check:links",
4545
"test": "npm run test-and-fix",
46-
"update:docsy:main": "hugo mod get -u github.com/google/docsy@main && hugo mod tidy",
47-
"update:docsy:mod": "hugo mod get -u github.com/google/docsy && hugo mod tidy",
46+
"update:docsy:main": "hugo mod get -u github.com/google/docsy/theme@main && hugo mod tidy",
47+
"update:docsy:mod": "hugo mod get -u github.com/google/docsy/theme && hugo mod tidy",
4848
"update:hugo": "npm install --save-dev --save-exact hugo-extended@latest",
4949
"update:main": "npm run update:packages && npm run update:docsy:main",
5050
"update:packages:not-hugo": "npm run update:packages -- -x hugo-extended",

0 commit comments

Comments
 (0)