docs(misc/contribute): make anchor links work properly

Closes #6706