Skip to content

Commit 25c53a4

Browse files
committed
Move out of submodule into hugo module
Add go deps Move into hugo.yaml Additional changes to preserve same UI Signed-off-by: encalada <[email protected]>
1 parent 9fdc894 commit 25c53a4

File tree

8 files changed

+224
-201
lines changed

8 files changed

+224
-201
lines changed

Gemfile.lock

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ GEM
44
asciidoctor (2.0.17)
55

66
PLATFORMS
7+
universal-darwin-23
78
x86_64-linux
89

910
DEPENDENCIES

Makefile

+8-10
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ all: build
33

44
.PHONY: build
55
build: clean ## build the site
6-
hugo -t docsy --minify
6+
hugo -F --minify
77

88
.PHONY: build-preview
99
build-preview: clean ## build a preview, with future-dated content allowed.
10-
hugo -t docsy -F --minify
10+
hugo -F --minify
1111

1212
.PHONY: clean
1313
clean: ## clean the build assets
@@ -17,15 +17,17 @@ clean: ## clean the build assets
1717
install: ## install dependencies
1818
bundle
1919
npm install
20+
hugo mod get
21+
hugo mod graph
22+
hugo mod get github.com/google/docsy
2023

2124
.PHONY: netlify
22-
netlify: submodule-init ## build the site for Netlify
23-
git submodule update --init --recursive --depth 1
25+
netlify:
2426
$(MAKE) install
2527
$(MAKE) build
2628

2729
.PHONY: netlify-preview
28-
netlify-preview: submodule-init ## build a preview of the site for Netlify
30+
netlify-preview: ## build a preview of the site for Netlify
2931
$(MAKE) install
3032
$(MAKE) build-preview
3133

@@ -35,8 +37,4 @@ serve: ## serve the content locally for testing
3537

3638
.PHONY: serve-preview
3739
serve-preview: ## serve the preview content locally for testing
38-
hugo -t docsy server -F
39-
40-
.PHONY: submodule-init
41-
submodule-init:
42-
git submodule update --init --recursive --depth 1
40+
hugo -t docsy server -F

config.toml

-189
This file was deleted.

go.mod

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module github.com/shipwright-io/website
2+
3+
go 1.22.6
4+
5+
require github.com/google/docsy v0.10.0 // indirect

go.sum

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
github.com/FortAwesome/Font-Awesome v0.0.0-20240402185447-c0f460dca7f7/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo=
2+
github.com/google/docsy v0.10.0 h1:6tMDacPwAyRWNCfvsn/9qGOZDQ8b0aRzjRZvnZPY5dg=
3+
github.com/google/docsy v0.10.0/go.mod h1:c0nIAqmRTOuJ01F85U/wJPQtc3Zj9N58Kea9bOT2AJc=
4+
github.com/twbs/bootstrap v5.3.3+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=

0 commit comments

Comments
 (0)