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:
parent
f2d2267e74
commit
da0e638f04
8
Makefile
8
Makefile
@ -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
|
||||
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user