Adds switch to avoid building docs inside docs subdirectory.