docs(general): adds contents indexes to long pages

ref: #6812