подправил стили для кода примеров. Добавил std, v2, tools, v2.ll.
This commit is contained in:
parent
2c27a64ea0
commit
73f3735bb6
54 changed files with 1579 additions and 342 deletions
|
@ -139,6 +139,7 @@ nav
|
|||
|
||||
padding-left: 16px;
|
||||
padding-right: 16px;
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
|
||||
/*nav ul {*/
|
||||
|
@ -218,6 +219,20 @@ h5, .container-overview .subsection-title
|
|||
margin: 8px 0 3px 0;
|
||||
}
|
||||
|
||||
.container-overview > h3 {
|
||||
margin-top: 16px;
|
||||
margin-bottom: 0px;
|
||||
padding-bottom: 0px;
|
||||
}
|
||||
|
||||
.container-overview > pre {
|
||||
margin-top: 5px;
|
||||
}
|
||||
.container-overview > div.description > p {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/*article .container-overview {*/
|
||||
/*padding-bottom: 30px;*/
|
||||
/*}*/
|
||||
|
|
|
@ -19,6 +19,8 @@
|
|||
}
|
||||
.min-methods .list .compact-method .access{
|
||||
padding-right: 10px;
|
||||
display: inline-block;
|
||||
width: 50px;
|
||||
}
|
||||
.min-methods .list .compact-method .name{
|
||||
color: #0137ff;
|
||||
|
@ -63,4 +65,9 @@
|
|||
font-size: 20px;
|
||||
font-weight: normal;
|
||||
min-width: initial;
|
||||
}
|
||||
|
||||
.parameter > .description > p {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
|
@ -9,15 +9,18 @@
|
|||
@media screen {
|
||||
/* string content */
|
||||
.str {
|
||||
color: #718c00; }
|
||||
color: #c51916; }
|
||||
|
||||
/* a keyword */
|
||||
.kwd {
|
||||
color: #8959a8; }
|
||||
color: #ab0d90;
|
||||
}
|
||||
|
||||
/* a comment */
|
||||
.com {
|
||||
color: #8e908c; }
|
||||
color: hsl(120, 100%, 23%);
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/* a type name */
|
||||
.typ {
|
||||
|
|
|
@ -66,7 +66,7 @@
|
|||
<div class="description"><?js= replaces_description ?></div>
|
||||
<?js } ?>
|
||||
|
||||
<?js= self.partial('details.tmpl', doc) ?>
|
||||
<?js // self.partial('details.tmpl', doc) ?>
|
||||
|
||||
<?js if (doc.examples && doc.examples.length) { ?>
|
||||
<h3>Example<?js= doc.examples.length > 1? 's':'' ?></h3>
|
||||
|
|
|
@ -15,7 +15,7 @@ var ryba = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eius
|
|||
<?js } ?>
|
||||
|
||||
<div class="short bdotted part">
|
||||
<span class="access">(<?js= method.access ?>)</span>
|
||||
<span class="access">(<?js= (method.access ? method.access : method.scope) ?>)</span>
|
||||
<span class="name"><?js= method.name ?></span>
|
||||
|
||||
<?js= self.partial('full_method/params_compact.tmpl', method.params) ?>
|
||||
|
|
|
@ -43,8 +43,10 @@ var self = this;
|
|||
<?js } ?>
|
||||
|
||||
<?js if (data.params && params.length && !data.hideconstructor) { ?>
|
||||
<h5>Parameters:</h5>
|
||||
<?js= this.partial('params.tmpl', params) ?>
|
||||
<div class="params-desc bdotted part">
|
||||
<div class="title">Params</div>
|
||||
<?js= this.partial('full_method/params_full.tmpl', params) ?>
|
||||
</div>
|
||||
<?js } ?>
|
||||
|
||||
<?js= this.partial('details.tmpl', data) ?>
|
||||
|
|
|
@ -6,7 +6,7 @@ var self = this;
|
|||
?>
|
||||
|
||||
<div class="compact-method">
|
||||
<span class="access"> <?js= data.access ?></span>
|
||||
<span class="access"> <?js= (data.access ? data.access : data.scope) ?></span>
|
||||
<span class="name"><a href="#<?js= data.id ?>"><?js= name ?></a></span>
|
||||
|
||||
<span class="params">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue