X Tutup
Skip to content

Commit 0305388

Browse files
committed
Fix make site-docs
1 parent 6c2328b commit 0305388

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ test:
2323
.PHONY: test
2424

2525
site:
26-
git worktree add site gh-pages
26+
git clone https://github.com/github/cli.github.com.git "$@"
2727

2828
site-docs: site
2929
git -C site pull
@@ -33,5 +33,4 @@ site-docs: site
3333
rm -f site/manual/*.bak
3434
git -C site add 'manual/gh*.md'
3535
git -C site commit -m 'update help docs'
36-
git -C site push
3736
.PHONY: site-docs

cmd/gen-docs/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ func main() {
2828

2929
func filePrepender(filename string) string {
3030
return `---
31-
layout: page
31+
layout: manual
3232
permalink: /:path/:basename
3333
---
3434

0 commit comments

Comments
 (0)
X Tutup