Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

#include .github/build/Makefile.show-help.mk
include .github/build/Makefile.show-help.mk

## Install academy-example dependencies on your local machine.
## See https://gohugo.io/categories/installation
Expand All @@ -31,9 +31,14 @@ clean:
hugo --cleanDestinationDir
make site

.PHONY: setup build site clean site-fast check-go
.PHONY: setup build site clean site-fast check-go academy-update

check-go:
@echo "Checking if Go is installed..."
@command -v go > /dev/null || (echo "Go is not installed. Please install it before proceeding."; exit 1)
@echo "Go is installed."

## Update the academy-theme package to latest version
academy-update:
hugo mod get -u

5 changes: 4 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ module github.com/layer5io/academy-example
go 1.12

require (
github.com/layer5io/academy-theme v0.1.5 // indirect
github.com/FortAwesome/Font-Awesome v0.0.0-20241216213156-af620534bfc3 // indirect
github.com/google/docsy v0.12.0 // indirect
github.com/layer5io/academy-theme v0.1.15 // indirect
github.com/layer5io/hugo-academy-theme v0.0.0-20250715053027-36f46b5c4741 // indirect
github.com/twbs/bootstrap v5.3.7+incompatible // indirect
)
8 changes: 7 additions & 1 deletion go.sum
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
github.com/FortAwesome/Font-Awesome v0.0.0-20241216213156-af620534bfc3 h1:/iluJkJiyTAdnqrw3Yi9rH2HNHhrrtCmj8VJe7I6o3w=
github.com/FortAwesome/Font-Awesome v0.0.0-20241216213156-af620534bfc3/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo=
github.com/google/docsy v0.12.0 h1:CddZKL39YyJzawr8GTVaakvcUTCJRAAYdz7W0qfZ2P4=
github.com/google/docsy v0.12.0/go.mod h1:1bioDqA493neyFesaTvQ9reV0V2vYy+xUAnlnz7+miM=
github.com/layer5io/academy-theme v0.1.2 h1:6t7CkMyyJImuxKdE70VB6+vCTuBWLd/YcGu1voUdp1k=
github.com/layer5io/academy-theme v0.1.2/go.mod h1:kAidN16xIX6Dx2TBz7y0u3DeU8UnfUcoQZ/rVogXN80=
github.com/layer5io/academy-theme v0.1.3 h1:n7LcoSV9Wd5CHp/UONzagAx1DNB8n9V0qKyOq0GjJX8=
github.com/layer5io/academy-theme v0.1.3/go.mod h1:kAidN16xIX6Dx2TBz7y0u3DeU8UnfUcoQZ/rVogXN80=
github.com/layer5io/academy-theme v0.1.5 h1:QroyZIVIqM9NS4Wy8+mTdS4l88uH5BKdHgf1laVWd3g=
github.com/layer5io/academy-theme v0.1.5/go.mod h1:kAidN16xIX6Dx2TBz7y0u3DeU8UnfUcoQZ/rVogXN80=
github.com/layer5io/academy-theme v0.1.15 h1:cDIOgNOM8qF6o4HVLnQnhyWBpTaaVvUz+ANJzwcTfLA=
github.com/layer5io/academy-theme v0.1.15/go.mod h1:kAidN16xIX6Dx2TBz7y0u3DeU8UnfUcoQZ/rVogXN80=
github.com/layer5io/hugo-academy-theme v0.0.0-20250715053027-36f46b5c4741 h1:ATysCRr0Rqm69xwYRRsg/uVcYW1MdV6AqinROKsg4BE=
github.com/layer5io/hugo-academy-theme v0.0.0-20250715053027-36f46b5c4741/go.mod h1:Kp2xgJUAqGztDN/j6T30ApwSaK1Yxs1IvrSgOoRFKnI=
github.com/twbs/bootstrap v5.3.6+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=
github.com/twbs/bootstrap v5.3.6+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=
github.com/twbs/bootstrap v5.3.7+incompatible h1:ea1W8TOWZFkqSK2M0McpgzLiUQVru3bz8aHb0j/XtuM=
github.com/twbs/bootstrap v5.3.7+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=