mirror of
https://github.com/inspec/inspec
synced 2024-11-22 20:53:11 +00:00
Update Hugo and correct how build previews are generated
Signed-off-by: Ian Maddaus <Ian.Maddaus@progress.com>
This commit is contained in:
parent
a60083b8ba
commit
d1b84bda74
3 changed files with 3 additions and 3 deletions
|
@ -14,7 +14,7 @@ serve: chef_web_docs
|
|||
|
||||
chef_web_docs:
|
||||
if [ -d "chef-web-docs/" ]; then \
|
||||
pushd chef-web-docs && git reset HEAD --hard; git pull origin master && popd; \
|
||||
pushd chef-web-docs && git reset HEAD --hard; git clean -fd; git pull --ff-only origin master; rm -rf public && popd; \
|
||||
else \
|
||||
git clone https://github.com/chef/chef-web-docs.git; \
|
||||
fi
|
||||
|
|
|
@ -52,7 +52,7 @@ before the next promotion.
|
|||
## Local Development Environment
|
||||
|
||||
We use [Hugo](https://gohugo.io/), [Go](https://golang.org/), and[NPM](https://www.npmjs.com/)
|
||||
to build the Chef Documentation website. You will need Hugo 0.78.1 or higher
|
||||
to build the Chef Documentation website. You will need Hugo 0.83.1 or higher
|
||||
installed and running to build and view our documentation properly.
|
||||
|
||||
To install Hugo, NPM, and Go on Windows and macOS:
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[build]
|
||||
|
||||
[build.environment]
|
||||
HUGO_VERSION = "0.78.1"
|
||||
HUGO_VERSION = "0.83.1"
|
||||
HUGO_ENABLEGITINFO = "true"
|
||||
GO_VERSION = "1.15"
|
||||
NODE_ENV = "development"
|
||||
|
|
Loading…
Reference in a new issue