You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: message-index/404.html
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -5,8 +5,9 @@
5
5
<divid="documentation-pointer">Page not found.</div>
6
6
7
7
<script>
8
-
constmessageRe=/^\/messages\/[A-Z]+-[0-9]+/;
8
+
constmessageRe=/^\/messages\/([A-Z]+-[0-9]+)/;
9
9
if(messageRe.test(window.location.pathname)){
10
-
document.getElementById("documentation-pointer").innerHTML="This message is currently undocumented. You can help out by <a href=\"https://github.com/haskellfoundation/error-message-index/issues\">opening an issue</a> or <a href=\"https://github.com/haskellfoundation/error-message-index/pulls\">contributing documentation</a>."
document.getElementById("documentation-pointer").innerHTML="Message <code>"+messageNum+"</code> is currently undocumented. You can help out by <a href=\"https://github.com/haskellfoundation/error-message-index/issues?q=is%3Aissue+is%3Aopen+"+messageNum+"\">opening or commenting on an issue</a> or <a href=\"https://github.com/haskellfoundation/error-message-index/blob/main/CONTRIBUTING.md\">contributing documentation</a>."
0 commit comments