If you could split your presentation layer (files that display the content) across multiple themes you could generate the output in two different directories from these two different themes.
This could work, just as writing a script to copy the entire project except the files that i don’t want to be shown to users. But I am looking for a more “clean” way to do this
Also not clean, but I would simply create two projects and link the content files from the user documentation into the content folder of the developer documentation with ln -s.
I was first thinking that it would be nice to have different switches (in a #def#undef manner) but you are right, it will just make everything way too complicated.
I’ll create two project and link the content (with the equivalent of ln -s for windows)