Fix make site-docs

This commit is contained in:
Mislav Marohnić 2020-03-03 23:34:32 +01:00
parent 6c2328bdb3
commit 030538871d
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
---