I was following the steps for renaming namespaces at
https://www.dokuwiki.org/namespaces#how_to_rename_namespaces.
I deleted the folders under 'attic', 'meta' and the index files which mentioned the namespaces. I am using a sidebar with the IndexMenu plugin. The sidebar shows up fine with the namespaces and pages as a treeview but the sitemap is just showing 'sidebar'. It's basically empty.
Is there a way to recreate and populate the sitemap? Like by traversing the folders and files in the 'pages' folder.