Details
-
Bug
-
Status: Resolved
-
P3
-
Resolution: Duplicate
-
None
Description
Many Beam classes include multi-line code examples. When annotations need to mark classes or methods in those examples, it looks like we have generally have tried to escape the `@` with a "@literal" tag, but those tags aren't working as expected and end up appearing in the rendered documentation. See ParDo for several examples.
Where `@` appears within a line, no escaping appears to be necessary. It gets a bit complicated when `@` appears as the first non-whitespace character in a line, as is usually the case for annotations on classes or methods. I've proposed a style for handling that case in https://github.com/apache/beam/pull/7852