Skip to content

Standardize connection docs labels (howto/connection:{conn_type}) across all providers #63348

Closed

Description

@kaxil

Problem

The provider registry resolves connection documentation URLs from Sphinx inventory files using howto/connection:{conn_type} labels. Many providers have these labels correctly, but some are missing or inconsistent, causing the registry to fall back to a generic connections/ page instead of linking to the specific connection page.

Current state

Out of ~70 providers with connection types, the registry found:

  • 62 conn_types with exact inventory matches → correct deep link
  • ~30 conn_types with no matching label → falls back to connections/

Examples of missing/inconsistent labels

Provider conn_type (provider.yaml) Expected label Actual state
Google google_cloud_platform howto/connection:google_cloud_platform Missing (page is connections/gcp.html with label howto/connection:gcp)
Google gcpcloudsql howto/connection:gcpcloudsql Missing (page is connections/gcp_sql.html)
Google gcpssh howto/connection:gcpssh Missing (page is connections/gcp_ssh.html)
Alibaba alibaba_cloud howto/connection:alibaba_cloud Missing (page exists as connections/alibaba.html)
Apache Cassandra cassandra howto/connection:cassandra Missing (page exists as connections/cassandra.html)
Apache Kafka kafka howto/connection:kafka Missing (page exists as connections/kafka.html)
Common AI pydanticai howto/connection:pydanticai Label is pydantic_ai (underscore vs no underscore)
Datadog datadog howto/connection:datadog Missing
Discord discord howto/connection:discord Missing (page is connections/discord-webhook.html)

What needs to happen

For each provider with a connections docs page:

  1. Add .. _howto/connection:{conn_type}: label to the RST file, where {conn_type} exactly matches the connection-type value in provider.yaml
  2. Or update provider.yaml if the conn_type itself is the inconsistent value

The conn_type value in provider.yaml should be the canonical identifier used everywhere — in the RST label, in the Sphinx inventory, and in get_connection_form_widgets().

Context

The registry uses Sphinx objects.inv inventory files to resolve connection page URLs. When a std:label howto/connection:{conn_type} entry exists in the inventory, the registry links directly to that page. Without it, users get a generic connections listing page.

This was discovered while building the Provider Registry connection docs integration: #63349

Activity

  1. added
    kind:feature
    on Mar 11, 2026
  2. henry3260 commented on Mar 11, 2026

    @henry3260
    Member

    Should we divide this issue into multiple task?

  3. FavroiteGamers commented on Mar 11, 2026

    @FavroiteGamers

    I'm working on it right now, depending on what happens I'll see if we need to split it.

  4. FavroiteGamers commented on Mar 11, 2026

    @FavroiteGamers

    Yeah. I will manually commit my single fix for pedantic, and commit for each, mentioning the issue in the PR but not closing it from the PR, as I don't know how many things there are that are broken, and it would just make more sense to do one at a time.

  5. kaxil commented on Mar 11, 2026

    @kaxil
    MemberAuthor

    I need a single PR that fixes this -- not multiple PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions