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 73a3e43 commit 76915dbCopy full SHA for 76915db
generator/_scripts/cfdoc_sourcelinks.py
@@ -110,6 +110,8 @@ def addLinkToSource(file_name, config):
110
break
111
if line.find("layout: printable") == 0:
112
return 0
113
+ if line.find("published: false") == 0:
114
+ return 0
115
116
if not html_file:
117
@@ -118,7 +120,11 @@ def addLinkToSource(file_name, config):
118
120
unexpanded_macro = unexpandedMacroRegex()
119
121
122
error_count = 0
- html_file = config["CFE_DIR"] + "/" + html_file
123
+ if html_file.endswith("index.html"):
124
+ html_file = config["CFE_DIR"] + "/" + html_file
125
+ else:
126
+ html_file = config["CFE_DIR"] + "/" + html_file + "/index.html"
127
+
128
try:
129
in_file = open(html_file, "r")
130
lines = in_file.readlines()
0 commit comments