This gist shows the way to build the index of contents for Wiki.js instance.
With Index you can quickly review informational architecture of your knowledge base, find folders without attached pages, detect missed or inactual/outdated parts, find branches in pages tree which should be rebalanced and so on.
By default all branches rendered expanded but you can collapse some if needed (uncheck checkbox before branch name to do it).