Skip to content

Docs: Filter out TYPE_CHECKING from public docs #5231

@maffoo

Description

@maffoo

Description of the issue

The TYPE_CHECKING variable imported from typing shows up in API docs (example: #5150). We should filter it out, since it's not part of the cirq API. Per @dabacon's comment, we should be able to do this in dev_tools/docs/build_api_docs.py.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/docskind/healthFor CI/testing/release process/refactoring/technical debt items

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions