From 6c4ad8b783fb919b0c7cbbe559226ffeae2eca2c Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Sun, 10 Sep 2017 21:11:37 -0300 Subject: [PATCH] using the next branch --- Makefile | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0fac070f9..007564e7f 100644 --- a/Makefile +++ b/Makefile @@ -47,8 +47,22 @@ ci: test lint build: go build +HIGHLIGHT=https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0 + # Generate the static documentation static: - @static-docs -in docs -out ../goreleaser.github.io -title GoReleaser -subtitle "Deliver Go binaries as fast and easily as possible" + @static-docs \ + --in docs \ + --out ../goreleaser.github.io \ + --title GoReleaser \ + --subtitle "Deliver Go binaries as fast and easily as possible" \ + --google UA-106198408-1 \ + --script "$(HIGHLIGHT)/highlight.min.js" \ + --script "$(HIGHLIGHT)/languages/go.min.js" \ + --script "$(HIGHLIGHT)/languages/yaml.min.js" \ + --style "$(HIGHLIGHT)/styles/atom-one-dark.min.css" \ + --inline-script 'hljs.initHighlightingOnLoad();' \ + --inline-style 'pre { padding: 0; }' + .DEFAULT_GOAL := build