Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add buildfuture to make commands #1202

Merged
merged 3 commits into from
May 27, 2020
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
6 changes: 3 additions & 3 deletions www/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ clean_all:
rm -rf chef-web-docs/results/

preview_netlify: chef_web_docs_submodule
pushd chef-web-docs && make assets; hugo --gc --minify --enableGitInfo && popd
pushd chef-web-docs && make assets; hugo --gc --minify --enableGitInfo --buildFuture && popd
make reset_chef_web_docs

serve_chef_web_docs: chef_web_docs_submodule
pushd chef-web-docs && make assets; hugo server --buildDrafts --noHTTPCache && popd
pushd chef-web-docs && make assets; hugo server --buildDrafts --noHTTPCache --buildFuture && popd

chef_web_docs_submodule:
git submodule update --init --recursive
Expand All @@ -33,7 +33,7 @@ reset_chef_web_docs:

serve: assets
cd chef-web-docs
hugo server --buildDrafts --noHTTPCache
hugo server --buildDrafts --noHTTPCache --buildFuture

lint: assets
hugo -D
2 changes: 2 additions & 0 deletions www/archetypes/default.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title = "{{ replace .Name "-" " " | title }}"
draft = true

publishDate = ""

[menu]
[menu.workstation]
title = "{{ replace .Name "-" " " | title }}"
Expand Down