Skip to content

Commit eaa68a0

Browse files
ptzieglerakurtakov
authored andcommitted
Migrate "reference" documents to HTML5
This change includes: - Changing the doctype to "html". - Simplifying the "Content-Type" meta element to only retain the encoding. The remaining attributes match the default settings and can be omitted. - Removing the obsolete "charset" attribute of the "link" element. The encoding is specified via the "Content-Type" header of the linked document. - Removing the redundant "type" attribute for the "style" element. CSS is the default type and can therefore be omitted. - Removing the obsolete "Content-Style-Type" meta element. Styles use CSS by default, so there is no need to set it globally for the document. - Removing the obsolete "Content-Language" meta element. The document language is specified at the root element. - Converting the obsolete "name" attribute of anchor points to "id" attributes of their nearest container and removing the "a" element all-together. - Translating the styling of HTML elements to CSS. - Cleaning up of broken HTML and/or references.
1 parent 6de18bc commit eaa68a0

27 files changed

+392
-376
lines changed

eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/reference/extension-points/index.html

Lines changed: 27 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
1-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3-
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
1+
<!DOCTYPE html>
2+
<html lang="en">
43
<head>
54
<meta name="copyright" content=
65
"Copyright (c) 2000, 2016 IBM Corporation and others. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." />
7-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6+
<meta charset="utf-8">
87
<title>
98
Platform Extension Points
109
</title>
11-
<link rel="STYLESHEET" href="../../book.css" charset="ISO-8859-1" type=
12-
"text/css" />
13-
<style type="text/css">
10+
<link rel="STYLESHEET" href="../../book.css" type="text/css">
11+
<style>
1412
/*<![CDATA[*/
1513
:link { color: #0000FF }
1614
:visited { color: #800080 }
@@ -24,8 +22,8 @@ <h1 class="c1">
2422
Platform Extension Points
2523
</h1>The following extension points can be used to extend the capabilities
2624
of the platform infrastructure:
27-
<h3>
28-
<a name="runtime" id="runtime"></a>Platform Runtime
25+
<h3 id="runtime">
26+
Platform Runtime
2927
</h3>
3028
<ul>
3129
<li>
@@ -60,8 +58,8 @@ <h3>
6058
"org_eclipse_equinox_preferences_preferences.html">org.eclipse.equinox.preferences.preferences</a>
6159
</li>
6260
</ul>
63-
<h3>
64-
<a name="workspace" id="workspace"></a>Workspace
61+
<h3 id="workspace">
62+
Workspace
6563
</h3>
6664
<ul>
6765

@@ -112,8 +110,8 @@ <h3>
112110
"org_eclipse_core_resources_variableResolvers.html">org.eclipse.core.resources.variableResolvers</a>
113111
</li>
114112
</ul>
115-
<h3>
116-
<a name="text" id="text"></a>Platform Text
113+
<h3 id="text">
114+
Platform Text
117115
</h3>
118116
<ul>
119117
<li>
@@ -211,8 +209,8 @@ <h3>
211209
</li>
212210
</ul>
213211

214-
<h3>
215-
<a name="workbench" id="workbench"></a>Workbench
212+
<h3 id="workbench">
213+
Workbench
216214
</h3>
217215
<ul>
218216
<li>
@@ -473,8 +471,8 @@ <h3>
473471
"org_eclipse_ui_workingSets.html">org.eclipse.ui.workingSets</a>
474472
</li>
475473
</ul>
476-
<h3>
477-
<a name="team" id="team"></a>Team
474+
<h3 id="team">
475+
Team
478476
</h3>
479477
<ul>
480478
<!-- Bug 467584: [JSch] document org.eclipse.jsch.core.authenticator extension-point
@@ -532,8 +530,8 @@ <h3>
532530
"org_eclipse_team_ui_teamDecorators.html">org.eclipse.team.ui.teamDecorators</a>
533531
</li>
534532
</ul>
535-
<h3>
536-
<a name="debug" id="debug"></a>Debug
533+
<h3 id="debug">
534+
Debug
537535
</h3>
538536

539537
<ul>
@@ -688,8 +686,8 @@ <h3>
688686
</li>
689687
</ul>
690688

691-
<h3>
692-
<a name="console" id="console"></a>Console
689+
<h3 id="console">
690+
Console
693691
</h3>
694692
<ul>
695693
<li>
@@ -706,8 +704,8 @@ <h3>
706704
"org_eclipse_ui_console_consolePatternMatchListeners.html">org.eclipse.ui.console.consolePatternMatchListeners</a>
707705
</li>
708706
</ul>
709-
<h3>
710-
<a name="ua" id="ua"></a>User Assistance
707+
<h3 id="ua">
708+
User Assistance
711709
</h3>
712710
<ul>
713711

@@ -822,8 +820,8 @@ <h3>
822820
</li>
823821
</ul>
824822

825-
<h3>
826-
<a name="ltk" id="ltk"></a>Language Toolkit
823+
<h3 id="ltk">
824+
Language Toolkit
827825
</h3>
828826
<ul>
829827
<li>
@@ -862,8 +860,8 @@ <h3>
862860
"org_eclipse_ltk_ui_refactoring_statusContextViewers.html">org.eclipse.ltk.ui.refactoring.statusContextViewers</a>
863861
</li>
864862
</ul>
865-
<h3>
866-
<a name="security" id="security"></a>Security
863+
<h3 id="security">
864+
Security
867865
</h3>
868866
<ul>
869867

@@ -890,8 +888,8 @@ <h3>
890888
</li>
891889
</ul>
892890

893-
<h3>
894-
<a name="other" id="other"></a>Other
891+
<h3 id="other">
892+
Other
895893
</h3>
896894
<ul>
897895
<li>

eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/reference/misc/about_customization.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
1+
<!DOCTYPE HTML>
22
<html lang="en">
33

44
<head>
55

66
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2005. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
77

8-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
9-
<link rel="STYLESHEET" href="../../book.css" charset="ISO-8859-1" type="text/css">
8+
<meta charset="utf-8">
9+
<link rel="STYLESHEET" href="../../book.css" type="text/css">
1010
<title>About.ini File Format</title>
1111
</head>
1212

eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/reference/misc/api-usage-rules.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html lang="en">
1+
<!DOCTYPE HTML><html lang="en">
22
<HEAD>
33

44
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2011. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
55

6-
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
7-
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
8-
<link REL="STYLESHEET" HREF="../../book.css" CHARSET="ISO-8859-1" TYPE="text/css">
6+
<META charset="utf-8">
7+
<link REL="STYLESHEET" HREF="../../book.css" TYPE="text/css">
98
<title>Eclipse Platform API - Rules of Engagement</title>
109

1110

eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/reference/misc/bidi.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html lang="en">
1+
<!DOCTYPE HTML><html lang="en">
22
<head>
33

44
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2013. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
5-
<meta http-equiv="Content-Language" content="en-us">
6-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
7-
<link REL="STYLESHEET" HREF="../../book.css" CHARSET="ISO-8859-1" TYPE="text/css">
5+
<meta charset="utf-8">
6+
<link REL="STYLESHEET" HREF="../../book.css" TYPE="text/css">
87
<title>Supporting bidirectional text</title>
98
</head>
109
<BODY>

eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/reference/misc/buddy_loading.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
1+
<!DOCTYPE HTML>
22
<html lang="en">
33
<head>
44

55
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2005. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
66

7-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
8-
<link REL="STYLESHEET" HREF="../../book.css" CHARSET="ISO-8859-1" TYPE="text/css">
7+
<meta charset="utf-8">
8+
<link REL="STYLESHEET" HREF="../../book.css" TYPE="text/css">
99
<title>Third party libraries and classloading</title>
1010
</head>
1111
<body>

eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/reference/misc/bundle_manifest.html

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
1-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
1+
<!DOCTYPE HTML>
22
<html lang="en">
33

44
<head>
55
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2005, 2011. This page is made available under license. Full for details see the LEGAL in the documentation book that contains this page." >
66

7-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
8-
<link REL="STYLESHEET" HREF="../../book.css" CHARSET="ISO-8859-1" TYPE="text/css">
7+
<meta charset="utf-8">
8+
<link REL="STYLESHEET" HREF="../../book.css" TYPE="text/css">
99
<title>OSGi Bundle Manifest</title>
10+
<style>
11+
ul.disc { list-style-type: disc; }
12+
</style>
1013
</head>
1114

1215
<body>
@@ -214,7 +217,7 @@ <h3>The Eclipse-PlatformFilter Header</h3>
214217
The Framework supports filtering on the following system properties:
215218
</p>
216219

217-
<ul type="disc">
220+
<ul class="disc">
218221
<li><b>osgi.nl</b> - the platform language setting.</li>
219222
<li><b>osgi.os</b> - the platform operating system.</li>
220223
<li><b>osgi.arch</b> - the platform architecture.</li>
@@ -482,7 +485,7 @@ <h3>The Model-Fragment Header</h3>
482485
Model-Fragment ::= filename;apply= ( 'always' | 'initial' | 'notexists' )
483486
</pre>
484487

485-
488+
<p>
486489
The following is an example of the Model-Fragment header:
487490
</p>
488491

@@ -492,12 +495,12 @@ <h3>The Model-Fragment Header</h3>
492495

493496
<p>
494497
The <code>apply</code> attribute is optional and defaults to <code>always</code>. It can have the following values:
495-
<ul>
496-
<li><b>always</b>: each time the application started potentially replacing existing model elements and loosing information stored</li>
497-
<li><b>initial</b>: only when coming from a none persistent state</li>
498-
<li><b>notexists</b>: only if the given element does not exist already in the model</li>
499-
</ul>
500498
</p>
499+
<ul>
500+
<li><b>always</b>: each time the application started potentially replacing existing model elements and loosing information stored</li>
501+
<li><b>initial</b>: only when coming from a none persistent state</li>
502+
<li><b>notexists</b>: only if the given element does not exist already in the model</li>
503+
</ul>
501504

502505
</div>
503506

eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/reference/misc/eclipse-install.html

Lines changed: 27 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,21 @@
1-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
1+
<!DOCTYPE HTML>
22
<html lang="en">
33

44
<head>
55

66
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2011. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
77

8-
<meta http-equiv="Content-Language" content="en-us">
9-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
10-
<link REL="STYLESHEET" HREF="../../book.css" CHARSET="ISO-8859-1" TYPE="text/css">
8+
<meta charset="utf-8">
9+
<link REL="STYLESHEET" HREF="../../book.css" TYPE="text/css">
1110
<title>How to write an Eclipse installer</title>
11+
<style>
12+
table, td {
13+
border: 1px;
14+
width: 50%;
15+
}
16+
table { border-style: outset; }
17+
td { border-style: inset; }
18+
</style>
1219
</head>
1320

1421
<body>
@@ -181,26 +188,26 @@ <h2>Product Installer Creation Script</h2>
181188
<p>If the location specified in step 5 is &lt;<code><i>install</i></code>&gt;,
182189
the installer copies all the files in the &lt;<i><code>JRE</code></i>&gt;, <code>&lt;<i>platform</i>&gt;, </code> &lt;<i><code>product</code></i>&gt;,&nbsp;
183190
and <code>&lt;<i>product plug-ins</i>&gt;</code> directories into &lt;<code><i>install</i></code>&gt;.</p>
184-
<table border="1" width="50%">
191+
<table>
185192
<tr>
186-
<td width="50%">Input file</td>
187-
<td width="50%">Installed file</td>
193+
<td>Input file</td>
194+
<td>Installed file</td>
188195
</tr>
189196
<tr>
190-
<td width="50%"><code>&lt;<i>JRE</i>&gt;/*</code></td>
191-
<td width="50%"><code>&lt;<i>install</i>&gt;/eclipse/*</code></td>
197+
<td><code>&lt;<i>JRE</i>&gt;/*</code></td>
198+
<td><code>&lt;<i>install</i>&gt;/eclipse/*</code></td>
192199
</tr>
193200
<tr>
194-
<td width="50%"><code>&lt;<i>product head</i>&gt;/*</code></td>
195-
<td width="50%"><code>&lt;<i>install</i>&gt;/*</code></td>
201+
<td><code>&lt;<i>product head</i>&gt;/*</code></td>
202+
<td><code>&lt;<i>install</i>&gt;/*</code></td>
196203
</tr>
197204
<tr>
198-
<td width="50%"><code>&lt;<i>product body</i>&gt;/*</code></td>
199-
<td width="50%"><code>&lt;<i>install</i>&gt;/*</code></td>
205+
<td><code>&lt;<i>product body</i>&gt;/*</code></td>
206+
<td><code>&lt;<i>install</i>&gt;/*</code></td>
200207
</tr>
201208
<tr>
202-
<td width="50%"><code>&lt;<i>platform</i>&gt;/*</code></td>
203-
<td width="50%"><code>&lt;<i>install</i>&gt;/*</code></td>
209+
<td><code>&lt;<i>platform</i>&gt;/*</code></td>
210+
<td><code>&lt;<i>install</i>&gt;/*</code></td>
204211
</tr>
205212
</table>
206213
<p>The marker file created in step 8 is <code>&lt;<i>install</i>&gt;/eclipse/.eclipseproduct</code>
@@ -398,14 +405,14 @@ <h2>Extension Installer Creation Script</h2>
398405
<p>If the location specified in step 5 is &lt;<code><i>install</i></code>&gt;,
399406
the installer copies all the files in the <code>&lt;<i>extension</i>&gt; </code>directory
400407
into &lt;<code><i>install</i></code>&gt; in step 11.</p>
401-
<table border="1" width="50%">
408+
<table>
402409
<tr>
403-
<td width="50%">Input file</td>
404-
<td width="50%">Installed file</td>
410+
<td>Input file</td>
411+
<td>Installed file</td>
405412
</tr>
406413
<tr>
407-
<td width="50%"><code>&lt;<i>extension</i>&gt;/*</code></td>
408-
<td width="50%"><code>&lt;<i>install</i>&gt;/*</code></td>
414+
<td><code>&lt;<i>extension</i>&gt;/*</code></td>
415+
<td><code>&lt;<i>install</i>&gt;/*</code></td>
409416
</tr>
410417
</table>
411418
<p>For step 7, any Eclipse product might be a candidate. Eclipse-based product

eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/reference/misc/eclipsestarter.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
1+
<!DOCTYPE HTML>
22
<html lang="en">
33

44
<head>
55

66
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2007. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
77

8-
<meta http-equiv="Content-Language" content="en-us">
9-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
10-
<link REL="STYLESHEET" HREF="../../book.css" CHARSET="ISO-8859-1" TYPE="text/css">
8+
<meta charset="utf-8">
9+
<link REL="STYLESHEET" HREF="../../book.css" TYPE="text/css">
1110
<title>Starting Eclipse from Java</title>
1211
</head>
1312

eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/reference/misc/feature_archive.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
1+
<!DOCTYPE HTML>
22
<html lang="en">
33
<head>
44

55
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2005. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
66

7-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
8-
<link REL="STYLESHEET" HREF="../../book.css" CHARSET="ISO-8859-1" TYPE="text/css">
7+
<meta charset="utf-8">
8+
<link REL="STYLESHEET" HREF="../../book.css" TYPE="text/css">
99
<title>Feature Archives</title>
1010
</head>
1111
<body>

eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/reference/misc/feature_manifest.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
1+
<!DOCTYPE HTML>
22
<html lang="en">
33
<head>
44

55
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2012. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
66

7-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
8-
<link REL="STYLESHEET" HREF="../../book.css" CHARSET="ISO-8859-1" TYPE="text/css">
7+
<meta charset="utf-8">
8+
<link REL="STYLESHEET" HREF="../../book.css" TYPE="text/css">
99
<title>Feature Manifest</title>
1010
</head>
1111
<body>

0 commit comments

Comments
 (0)