docs: stableize tools versioning

Ensure that the site generation tools are
up to date and match versions.

Signed-off-by: Tim Jones <tim.jones@siderolabs.com>
This commit is contained in:
Tim Jones 2022-04-08 15:04:31 +02:00
parent f2d2267e74
commit da0e638f04
No known key found for this signature in database
GPG Key ID: A2A702DD5B689F45
2 changed files with 8 additions and 4 deletions

View File

@ -187,8 +187,12 @@ docs: ## Generates the documentation for machine config, and talosctl.
@$(MAKE) local-$@ DEST=./ PLATFORM=linux/amd64
.PHONY: docs-preview
docs-preview: ## Starts a local preview of the documentation using Hugo
@hugo server -s website
docs-preview: ## Starts a local preview of the documentation using Hugo in docker
@docker run --rm --interactive --tty \
--volume $(PWD):/src --workdir /src/website \
--publish 1313:1313 \
klakegg/hugo:0.95.0-ext-alpine \
server
# Local Artifacts

View File

@ -3,5 +3,5 @@ command = "cd website && hugo --gc --minify"
publish = "website/public"
[build.environment]
HUGO_VERSION = "0.93.2"
NODE_VERSION = "12.21.0"
HUGO_VERSION = "0.95.0"
NODE_VERSION = "16.13.2"