Skip to content

Commit b4e7f60

Browse files
committed
Fix path
1 parent 3394eec commit b4e7f60

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/doc-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ jobs:
172172
for block in diff_blocks:
173173
match = re.search(r'^diff --git a/(.*) b/\1', block, flags=re.MULTILINE)
174174
if match:
175-
path = 'html' + match.group(1)
175+
path = 'html/' + match.group(1)
176176
out_blocks.append(f'<p class="diff"><a href="{path}">{path}</a>&emsp;</p>\n<pre><code class="language-diff">' + html.escape(block).strip() + '</code></pre>')
177177
output_text = '\n'.join(out_blocks)
178178
with open('./docs/diff.html', 'w') as f:

0 commit comments

Comments
 (0)