Module Contents

versionwarning.signals.JSON_DATA_FILENAME = versionwarning-data.json
versionwarning.signals.generate_versionwarning_data_json(app, config=None, **kwargs)

Generate the versionwarning-data.json file.

This file is included in the output and read by the AJAX request when accessing to the documentation and used to compare the live versions with the curent one.

Besides, this file contains meta data about the project, the API to use and the banner itself.