Docs: add expand/collapse all documentation
Merge pull request #4302 from patheard/docs-exp-col

Docs: add expand/collapse all documentation