DOCS-1523: tables of contents generation
fix script and add new images