Skip to content

ArithmeticOperation examples render with a bunch of xml cruft #5228

@maffoo

Description

@maffoo

Description of the issue

The docstring for ArithmeticOperation has an Examples: section with code in triple backticks: https://github.com/quantumlib/Cirq/blob/master/cirq-core/cirq/ops/arithmetic_operation.py#L43. This renders on the docsite with a bunch of XML cruft: https://quantumai.google/reference/python/cirq/ops/ArithmeticOperation#examples

arithmetic-operation

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions