diff --git a/create_documentation b/create_documentation
index 21f08d020591ae9d184053422a5b11dab1ebce44_Y3JlYXRlX2RvY3VtZW50YXRpb24=..419b7791ab3570013b4982cfb113cad1e1d26228_Y3JlYXRlX2RvY3VtZW50YXRpb24= 100755
--- a/create_documentation
+++ b/create_documentation
@@ -7,8 +7,8 @@
 # - openerp to be installed
 # 
 
-# Version 2.7
+# Version 3.0
 
 here=$(dirname $0)
 project_home=$(cd $here && cd .. && echo $PWD)
 project_name_from_home=$(basename $project_home)
@@ -11,8 +11,8 @@
 
 here=$(dirname $0)
 project_home=$(cd $here && cd .. && echo $PWD)
 project_name_from_home=$(basename $project_home)
-project_name=${DRONE_REPO_NAME:-project_name_from_home}
+project_name=${DOC_PROJECT_NAME:-${CI_PROJECT_NAME:-${DRONE_REPO_NAME:-$project_name_from_home}}}
 languages=(${LANGUAGES:-en})
 
 format=html
diff --git a/setup.cfg b/setup.cfg
index 21f08d020591ae9d184053422a5b11dab1ebce44_c2V0dXAuY2Zn..419b7791ab3570013b4982cfb113cad1e1d26228_c2V0dXAuY2Zn 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -6,6 +6,8 @@
 
 [bumpversion:file:VERSION]
 
+[bumpversion:file:create_documentation]
+
 [bumpversion:file:do_tests]
 
 [bumpversion:file:run_tests]