Skip to content

Commit

Permalink
docs: stableize tools versioning
Browse files Browse the repository at this point in the history
Ensure that the site generation tools are
up to date and match versions.

Signed-off-by: Tim Jones <tim.jones@siderolabs.com>
  • Loading branch information
TimJones committed Apr 8, 2022
1 parent f2d2267 commit da0e638
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit da0e638

Please sign in to comment.