Produce the index document in the format specified by the current context
public function getIndexDocument(): string;
string