From a54577152b2c6234971145ece88c4352a2097530 Mon Sep 17 00:00:00 2001 From: Ian Maddaus Date: Tue, 15 Mar 2022 18:29:15 -0400 Subject: [PATCH] Update docs makefile Signed-off-by: Ian Maddaus --- docs-chef-io/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs-chef-io/Makefile b/docs-chef-io/Makefile index 7f6fc5ef9..42b4c795c 100644 --- a/docs-chef-io/Makefile +++ b/docs-chef-io/Makefile @@ -6,11 +6,11 @@ preview_netlify: chef_web_docs cp -R content/* chef-web-docs/_vendor/github.com/inspec/inspec/docs-chef-io/content cp -R static/* chef-web-docs/_vendor/github.com/inspec/inspec/docs-chef-io/static cp -R config.toml chef-web-docs/_vendor/github.com/inspec/inspec/docs-chef-io/ - pushd chef-web-docs && make assets; hugo --gc --minify --buildFuture && popd + pushd chef-web-docs && make bundle; hugo --gc --minify --buildFuture && popd serve: chef_web_docs echo "replace github.com/inspec/inspec/docs-chef-io => ../" >> chef-web-docs/go.mod - pushd chef-web-docs && make assets; hugo server --buildDrafts --buildFuture --noHTTPCache --ignoreVendorPaths "github.com/inspec/inspec/**" && popd + pushd chef-web-docs && make bundle; hugo server --buildDrafts --buildFuture --noHTTPCache && popd chef_web_docs: if [ -d "chef-web-docs/" ]; then \