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

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion _vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# github.com/chef/compliance-remediation-2022/docs-chef-io v0.0.0-20250722151854-d8ff5d004f5a
# github.com/chef/license-service/docs-chef-io v0.0.0-20250120051510-ae1de80f4621
# github.com/chef/samples v0.0.0-20250424163637-3393187e624c
# github.com/chef/chef-docs-theme v0.0.0-20250730214645-a9e9a891bf29
# github.com/chef/chef-docs-theme v0.0.0-20250808212116-563fde1a25bc
# github.com/FortAwesome/Font-Awesome v0.0.0-20240108205627-a1232e345536
# github.com/cowboy/jquery-hashchange v0.0.0-20100902193700-0310f3847f90
# github.com/twitter/hogan.js v3.0.2+incompatible
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.23

require (
github.com/chef/automate/components/docs-chef-io v0.0.0-20250617123043-e9e3b2463824 // indirect
github.com/chef/chef-docs-theme v0.0.0-20250730214645-a9e9a891bf29 // indirect
github.com/chef/chef-docs-theme v0.0.0-20250808212116-563fde1a25bc // indirect
github.com/chef/chef-server/docs-chef-io v0.0.0-20250414141619-a0fb7ff68e94 // indirect
github.com/chef/chef-workstation/docs-chef-io v0.0.0-20250718131033-13973a5c0863 // indirect
github.com/chef/compliance-profiles/docs-chef-io v0.0.0-20250722110428-aefe0c6afb6a // indirect
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
github.com/chef/automate/components/docs-chef-io v0.0.0-20250617123043-e9e3b2463824 h1:K1jZj4ISjLOgvpGm42YrpdRHwbZQX5juZOXbwj5N+78=
github.com/chef/automate/components/docs-chef-io v0.0.0-20250617123043-e9e3b2463824/go.mod h1:juvLC7Rt33YOCgJ5nnfl4rWZRAbSwqjTbWmcAoA0LtU=
github.com/chef/chef-docs-theme v0.0.0-20250730214645-a9e9a891bf29 h1:TJ4+n4ddinBHnUFlwEbr2yRb0gdVzZzBxjBe9LXUWao=
github.com/chef/chef-docs-theme v0.0.0-20250730214645-a9e9a891bf29/go.mod h1:+Jpnv+LXE6dXu2xDcMzMc0RxRGuCPAoFxq5tJ/X6QpQ=
github.com/chef/chef-docs-theme v0.0.0-20250808212116-563fde1a25bc h1:QwjE9YnoY01CkGNOjdZup9tudvM0iq19IA3VHzIGmZg=
github.com/chef/chef-docs-theme v0.0.0-20250808212116-563fde1a25bc/go.mod h1:+Jpnv+LXE6dXu2xDcMzMc0RxRGuCPAoFxq5tJ/X6QpQ=
github.com/chef/chef-server/docs-chef-io v0.0.0-20250414141619-a0fb7ff68e94 h1:YpF+MQ2CQ0V/sOtGrTCxa+Lpd5J9iR6ADDkrdSMqtw0=
github.com/chef/chef-server/docs-chef-io v0.0.0-20250414141619-a0fb7ff68e94/go.mod h1:gMSa25GUHmLimA0gjvRd3hs1buOBqkKPrdHzHvaJauY=
github.com/chef/chef-workstation/docs-chef-io v0.0.0-20250718131033-13973a5c0863 h1:NgaLqTscmj0Ykj7tlTwMw8DDXPt7y/AynYvipPYL8oY=
Expand Down
2 changes: 2 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
command = "bash ./scripts/local-server.sh"
targetPort = 1313
port = 8000
[context.dev.environment]
HUGO_ENV = "production"

[context.production]
command = "bash ./scripts/netlify-deploy-production.sh"
Expand Down
2 changes: 2 additions & 0 deletions scripts/local-server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ set -eou pipefail
# Run 'netlify dev'
###

echo Hugo env: $HUGO_ENV

npm install
npm ls

Expand Down
1 change: 1 addition & 0 deletions scripts/netlify-branch-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ DART_SASS_VERSION="1.72.0"

echo Branch: $HEAD
echo Branch deploy URL: $DEPLOY_PRIME_URL
echo Hugo env: $HUGO_ENV

# Hugo requires dart-sass
# https://gohugo.io/functions/resources/tocss/#netlify
Expand Down
1 change: 1 addition & 0 deletions scripts/netlify-deploy-preview.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ DART_SASS_VERSION="1.72.0"

echo Branch: $HEAD
echo Branch deploy URL: $DEPLOY_PRIME_URL
echo Hugo env: $HUGO_ENV

# Hugo requires dart-sass
# https://gohugo.io/functions/resources/tocss/#netlify
Expand Down
1 change: 1 addition & 0 deletions scripts/netlify-deploy-production.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ DART_SASS_VERSION="1.72.0"

echo Branch: $HEAD
echo Branch deploy URL: $DEPLOY_PRIME_URL
echo Hugo env: $HUGO_ENV

# Hugo requires dart-sass
# https://gohugo.io/functions/resources/tocss/#netlify
Expand Down