Skip to content

Commit

Permalink
Use go generate for doc gen instead of shell script.
Browse files Browse the repository at this point in the history
  • Loading branch information
airforce270 committed Jul 30, 2024
1 parent 46b668d commit 46ab658
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ To run the bot locally:

Some documentation is generated.

After making changes, run `./gen-docs.sh` from the main directory to regenerate
After making changes, run `go generate` from the main directory to regenerate
the docs.

## Running in production
Expand Down
3 changes: 0 additions & 3 deletions gen-docs.sh

This file was deleted.

2 changes: 2 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// Package main contains the main logic for airbot.
//
//go:generate go run docs/gen.go
package main

import (
Expand Down

0 comments on commit 46ab658

Please sign in to comment.