Skip to content

Refresh out-of-date docs - #349

Merged
stefanvanburen merged 10 commits into
mainfrom
svanburen/docs-refresh
Sep 25, 2026
Merged

stefanvanburen merged 10 commits into
mainfrom
svanburen/docs-refresh

Conversation

@stefanvanburen

Copy link
Copy Markdown
Member

A pass over the READMEs and contributor docs to fix things that drifted from the code. The connectrpc-otel README example called client.Say and never imported SayRequest, the main README lost its API reference link in the rewrite, and DEVELOPMENT.md still said all documentation lives in connectrpc.com.

DEVELOPMENT.md now says what poe check actually runs and defers to CONTRIBUTING.md instead of keeping a copy that had dropped the DCO and open-an-issue-first steps. RELEASE.md gains a section on releasing connectrpc-otel and connectrpc-grpcreflect under their own tags, matching how past releases were cut.

The API reference now includes connectrpc_otel, and ConnectInstrumentor gets a docstring so it renders there; its behavior is unchanged.

Generated client methods are snake_case, so the example calls
`client.say`, not `client.Say`. It also imports `SayRequest`, which the
snippet uses but never imported.

Signed-off-by: Stefan VanBuren <stefan@vanburen.xyz>
The API reference link added in #224 was lost when the README was
rewritten. Restore it, pointing at the site's current URL under
`connect-py`.

Signed-off-by: Stefan VanBuren <stefan@vanburen.xyz>
DEVELOPMENT.md said all documentation lives in connectrpc.com, but the
API reference is built from this repo with zensical. Point to `docs/`
and the `docs-build` and `docs-serve` tasks.

Signed-off-by: Stefan VanBuren <stefan@vanburen.xyz>
DEVELOPMENT.md called `poe check` "all checks", but it only runs lint,
unit tests, and connectrpc-otel tests. Say so, and list the
`test-grpcreflect` and `test-conformance` tasks that CI also runs.

Signed-off-by: Stefan VanBuren <stefan@vanburen.xyz>
The contributing steps in DEVELOPMENT.md duplicated CONTRIBUTING.md and
had drifted from it: they left out the DCO sign-off and opening an issue
before changing a public API. Link to CONTRIBUTING.md instead.

Signed-off-by: Stefan VanBuren <stefan@vanburen.xyz>
RELEASE.md only covered `connectrpc`, but the otel and grpcreflect
packages release on their own `connectrpc-otel/v*` and
`connectrpc-grpcreflect/v*` tags. Describe how their bump, tag, and
release naming differ, matching past releases such as
`connectrpc-otel/v0.2.0` from #277.

Signed-off-by: Stefan VanBuren <stefan@vanburen.xyz>
The API reference documented `connectrpc_grpcreflect` but not
`connectrpc_otel`. Add it so `OpenTelemetryInterceptor` is documented.

Signed-off-by: Stefan VanBuren <stefan@vanburen.xyz>
`ConnectInstrumentor` is exported and registered as the
`opentelemetry_instrumentor` entry point, but without a docstring the
API reference skipped it. Describe what it instruments and the keyword
arguments `instrument()` accepts.

Signed-off-by: Stefan VanBuren <stefan@vanburen.xyz>
The `:::` directives had no blank lines between them and carried
indented `options:` blocks, so GitHub and Neovim ran each group
together into one paragraph. Separate every directive and move the
options into `zensical.toml`: `show_submodules` applies globally, and
`filters = "public"` lets `__all__` choose the `connectrpc_grpcreflect`
members.

The grpcreflect classes now render in source order rather than the
hand-picked order; the set of documented objects is unchanged.

Signed-off-by: Stefan VanBuren <stefan@vanburen.xyz>

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

open to suggestions on wording here.

Comment thread docs/api.md
# API Reference

::: connectrpc.client

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

honestly don't mind reverting this; just triggered my "let's fix this" when I saw it rendered in GitHub markdown

Comment thread docs/api.md
Comment on lines -27 to -34
- ServerReflectionService
- ServerReflectionASGIApplication
- ServerReflectionServiceSync
- ServerReflectionWSGIApplication
- ServerReflectionAlphaService
- ServerReflectionAlphaASGIApplication
- ServerReflectionAlphaServiceSync
- ServerReflectionAlphaWSGIApplication

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure if we wanted this ordering on-purpose?

@anuraaga anuraaga Sep 25, 2026 •

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IIRC it was so alpha doesn't show above non-alpha, which is probably a good idea

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

put it back and added an HTML comment, so should be invisible: 191c394

Comment thread README.md
Connect is the **easiest way to build modern APIs**.

[Docs](https://connectrpc.com/docs/python/getting-started/) •
[API reference](https://connectrpc.github.io/connect-py/api/) •

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not exactly sure where this ought to live, but this seemed ok. seemed like it ought to live on the README somewhere if we were committed to continue to publish it.

@stefanvanburen
stefanvanburen marked this pull request as ready for review September 25, 2026 01:04

@anuraaga anuraaga left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Just one point about the ordering

The explicit `members` list keeps each v1 class above its v1alpha
counterpart, which source order does not
(#349 (comment)).
Restore it with a comment saying why.

Signed-off-by: Stefan VanBuren <stefan@vanburen.xyz>
@stefanvanburen
stefanvanburen merged commit 9dcae58 into main Sep 25, 2026
23 checks passed
@stefanvanburen
stefanvanburen deleted the svanburen/docs-refresh branch September 25, 2026 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants