Skip to content

improve sphinx call to _create_app

Remco Tukker requested to merge feature/better_sphinx into develop

moved the oidc config from _create_app to _create_app_with_db so that the sphinx workaround in _create_app isnt necessary anymore

Besides that improve the situation a bit so that's clearer whats happening:

  • Removed the unnecessary app.config['CONFIG_PARAMS'], just copy all the config parts from the file to app.config immediately
  • Thanks to that _create_app doesnt take any arguments anymore, preventing confusion
  • Added the -E parameter to the sphinx invocation in tox to ensure sphinx is running locally (without -E it only rebuilds if the rst files in docs/source are changed, with -E it always rebuilds)

Merge request reports