Add build options for generating internal docs