docs: def maybe_start_recording(tokens, index):
          """Return a new _InlineRSTRecorder when its time to record."""
          if tokens[index].type == TokenType.BeginInlineRST:
              return _InlineRSTRecorder(index)