We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9cf7ffb commit caa6fbaCopy full SHA for caa6fba
doc-src/templates/default/fulldoc/html/frames.erb
@@ -0,0 +1,20 @@
1
+<!DOCTYPE html>
2
+<html>
3
+<head>
4
+ <meta charset="utf-8">
5
+ <title><%= options.title %></title>
6
+</head>
7
+<script type="text/javascript">
8
+ var match = unescape(window.location.hash).match(/^#!(.+)/);
9
+ var name = match ? match[1] : '<%= url_for_main %>';
10
+ name = name.replace(/^(\w+):\/\//, '').replace(/^\/\//, '');
11
+ var url = new URL(name);
12
+ if (url.protocol !== 'javascript:') {
13
+ window.top.location = url;
14
+ }
15
+</script>
16
+<noscript>
17
+ <h1>Oops!</h1>
18
+ <h2>YARD requires JavaScript!</h2>
19
+</noscript>
20
+</html>
0 commit comments