Skip to content

Commit

Permalink
docs: update formatting for godocs (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkingserious authored May 11, 2021
1 parent d731c40 commit 5b98eca
Show file tree
Hide file tree
Showing 36 changed files with 6,292 additions and 17,185 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -351,5 +351,22 @@ To execute the test suite run:
go test ./...
```

### Generating Local Documentation

To generate documentation, from the root directory:

```bash
godoc -http=localhost:{port number}
```

Then, navigate to `http://localhost:{port number}/pkg/github.com/twilio/twilio-go` in your local browser.

Example:

```bash
godoc -http=localhost:6060
```
http://localhost:6060/pkg/github.com/twilio/twilio-go

[apidocs]: https://www.twilio.com/docs/api
[libdocs]: https://pkg.go.dev/github.com/twilio/twilio-go?tab=versions
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ require (
github.com/pkg/errors v0.9.1
github.com/shirou/gopsutil v0.0.0-20190901111213-e4ec7b275ada // indirect
github.com/stretchr/testify v1.7.0
golang.org/x/tools v0.1.0 // indirect
golang.org/x/tools v0.1.1 // indirect
)
246 changes: 246 additions & 0 deletions go.sum

Large diffs are not rendered by default.

123 changes: 20 additions & 103 deletions rest/accounts/v1/api_default.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 5b98eca

Please sign in to comment.