Skip to content

Commit 77271c1

Browse files
committed
standardize layout of meta and link tags in header
1 parent f12c57f commit 77271c1

File tree

262 files changed

+524
-786
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

262 files changed

+524
-786
lines changed

lib/templates/_head.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
{{#includeVersion}}
88
<meta name="generator" content="made with love by dartdoc {{version}}">
99
{{/includeVersion}}
10+
<meta name="description" content="{{ metaDescription }}">
1011
<title>{{ title }}</title>
1112
{{ #relCanonicalPrefix }}
1213
<link rel="canonical" href="{{relCanonicalPrefix}}/{{self.href}}">
@@ -16,12 +17,10 @@
1617
<base href="{{htmlBase}}">
1718
{{/htmlBase}}
1819

19-
<link href='https://fonts.googleapis.com/css?family=Source+Code+Pro|Roboto:500,400italic,300,400' rel='stylesheet' type='text/css'>
20+
<link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Source+Code+Pro|Roboto:500,400italic,300,400' type='text/css'>
2021
<link rel="stylesheet" href="static-assets/prettify.css">
2122
<link rel="stylesheet" href="static-assets/css/bootstrap.min.css">
2223
<link rel="stylesheet" href="static-assets/styles.css">
23-
24-
<meta name="description" content="{{ metaDescription }}">
2524
<link rel="icon" href="static-assets/favicon.png">
2625

2726
<!-- Do not remove placeholder -->

test_package_docs/anonymous_library/anonymous_library-library.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,15 @@
44
<meta charset="utf-8">
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">
66
<meta name="viewport" content="width=device-width, initial-scale=1">
7+
<meta name="description" content="anonymous_library library API docs, for the Dart programming language.">
78
<title>anonymous_library library - Dart API</title>
89
<!-- required because all the links are pseudo-absolute -->
910
<base href="..">
1011

11-
<link href='https://fonts.googleapis.com/css?family=Source+Code+Pro|Roboto:500,400italic,300,400' rel='stylesheet' type='text/css'>
12+
<link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Source+Code+Pro|Roboto:500,400italic,300,400' type='text/css'>
1213
<link rel="stylesheet" href="static-assets/prettify.css">
1314
<link rel="stylesheet" href="static-assets/css/bootstrap.min.css">
1415
<link rel="stylesheet" href="static-assets/styles.css">
15-
16-
<meta name="description" content="anonymous_library library API docs, for the Dart programming language.">
1716
<link rel="icon" href="static-assets/favicon.png">
1817

1918
<!-- Do not remove placeholder -->

test_package_docs/anonymous_library/doesStuff.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,15 @@
44
<meta charset="utf-8">
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">
66
<meta name="viewport" content="width=device-width, initial-scale=1">
7+
<meta name="description" content="API docs for the doesStuff function from the anonymous_library library, for the Dart programming language.">
78
<title>doesStuff function - anonymous_library library - Dart API</title>
89
<!-- required because all the links are pseudo-absolute -->
910
<base href="..">
1011

11-
<link href='https://fonts.googleapis.com/css?family=Source+Code+Pro|Roboto:500,400italic,300,400' rel='stylesheet' type='text/css'>
12+
<link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Source+Code+Pro|Roboto:500,400italic,300,400' type='text/css'>
1213
<link rel="stylesheet" href="static-assets/prettify.css">
1314
<link rel="stylesheet" href="static-assets/css/bootstrap.min.css">
1415
<link rel="stylesheet" href="static-assets/styles.css">
15-
16-
<meta name="description" content="API docs for the doesStuff function from the anonymous_library library, for the Dart programming language.">
1716
<link rel="icon" href="static-assets/favicon.png">
1817

1918
<!-- Do not remove placeholder -->

test_package_docs/another_anonymous_lib/another_anonymous_lib-library.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,15 @@
44
<meta charset="utf-8">
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">
66
<meta name="viewport" content="width=device-width, initial-scale=1">
7+
<meta name="description" content="another_anonymous_lib library API docs, for the Dart programming language.">
78
<title>another_anonymous_lib library - Dart API</title>
89
<!-- required because all the links are pseudo-absolute -->
910
<base href="..">
1011

11-
<link href='https://fonts.googleapis.com/css?family=Source+Code+Pro|Roboto:500,400italic,300,400' rel='stylesheet' type='text/css'>
12+
<link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Source+Code+Pro|Roboto:500,400italic,300,400' type='text/css'>
1213
<link rel="stylesheet" href="static-assets/prettify.css">
1314
<link rel="stylesheet" href="static-assets/css/bootstrap.min.css">
1415
<link rel="stylesheet" href="static-assets/styles.css">
15-
16-
<meta name="description" content="another_anonymous_lib library API docs, for the Dart programming language.">
1716
<link rel="icon" href="static-assets/favicon.png">
1817

1918
<!-- Do not remove placeholder -->

test_package_docs/another_anonymous_lib/greeting.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,15 @@
44
<meta charset="utf-8">
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">
66
<meta name="viewport" content="width=device-width, initial-scale=1">
7+
<meta name="description" content="API docs for the greeting function from the another_anonymous_lib library, for the Dart programming language.">
78
<title>greeting function - another_anonymous_lib library - Dart API</title>
89
<!-- required because all the links are pseudo-absolute -->
910
<base href="..">
1011

11-
<link href='https://fonts.googleapis.com/css?family=Source+Code+Pro|Roboto:500,400italic,300,400' rel='stylesheet' type='text/css'>
12+
<link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Source+Code+Pro|Roboto:500,400italic,300,400' type='text/css'>
1213
<link rel="stylesheet" href="static-assets/prettify.css">
1314
<link rel="stylesheet" href="static-assets/css/bootstrap.min.css">
1415
<link rel="stylesheet" href="static-assets/styles.css">
15-
16-
<meta name="description" content="API docs for the greeting function from the another_anonymous_lib library, for the Dart programming language.">
1716
<link rel="icon" href="static-assets/favicon.png">
1817

1918
<!-- Do not remove placeholder -->

test_package_docs/code_in_comments/code_in_comments-library.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,15 @@
44
<meta charset="utf-8">
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">
66
<meta name="viewport" content="width=device-width, initial-scale=1">
7+
<meta name="description" content="code_in_comments library API docs, for the Dart programming language.">
78
<title>code_in_comments library - Dart API</title>
89
<!-- required because all the links are pseudo-absolute -->
910
<base href="..">
1011

11-
<link href='https://fonts.googleapis.com/css?family=Source+Code+Pro|Roboto:500,400italic,300,400' rel='stylesheet' type='text/css'>
12+
<link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Source+Code+Pro|Roboto:500,400italic,300,400' type='text/css'>
1213
<link rel="stylesheet" href="static-assets/prettify.css">
1314
<link rel="stylesheet" href="static-assets/css/bootstrap.min.css">
1415
<link rel="stylesheet" href="static-assets/styles.css">
15-
16-
<meta name="description" content="code_in_comments library API docs, for the Dart programming language.">
1716
<link rel="icon" href="static-assets/favicon.png">
1817

1918
<!-- Do not remove placeholder -->

test_package_docs/css/css-library.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,15 @@
44
<meta charset="utf-8">
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">
66
<meta name="viewport" content="width=device-width, initial-scale=1">
7+
<meta name="description" content="css library API docs, for the Dart programming language.">
78
<title>css library - Dart API</title>
89
<!-- required because all the links are pseudo-absolute -->
910
<base href="..">
1011

11-
<link href='https://fonts.googleapis.com/css?family=Source+Code+Pro|Roboto:500,400italic,300,400' rel='stylesheet' type='text/css'>
12+
<link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Source+Code+Pro|Roboto:500,400italic,300,400' type='text/css'>
1213
<link rel="stylesheet" href="static-assets/prettify.css">
1314
<link rel="stylesheet" href="static-assets/css/bootstrap.min.css">
1415
<link rel="stylesheet" href="static-assets/styles.css">
15-
16-
<meta name="description" content="css library API docs, for the Dart programming language.">
1716
<link rel="icon" href="static-assets/favicon.png">
1817

1918
<!-- Do not remove placeholder -->

test_package_docs/css/theOnlyThingInTheLibrary.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,15 @@
44
<meta charset="utf-8">
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">
66
<meta name="viewport" content="width=device-width, initial-scale=1">
7+
<meta name="description" content="API docs for the theOnlyThingInTheLibrary property from the css library, for the Dart programming language.">
78
<title>theOnlyThingInTheLibrary property - css library - Dart API</title>
89
<!-- required because all the links are pseudo-absolute -->
910
<base href="..">
1011

11-
<link href='https://fonts.googleapis.com/css?family=Source+Code+Pro|Roboto:500,400italic,300,400' rel='stylesheet' type='text/css'>
12+
<link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Source+Code+Pro|Roboto:500,400italic,300,400' type='text/css'>
1213
<link rel="stylesheet" href="static-assets/prettify.css">
1314
<link rel="stylesheet" href="static-assets/css/bootstrap.min.css">
1415
<link rel="stylesheet" href="static-assets/styles.css">
15-
16-
<meta name="description" content="API docs for the theOnlyThingInTheLibrary property from the css library, for the Dart programming language.">
1716
<link rel="icon" href="static-assets/favicon.png">
1817

1918
<!-- Do not remove placeholder -->

test_package_docs/ex/Animal-class.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,15 @@
44
<meta charset="utf-8">
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">
66
<meta name="viewport" content="width=device-width, initial-scale=1">
7+
<meta name="description" content="API docs for the Animal enum from the ex library, for the Dart programming language.">
78
<title>Animal enum - ex library - Dart API</title>
89
<!-- required because all the links are pseudo-absolute -->
910
<base href="..">
1011

11-
<link href='https://fonts.googleapis.com/css?family=Source+Code+Pro|Roboto:500,400italic,300,400' rel='stylesheet' type='text/css'>
12+
<link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Source+Code+Pro|Roboto:500,400italic,300,400' type='text/css'>
1213
<link rel="stylesheet" href="static-assets/prettify.css">
1314
<link rel="stylesheet" href="static-assets/css/bootstrap.min.css">
1415
<link rel="stylesheet" href="static-assets/styles.css">
15-
16-
<meta name="description" content="API docs for the Animal enum from the ex library, for the Dart programming language.">
1716
<link rel="icon" href="static-assets/favicon.png">
1817

1918
<!-- Do not remove placeholder -->

test_package_docs/ex/Apple-class.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,15 @@
44
<meta charset="utf-8">
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">
66
<meta name="viewport" content="width=device-width, initial-scale=1">
7+
<meta name="description" content="API docs for the Apple class from the ex library, for the Dart programming language.">
78
<title>Apple class - ex library - Dart API</title>
89
<!-- required because all the links are pseudo-absolute -->
910
<base href="..">
1011

11-
<link href='https://fonts.googleapis.com/css?family=Source+Code+Pro|Roboto:500,400italic,300,400' rel='stylesheet' type='text/css'>
12+
<link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Source+Code+Pro|Roboto:500,400italic,300,400' type='text/css'>
1213
<link rel="stylesheet" href="static-assets/prettify.css">
1314
<link rel="stylesheet" href="static-assets/css/bootstrap.min.css">
1415
<link rel="stylesheet" href="static-assets/styles.css">
15-
16-
<meta name="description" content="API docs for the Apple class from the ex library, for the Dart programming language.">
1716
<link rel="icon" href="static-assets/favicon.png">
1817

1918
<!-- Do not remove placeholder -->

0 commit comments

Comments
 (0)