Re-submit "Change the default docs build to use module stubs"

This reverts commit 7333a054d93fe75d7553cbb6707149fc8ae43508.

Reason for revert: Wifi fix: Ia82033ed22e9f07d982eb35740350ac1ef11fe49

Change-Id: I6ccb1d3fa6311bb66d78d93a567fddb1bb2d5be1
1 file changed