Config object is not available when the documentation is built. Please reuse the way we were doing before:
```python
if Config:
    _exit_on_escape = Config.getboolean('kivy', 'exit_on_escape')
```