Commit 5a5311c8 authored by Florent Chehab's avatar Florent Chehab

Fixed(documentation generation):

* Removed print from django settings
* Re-Added doc images generation to the general pipeline to preven bug from reappearing on master
parent 48a1e8ac
Pipeline #38340 passed with stages
in 3 minutes and 23 seconds
...@@ -97,6 +97,7 @@ eslint: ...@@ -97,6 +97,7 @@ eslint:
- docker - docker
generate_UML_svg: generate_UML_svg:
<<: *only-default
stage: svg-gen-docu stage: svg-gen-docu
image: floawfloaw/plantuml image: floawfloaw/plantuml
script: cd documentation && make convert_to_svg script: cd documentation && make convert_to_svg
...@@ -106,8 +107,6 @@ generate_UML_svg: ...@@ -106,8 +107,6 @@ generate_UML_svg:
paths: paths:
- documentation/generated/ - documentation/generated/
expire_in: 1 hour expire_in: 1 hour
only:
- master
tags: tags:
- docker - docker
......
...@@ -15,8 +15,8 @@ from os.path import normpath, join ...@@ -15,8 +15,8 @@ from os.path import normpath, join
from base_app.settings.dir_locations import BACKEND_ROOT_DIR, REPO_ROOT_DIR from base_app.settings.dir_locations import BACKEND_ROOT_DIR, REPO_ROOT_DIR
from .app_settings import * # noqa: F403, F401 # We need to load app specific settings from .app_settings import * # noqa: F403, F401 # We need to load app specific settings
# A stupid print to prevent pycharm from removing the import. # A stupid assert to prevent pycharm from removing the * import
print("Moderation activated on backend ?", MODERATION_ACTIVATED) # noqa: F405 assert MODERATION_ACTIVATED or not MODERATION_ACTIVATED # noqa: F405
##################################### #####################################
# #
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment