Add documentation for conditional compilation

Add documentation for conditional compilation

This documents in-source conditions using #[cfg(...)] and configurations
pre-defined by the compiler.

Fix #7962.