I am looking for a solution where I can change the generated output of a docfx build based on some parameters during build time. I have seen that there is a filter property in docfx.json where I can filter out some api stuff. But I would like to change the structure/content of my site which is generated from the toc.yml files.
The reason I would like to have this feature is that I generate the documentation specific for every customer we have. Based on the features a customer has registered on our product some pages of the static documentation have to appear and some pages should not be available for this customer.