Skip to content

Commit b2a4af6

Browse files
bepnmelehan
authored andcommitted
Update GoDoc
1 parent bf8221f commit b2a4af6

File tree

1 file changed

+3
-2
lines changed
  • scripts/update_linode_docs_search_indices

1 file changed

+3
-2
lines changed

scripts/update_linode_docs_search_indices/main.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,10 @@ type algoliaIndex struct {
3636
}
3737

3838
// This programs updates the Algolia indices defined below.
39-
// It currently requires to be run from the project root, e.g:
4039
//
41-
// ALGOLIA_ADMIN_API_KEY=<mysecret> go run ./main.go --sourcedir ../../public
40+
// Usage:
41+
//
42+
// ALGOLIA_ADMIN_API_KEY=<mysecret> update_linode_docs_search_indices --sourcedir ../../public
4243
//
4344
// Also note that you need to build the site with Hugo first.
4445
func main() {

0 commit comments

Comments
 (0)