docs($compile): fix template and replace properties' docs

Closes #8062