Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding viewport to views #153

Merged
merged 1 commit into from
Mar 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/rdoc/generator/template/merge/index.rhtml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<html lang="en">
<head>
<meta charset="utf-8">

<title><%= @title %></title>
<meta name="viewport" content="width=device-width,initial-scale=1">
</head>
<frameset cols="300,*" frameborder="1" border="1" bordercolor="#999999" framespacing="1">
<frame src="panel/index.html" title="Search" name="panel" />
Expand Down
1 change: 1 addition & 0 deletions lib/rdoc/generator/template/rails/class.rhtml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<title><%= h klass.full_name %></title>
<meta charset="<%= @options.charset %>" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<%= include_template '_head.rhtml', {:rel_prefix => rel_prefix, :tree_keys => klass.full_name.split('::') } %>

<meta property="og:title" value="<%= klass.full_name %>">
Expand Down
1 change: 1 addition & 0 deletions lib/rdoc/generator/template/rails/file.rhtml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<title><%= h file.name %></title>
<meta charset="<%= @options.charset %>" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<%= include_template '_head.rhtml', {:rel_prefix => rel_prefix, :tree_keys => [] } %>
</head>

Expand Down
1 change: 1 addition & 0 deletions lib/rdoc/generator/template/rails/index.rhtml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<title><%= @options.title %></title>
<meta http-equiv="Content-Type" content="text/html; charset=<%= @options.charset %>" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<%= include_template '_head.rhtml', {:rel_prefix => rel_prefix, tree_keys: []} %>
</head>

Expand Down
1 change: 1 addition & 0 deletions lib/rdoc/generator/template/rails/search_index.rhtml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<html lang="en">
<head>
<title>File Index</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
</head>
<body>
<% @files.each do |file| %>
Expand Down
1 change: 1 addition & 0 deletions lib/rdoc/generator/template/sdoc/class.rhtml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<title><%= h klass.full_name %></title>
<meta http-equiv="Content-Type" content="text/html; charset=<%= @options.charset %>" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<%= include_template '_head.rhtml', {:rel_prefix => rel_prefix} %>

<meta property="og:title" value="<%= klass.full_name %>">
Expand Down
1 change: 1 addition & 0 deletions lib/rdoc/generator/template/sdoc/file.rhtml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<title><%= h file.name %></title>
<meta http-equiv="Content-Type" content="text/html; charset=<%= @options.charset %>" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<%= include_template '_head.rhtml', {:rel_prefix => rel_prefix} %>
</head>

Expand Down
1 change: 1 addition & 0 deletions lib/rdoc/generator/template/sdoc/index.rhtml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<%= @options.charset %>" />
<title><%= @options.title %></title>
<meta name="viewport" content="width=device-width,initial-scale=1">
</head>
<frameset cols="300,*" frameborder="1" border="1" bordercolor="#999999" framespacing="1">
<frame src="panel/index.html" title="Search" name="panel" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<html lang="en">
<head>
<title>Search Index</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" charset="utf-8" />
<link rel="stylesheet" href="../css/panel.css" type="text/css" media="screen" charset="utf-8" />
<script src="../js/search_index.js" type="text/javascript" charset="utf-8"></script>
Expand Down
1 change: 1 addition & 0 deletions lib/rdoc/generator/template/sdoc/search_index.rhtml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<html lang="en">
<head>
<title>File Index</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
</head>
<body>
<% @files.each do |file| %>
Expand Down