Skip to content

Commit d2d4cc9

Browse files
authored
no longer write the dartdoc version into generated html files (#3624)
no longer write the dartdoc version into generated html files
1 parent b04c9c1 commit d2d4cc9

File tree

3 files changed

+2
-13
lines changed

3 files changed

+2
-13
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
## 8.0.4-wip
22

33
* Remove explicit library names. (#3609)
4+
* No longer write the dartdoc version into generated html files.
45

56
## 8.0.3
67

lib/src/generator/templates.aot_renderers_for_html.dart

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3499,16 +3499,7 @@ String _deduplicated_lib_templates_html__head_html(TemplateDataBase context0) {
34993499
<head>
35003500
<meta charset="utf-8">
35013501
<meta http-equiv="X-UA-Compatible" content="IE=edge">
3502-
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, user-scalable=no">''');
3503-
if (context0.includeVersion) {
3504-
buffer.writeln();
3505-
buffer.write('''
3506-
<meta name="generator" content="made with love by dartdoc ''');
3507-
buffer.writeEscaped(context0.version);
3508-
buffer.write('''">''');
3509-
}
3510-
buffer.writeln();
3511-
buffer.write('''
3502+
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, user-scalable=no">
35123503
<meta name="description" content="''');
35133504
buffer.writeEscaped(context0.metaDescription);
35143505
buffer.write('''">

lib/templates/html/_head.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
<meta charset="utf-8">
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">
66
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, user-scalable=no">
7-
{{#includeVersion}}
8-
<meta name="generator" content="made with love by dartdoc {{version}}">
9-
{{/includeVersion}}
107
<meta name="description" content="{{ metaDescription }}">
118
<title>{{ title }}</title>
129
{{ #relCanonicalPrefix }}

0 commit comments

Comments
 (0)