Imported Upstream version 5.4.0.167
Former-commit-id: 5624ac747d633e885131e8349322922b6a59baaa
1
external/api-doc-tools/monodoc/Resources/.gitattributes
vendored
Normal file
@ -0,0 +1 @@
|
||||
/helper.js -crlf
|
BIN
external/api-doc-tools/monodoc/Resources/Lminus.gif
vendored
Normal file
After Width: | Height: | Size: 337 B |
BIN
external/api-doc-tools/monodoc/Resources/Lplus.gif
vendored
Normal file
After Width: | Height: | Size: 333 B |
45
external/api-doc-tools/monodoc/Resources/base.css
vendored
Normal file
@ -0,0 +1,45 @@
|
||||
/*
|
||||
* base.css: CSS applied to all the docs
|
||||
*
|
||||
* Author: Mario Sopena
|
||||
*/
|
||||
|
||||
body, table {
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
body, table, pre, p {
|
||||
font-family: @@FONT_FAMILY@@, sans-serif;
|
||||
/* font-size: @@FONT_SIZE@@pt; */
|
||||
font-size: 11pt;
|
||||
}
|
||||
|
||||
div.header {
|
||||
background-color: #FAFBFD;
|
||||
font-size: 1.7em;
|
||||
font-weight: bold;
|
||||
padding: 8px 0 0 10px;
|
||||
font-family: 'Segoe UI',Verdana,Arial;
|
||||
}
|
||||
|
||||
div.title {
|
||||
font-size: 130%;
|
||||
font-weight: bolder;
|
||||
margin-top: 0.3em;
|
||||
margin-left: 0.2em;
|
||||
margin-bottom: 0.1em;
|
||||
}
|
||||
|
||||
.subtitle {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.attributionlogo {
|
||||
display:none;
|
||||
float:right;
|
||||
}
|
||||
|
||||
div:hover > .attributionlogo,p:hover > .attributionlogo,td:hover > .attributionlogo,blockquote:hover > .attributionlogo {
|
||||
display:inline;
|
||||
float:right;
|
||||
}
|
BIN
external/api-doc-tools/monodoc/Resources/creativecommons.png
vendored
Normal file
After Width: | Height: | Size: 4.3 KiB |
98
external/api-doc-tools/monodoc/Resources/ecmaspec-html-css.xsl
vendored
Normal file
@ -0,0 +1,98 @@
|
||||
<?xml version="1.0"?>
|
||||
<xsl:stylesheet
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
version="1.0"
|
||||
xmlns:monodoc="monodoc:///extensions"
|
||||
exclude-result-prefixes="monodoc"
|
||||
>
|
||||
<xsl:output omit-xml-declaration="yes" />
|
||||
|
||||
<xsl:template match="/clause">
|
||||
<div class="header" id="ecmaspec">
|
||||
<div class="subtitle">ECMA-334 C# Language Specification</div>
|
||||
<div class="title"><xsl:value-of select="@number"/>: <xsl:value-of select="@title"/>
|
||||
<xsl:if test="@informative"> (informative) </xsl:if></div>
|
||||
</div>
|
||||
<xsl:apply-templates />
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="paragraph">
|
||||
<p>
|
||||
<xsl:apply-templates />
|
||||
</p>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="keyword">
|
||||
<span class="keyword"> <xsl:apply-templates/></span> <xsl:text> </xsl:text>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="hyperlink">
|
||||
<a href="ecmaspec:{.}">
|
||||
<xsl:value-of select="." />
|
||||
</a>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="list">
|
||||
<ul>
|
||||
<xsl:for-each select="list_item|list">
|
||||
<li><xsl:apply-templates /></li>
|
||||
</xsl:for-each>
|
||||
</ul>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="code_example">
|
||||
<div class="code_example">
|
||||
<div class="code_ex_title">Code example</div>
|
||||
<span class="code">
|
||||
<xsl:value-of select="monodoc:Colorize(string(descendant-or-self::text()), string('csharp'))" disable-output-escaping="yes" />
|
||||
</span>
|
||||
</div>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="symbol">
|
||||
<span class="symbol">
|
||||
<xsl:apply-templates />
|
||||
</span>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="grammar_production">
|
||||
<dl class="nt_{name/non_terminal/.}">
|
||||
<dt><xsl:value-of select="name/non_terminal/." /></dt>
|
||||
|
||||
<xsl:for-each select="rhs">
|
||||
<dd>
|
||||
<xsl:apply-templates select="node()" />
|
||||
</dd>
|
||||
</xsl:for-each>
|
||||
</dl>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="non_terminal">
|
||||
<span class="non_terminal"><xsl:text> </xsl:text><xsl:value-of select="." /></span>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="terminal">
|
||||
<span class="terminal"><xsl:text> </xsl:text><xsl:value-of select="." /></span>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="opt">
|
||||
<xsl:text> (</xsl:text><span class="opt">optional</span><xsl:text>) </xsl:text>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="note|example">
|
||||
<div class="note">
|
||||
<xsl:apply-templates />
|
||||
</div>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="table_line">
|
||||
<xsl:apply-templates /><br />
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="@*|node()">
|
||||
<xsl:copy>
|
||||
<xsl:apply-templates select="@*|node()"/>
|
||||
</xsl:copy>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
96
external/api-doc-tools/monodoc/Resources/ecmaspec-html.xsl
vendored
Normal file
@ -0,0 +1,96 @@
|
||||
<?xml version="1.0"?>
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
||||
<xsl:output omit-xml-declaration="yes" />
|
||||
|
||||
<xsl:template match="/clause">
|
||||
<table width="100%" cellpadding="5">
|
||||
<tr bgcolor="#b0c4de"><td>
|
||||
<i>ECMA-334 C# Language Specification</i>
|
||||
|
||||
<h3>
|
||||
<xsl:value-of select="@number"/>: <xsl:value-of select="@title"/>
|
||||
|
||||
<xsl:if test="@informative">
|
||||
(informative)
|
||||
</xsl:if>
|
||||
</h3>
|
||||
</td></tr>
|
||||
</table>
|
||||
|
||||
<xsl:apply-templates />
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="paragraph">
|
||||
<p>
|
||||
<xsl:apply-templates />
|
||||
</p>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="keyword">
|
||||
<i> <xsl:apply-templates/></i> <xsl:text> </xsl:text>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="hyperlink">
|
||||
<a href="ecmaspec:{.}">
|
||||
<xsl:value-of select="." />
|
||||
</a>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="list">
|
||||
<ul>
|
||||
<xsl:for-each select="list_item|list">
|
||||
<li><xsl:apply-templates /></li>
|
||||
</xsl:for-each>
|
||||
</ul>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="code_example">
|
||||
<table bgcolor="#f5f5dd" border="1" cellpadding="5">
|
||||
<tr>
|
||||
<td>
|
||||
<pre>
|
||||
<xsl:apply-templates />
|
||||
</pre>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="symbol">
|
||||
<code>
|
||||
<xsl:apply-templates />
|
||||
</code>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="grammar_production">
|
||||
<dl id="nt_{name/non_terminal/.}">
|
||||
<dt><xsl:value-of select="name/non_terminal/." /></dt>
|
||||
|
||||
<xsl:for-each select="rhs">
|
||||
<dd>
|
||||
<xsl:apply-templates select="node()" />
|
||||
</dd>
|
||||
</xsl:for-each>
|
||||
</dl>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="non_terminal">
|
||||
|
||||
<code><xsl:text> </xsl:text><xsl:value-of select="." /></code>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="terminal">
|
||||
<code><xsl:text> </xsl:text><xsl:value-of select="." /></code>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="opt">
|
||||
<sub>opt</sub>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="@*|node()">
|
||||
<xsl:copy>
|
||||
<xsl:apply-templates select="@*|node()"/>
|
||||
</xsl:copy>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
68
external/api-doc-tools/monodoc/Resources/ecmaspec.css
vendored
Normal file
@ -0,0 +1,68 @@
|
||||
/*
|
||||
* ecmaspec.css: CSS applied to ECMA C# specs
|
||||
*
|
||||
* Author: Mario Sopena
|
||||
*/
|
||||
|
||||
#ecmaspec {
|
||||
background: #a4dda4; /*#83b183;*/
|
||||
border: 2px solid #556655;
|
||||
}
|
||||
|
||||
p {
|
||||
margin-top: .5em;
|
||||
margin-bottom: .5em;
|
||||
}
|
||||
|
||||
span.keyword {
|
||||
color: #a6563a;
|
||||
}
|
||||
|
||||
a:link {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
div.code_example {
|
||||
background: #f5f5dd;
|
||||
border: 1px solid #cdcd82;
|
||||
border: 1px solid black;
|
||||
padding-left: 1em;
|
||||
padding-bottom: 1em;
|
||||
margin-top: 1em;
|
||||
font-family: fixed;
|
||||
white-space: pre;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
div.code_ex_title {
|
||||
position: relative;
|
||||
top: -1em;
|
||||
left: 30%;
|
||||
background: #cdcd82;
|
||||
border: 1px solid black;
|
||||
color: black;
|
||||
text-transform: uppercase;
|
||||
width: 40%;
|
||||
padding: 0.3em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
span.symbol {
|
||||
font-weight: bolder;
|
||||
}
|
||||
|
||||
|
||||
span.optional {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
div.note {
|
||||
background: #cdcd82;
|
||||
border: 1px solid black;
|
||||
padding: 1em;
|
||||
margin-top: 1em;
|
||||
margin-bottom: 1em;
|
||||
}
|
12
external/api-doc-tools/monodoc/Resources/helper.js
vendored
Executable file
@ -0,0 +1,12 @@
|
||||
function toggle_display (block) {
|
||||
var w = document.getElementById (block);
|
||||
var t = document.getElementById (block + ":toggle");
|
||||
if (w.style.display == "none") {
|
||||
w.style.display = "block";
|
||||
t.getElementsByTagName("img")[0].setAttribute ("src", "xtree/images/clean/Lminus.gif"); // <img src="xtree/images/clean/Lminus.gif">
|
||||
} else {
|
||||
w.style.display = "none";
|
||||
t.getElementsByTagName("img")[0].setAttribute ("src", "xtree/images/clean/Lplus.gif"); // <img src="xtree/images/clean/Lplus.gif">
|
||||
}
|
||||
}
|
||||
|
17
external/api-doc-tools/monodoc/Resources/home.html
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
<html>
|
||||
<head>
|
||||
<link type="text/css" rel="stylesheet" href="mono-ecma.css"/>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="Content">
|
||||
<p>The following documentation collections are available:</p>
|
||||
|
||||
<div id="docs">
|
||||
<ul>
|
||||
@@API_DOCS@@
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
BIN
external/api-doc-tools/monodoc/Resources/images/bc_bg.png
vendored
Normal file
After Width: | Height: | Size: 171 B |
BIN
external/api-doc-tools/monodoc/Resources/images/bc_separator.png
vendored
Normal file
After Width: | Height: | Size: 517 B |
BIN
external/api-doc-tools/monodoc/Resources/images/error.png
vendored
Normal file
After Width: | Height: | Size: 666 B |
BIN
external/api-doc-tools/monodoc/Resources/images/hatch.png
vendored
Normal file
After Width: | Height: | Size: 642 B |
BIN
external/api-doc-tools/monodoc/Resources/images/headerbg.png
vendored
Normal file
After Width: | Height: | Size: 8.0 KiB |
BIN
external/api-doc-tools/monodoc/Resources/images/help.png
vendored
Normal file
After Width: | Height: | Size: 786 B |
BIN
external/api-doc-tools/monodoc/Resources/images/house.png
vendored
Normal file
After Width: | Height: | Size: 806 B |
BIN
external/api-doc-tools/monodoc/Resources/images/members.png
vendored
Normal file
After Width: | Height: | Size: 344 B |
BIN
external/api-doc-tools/monodoc/Resources/images/namespace.png
vendored
Normal file
After Width: | Height: | Size: 679 B |
BIN
external/api-doc-tools/monodoc/Resources/images/privclass.png
vendored
Normal file
After Width: | Height: | Size: 723 B |