Skip to content
This repository was archived by the owner on Dec 16, 2025. It is now read-only.

Commit d27904a

Browse files
committed
Add documentation hugo site
1 parent 0a0530d commit d27904a

235 files changed

Lines changed: 35804 additions & 1051 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,10 @@ build-dir
5656
# do not ignore .copr
5757

5858
todo.txt
59+
60+
docs/public
61+
deploy_docs.sh
62+
package-lock.json
63+
64+
# Local Netlify folder
65+
.netlify

Makefile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ vendor: deps
2727
debug:
2828
DEBUG=1 go run main.go
2929

30+
.PHONY: build
3031
build:
3132
go build -ldflags "-X github.com/miguelmota/cointop/cointop.version=$(VERSION)" -o bin/cointop main.go
3233

@@ -59,6 +60,16 @@ clean:
5960
go clean && \
6061
rm -rf bin/
6162

63+
.PHONY: docs
64+
docs:
65+
(cd docs && hugo)
66+
67+
docs-server:
68+
(cd docs && hugo serve -p 8080)
69+
70+
docs-deploy: docs
71+
netlify deploy --prod
72+
6273
test:
6374
go test ./...
6475

0 commit comments

Comments
 (0)