Fixed conditional docs config.
Additional work on setting up framework for docs.