if you dont want your docs public facing you can put a password wall on it, but thats a feature of your hosting provider (eg netlify), not so much docusaurus.
Unfortunately we have a few config options that are only found in code blocks and we need to extract those