diff --git a/Makefile b/Makefile index 3b8aba5ea..5a93dac9b 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/cmd/gen-docs/main.go b/cmd/gen-docs/main.go index 5369d9670..6607054a9 100644 --- a/cmd/gen-docs/main.go +++ b/cmd/gen-docs/main.go @@ -28,7 +28,7 @@ func main() { func filePrepender(filename string) string { return `--- -layout: page +layout: manual permalink: /:path/:basename ---