internal/readme: use go:generate rather than Make
Simplify the readme generation to just use go:generate, no longer depending on Make or bash. Subsequent CLs will generate more documentation in a similar manner. For #442
This commit is contained in:
parent
3a66cf3997
commit
872b437b2a
1 changed files with 12 additions and 47 deletions
9
internal/readme/doc.go
Normal file
9
internal/readme/doc.go
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
// Copyright 2025 The Go MCP SDK Authors. All rights reserved.
|
||||
// Use of this source code is governed by an MIT-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
//go:generate go run golang.org/x/example/internal/cmd/weave@latest -o ../../README.md ./README.src.md
|
||||
|
||||
// The readme package is used to generate README.md at the top-level of this
|
||||
// repo. Regenerate the README with go generate.
|
||||
package readme
|
||||
Loading…
Reference in a new issue