diff --git a/.gitignore b/.gitignore
index e9603bd2d8f..3315a7eed88 100644
--- a/.gitignore
+++ b/.gitignore
@@ -57,3 +57,4 @@ yarn.lock
package-lock.json
doc/install.lock
+/.asciidoctorconfig.adoc
diff --git a/htdocs/modulebuilder/index.php b/htdocs/modulebuilder/index.php
index d84a2e7a8f1..954adab561e 100644
--- a/htdocs/modulebuilder/index.php
+++ b/htdocs/modulebuilder/index.php
@@ -3357,15 +3357,15 @@ if ($module == 'initmodule') {
$pathtochangelog = $modulelowercase.'/ChangeLog.md';
if ($action != 'editfile' || empty($file)) {
- print dol_get_fiche_head($head2, $tab, '', -1, '', 0, '', '', $MAXTABFOROBJECT, 'formodulesuffix'); // Description - level 2
+ $morehtmlright = '';
+ if (realpath($dirread.'/'.$modulelowercase) != $dirread.'/'.$modulelowercase) {
+ $morehtmlright = '
'.$form->textwithpicto('', ''.$langs->trans("RealPathOfModule").' : '.realpath($dirread.'/'.$modulelowercase).'').'
';
+ }
+
+ print dol_get_fiche_head($head2, $tab, '', -1, '', 0, $morehtmlright, '', $MAXTABFOROBJECT, 'formodulesuffix'); // Description - level 2
print ''.$langs->trans("ModuleBuilderDesc".$tab).'';
- $infoonmodulepath = '';
- if (realpath($dirread.'/'.$modulelowercase) != $dirread.'/'.$modulelowercase) {
- $infoonmodulepath = ''.$langs->trans("RealPathOfModule").' : '.realpath($dirread.'/'.$modulelowercase).'
';
- print ' '.$infoonmodulepath;
- }
- print '
';
+ print '
';
print '';
diff --git a/htdocs/modulebuilder/template/doc/Documentation.asciidoc b/htdocs/modulebuilder/template/doc/Documentation.asciidoc
index 5a05c7011a6..a6dc59eea14 100644
--- a/htdocs/modulebuilder/template/doc/Documentation.asciidoc
+++ b/htdocs/modulebuilder/template/doc/Documentation.asciidoc
@@ -49,6 +49,16 @@ __README__
__DATA_SPECIFICATION__
+== MATRIX OF PERMISSIONS
+
+__DATA_PERMISSIONS__
+
+
+== OTHER
+
+__API_DOC__
+
+
== CHANGELOG
//include::ChangeLog.md[]