File tree Expand file tree Collapse file tree 2 files changed +0
-4
lines changed
lib/ex_doc/formatter/html/templates Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change 4
4
<meta charset="utf-8">
5
5
<title><%= config.project %> v<%= config.version %> — Documentation</title>
6
6
<meta http-equiv="refresh" content="0; url=<%= h(redirect_to) %>">
7
- <meta name="robots" content="noindex">
8
7
<meta name="generator" content="ExDoc v<%= ExDoc.version() %>">
9
8
</head>
10
9
<body></body>
Original file line number Diff line number Diff line change @@ -141,7 +141,6 @@ defmodule ExDoc.Formatter.HTMLTest do
141
141
} ,
142
142
index: % {
143
143
title: ~r{ <title>Elixir v1.0.1 — Documentation</title>} ,
144
- index: ~r{ <meta name="robots" content="noindex"} ,
145
144
refresh: ~r{ <meta http-equiv="refresh" content="0; url=RandomError.html">}
146
145
} ,
147
146
module: % {
@@ -154,7 +153,6 @@ defmodule ExDoc.Formatter.HTMLTest do
154
153
assert content_index =~ re [ :shared ] [ :charset ]
155
154
assert content_index =~ re [ :shared ] [ :generator ]
156
155
assert content_index =~ re [ :index ] [ :title ]
157
- assert content_index =~ re [ :index ] [ :index ]
158
156
assert content_index =~ re [ :index ] [ :refresh ]
159
157
refute content_index =~ re [ :module ] [ :title ]
160
158
refute content_index =~ re [ :module ] [ :viewport ]
@@ -166,7 +164,6 @@ defmodule ExDoc.Formatter.HTMLTest do
166
164
assert content_module =~ re [ :module ] [ :viewport ]
167
165
assert content_module =~ re [ :module ] [ :x_ua ]
168
166
refute content_module =~ re [ :index ] [ :title ]
169
- refute content_module =~ re [ :index ] [ :index ]
170
167
refute content_module =~ re [ :index ] [ :refresh ]
171
168
end
172
169
You can’t perform that action at this time.
0 commit comments