We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81eca72 commit 29b7b43Copy full SHA for 29b7b43
module-assets/ci/terraformDocOverview.py
@@ -5,6 +5,7 @@
5
import re
6
from pathlib import Path
7
8
+import terraformDocGoMod
9
import terraformDocsUtils
10
11
@@ -64,14 +65,20 @@ def get_main_readme_headings():
64
65
66
def get_repo_info():
67
module_url = terraformDocsUtils.get_module_url()
68
+
69
+ module_url = terraformDocGoMod.change_module_url(module_url)
70
71
full_module_url = f"https://{module_url}"
72
73
repo_name = pathlib.PurePath(module_url).name
74
module_name = repo_name.replace("terraform-ibm-", "")
75
words = module_name.split("-")
76
77
if len(words) == 1:
78
short_name = module_name
79
else:
80
short_name = "".join([word[0] for word in words])
81
82
return full_module_url, short_name
83
84
0 commit comments