Merge pull request #577 from cli/update-site-docs

Fix `make site-docs`
This commit is contained in:
Nate Smith 2020-03-04 10:49:38 -06:00 committed by GitHub
commit bc6a151e7f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View file

@ -23,7 +23,7 @@ test:
.PHONY: test
site:
git worktree add site gh-pages
git clone https://github.com/github/cli.github.com.git "$@"
site-docs: site
git -C site pull
@ -33,5 +33,4 @@ site-docs: site
rm -f site/manual/*.bak
git -C site add 'manual/gh*.md'
git -C site commit -m 'update help docs'
git -C site push
.PHONY: site-docs

View file

@ -28,7 +28,7 @@ func main() {
func filePrepender(filename string) string {
return `---
layout: page
layout: manual
permalink: /:path/:basename
---