зеркало из https://github.com/telerik/docs-seed.git
Merge pull request #10 from telerik/ajax-migration
ASP.NET AJAX migration
This commit is contained in:
Коммит
7b84c35c98
|
@ -421,6 +421,10 @@ $hover-text: darken($text-color, 10%);
|
|||
background: transparent url(image_path("logo-dpl.svg")) no-repeat 0 50%;
|
||||
}
|
||||
|
||||
&.brand-platform-aspnet-ajax {
|
||||
background: transparent url(image_path("logo-aspnet-ajax.svg")) no-repeat 0 50%;
|
||||
}
|
||||
|
||||
&::before {
|
||||
// preload scroll logo
|
||||
content: " ";
|
||||
|
@ -439,6 +443,10 @@ $hover-text: darken($text-color, 10%);
|
|||
&.brand-platform-dpl {
|
||||
background-image: url(image_path("logo-scroll-dpl.svg"));
|
||||
}
|
||||
|
||||
&.brand-platform-aspnet-ajax {
|
||||
background-image: url(image_path("logo-scroll-aspnet-ajax.svg"));
|
||||
}
|
||||
}
|
||||
|
||||
.scroll & {
|
||||
|
@ -458,6 +466,10 @@ $hover-text: darken($text-color, 10%);
|
|||
&.brand-platform-dpl {
|
||||
background: transparent url(image_path("logo-scroll-dpl.svg")) no-repeat 0 8px;
|
||||
}
|
||||
|
||||
&.brand-platform-aspnet-ajax {
|
||||
background: transparent url(image_path("logo-scroll-aspnet-ajax.svg")) no-repeat 0 8px;
|
||||
}
|
||||
}
|
||||
|
||||
.alt-text {
|
||||
|
@ -1436,6 +1448,8 @@ $border-color: #d9d9d9;
|
|||
.anchor-h3 {
|
||||
margin: 5px 0;
|
||||
font-family: $font-light;
|
||||
font-size: 12px;
|
||||
padding-left: 30px;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2668,6 +2682,10 @@ a.all-components {
|
|||
/* API Pages */
|
||||
|
||||
.api-reference {
|
||||
h1 {
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
h1 + p {
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
@ -2683,27 +2701,30 @@ a.all-components {
|
|||
margin-bottom: 2px;
|
||||
font-size: 20px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
code,
|
||||
.code {
|
||||
background-color: rgba(36, 137, 216, 0.8);
|
||||
color: #ffffff;
|
||||
margin-top: 3px;
|
||||
margin-left: 3px;
|
||||
padding: 3px 4px;
|
||||
font-size: 13px;
|
||||
line-height: 10px;
|
||||
h3,
|
||||
h4,
|
||||
h4 ~ p {
|
||||
code,
|
||||
.code {
|
||||
background-color: rgba(39, 163, 6, 0.8);
|
||||
color: #ffffff;
|
||||
margin-top: 3px;
|
||||
padding: 3px 4px;
|
||||
font-size: 13px;
|
||||
line-height: 10px;
|
||||
|
||||
a:hover,
|
||||
a:focus,
|
||||
a:active {
|
||||
color: #fff;
|
||||
a:hover,
|
||||
a:focus,
|
||||
a:active {
|
||||
color: #fff;
|
||||
|
||||
&::after {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
&::after {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
h4 {
|
||||
|
@ -2730,9 +2751,8 @@ a.all-components {
|
|||
|
||||
code,
|
||||
.code {
|
||||
background-color: rgba(36, 137, 216, 0.8);
|
||||
background-color: rgba(39, 163, 6, 0.8);
|
||||
color: #ffffff;
|
||||
margin-left: 3px;
|
||||
padding: 1px 3px 2px;
|
||||
font-size: 13px;
|
||||
font-weight: 400;
|
||||
|
|
|
@ -0,0 +1,61 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 22.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<svg version="1.1" id="logos" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 561 62" style="enable-background:new 0 0 561 62;" xml:space="preserve">
|
||||
<style type="text/css">
|
||||
.st0{fill:#4B4E52;}
|
||||
</style>
|
||||
<g>
|
||||
<g>
|
||||
<g>
|
||||
<path class="st0" d="M1.3,15h28.5v2.7H17V50h-2.9V17.7H1.3V15z"/>
|
||||
<path class="st0" d="M38.3,48c2.9,0,5-0.7,7.1-2.5v2.8c-1.9,1.5-4.4,2.2-7.4,2.2c-7.1,0-11.8-5-11.8-12.9
|
||||
c0-7.8,4.2-13.4,10.9-13.4c6.6,0,10,5,10,12.4v1H29.1C29.1,44.4,33.1,48,38.3,48z M29.2,35.2h15.3c-0.2-4.4-2.3-8.6-7.3-8.6
|
||||
C33.1,26.7,29.9,29.8,29.2,35.2z"/>
|
||||
<path class="st0" d="M54.3,50h-2.9V12.9h2.9V50z"/>
|
||||
<path class="st0" d="M70.6,48c2.9,0,5-0.7,7.1-2.5v2.8c-1.9,1.5-4.4,2.2-7.4,2.2c-7.1,0-11.8-5-11.8-12.9
|
||||
c0-7.8,4.2-13.4,10.9-13.4c6.6,0,10,5,10,12.4v1H61.4C61.4,44.4,65.4,48,70.6,48z M61.5,35.2h15.3c-0.2-4.4-2.3-8.6-7.3-8.6
|
||||
C65.4,26.7,62.2,29.8,61.5,35.2z"/>
|
||||
<path class="st0" d="M95.6,27.3c-0.7-0.3-1.4-0.5-2.3-0.5c-3.1,0-5.5,2.2-6.7,5.5V50h-2.9V24.7h2.9v4c1.1-2.5,3.7-4.6,6.8-4.6
|
||||
c1,0,1.7,0.2,2.2,0.3V27.3z"/>
|
||||
<path class="st0" d="M100.1,18.9c-1.1,0-1.9-0.9-1.9-1.9c0-1,0.9-1.9,1.9-1.9S102,16,102,17C102,18.1,101.2,18.9,100.1,18.9z
|
||||
M101.5,50h-2.9V24.7h2.9V50z"/>
|
||||
<path class="st0" d="M126.8,50h-3.5l-13.2-13v13h-2.9V12.9h2.9v22.8l12.8-11.1h3.7l-13.5,11.6L126.8,50z"/>
|
||||
<path class="st0" d="M145.7,36.2V15h2.9v20.8c0,8.2,4.4,12,10.5,12c6,0,10.5-3.8,10.5-12V15h2.9v21.2c0,9.6-5.9,14.3-13.5,14.3
|
||||
C151.6,50.5,145.7,45.8,145.7,36.2z"/>
|
||||
<path class="st0" d="M181.8,50h-2.9V15h2.9V50z"/>
|
||||
<path class="st0" d="M212.3,15.6c-0.7-0.4-1.6-0.6-2.6-0.6c-2.7,0-4.6,1.9-4.6,5.5v4.3h5.9v2.5h-5.9V50h-2.8V27.1h-4.1v-2.5h4.1
|
||||
v-4.6c0-4.6,3-7.7,7.1-7.7c1.1,0,2,0.2,2.9,0.5V15.6z"/>
|
||||
<path class="st0" d="M222.6,50.5c-6.7,0-11.2-5.4-11.2-13.2c0-7.8,4.5-13.2,11.2-13.2c6.7,0,11.2,5.4,11.2,13.2
|
||||
C233.8,45.2,229.3,50.5,222.6,50.5z M222.6,26.7c-5,0-8.3,4.3-8.3,10.7s3.3,10.7,8.3,10.7c5.1,0,8.4-4.3,8.4-10.7
|
||||
S227.7,26.7,222.6,26.7z"/>
|
||||
<path class="st0" d="M250,27.3c-0.7-0.3-1.4-0.5-2.3-0.5c-3.1,0-5.5,2.2-6.7,5.5V50h-2.9V24.7h2.9v4c1.1-2.5,3.7-4.6,6.8-4.6
|
||||
c1,0,1.7,0.2,2.2,0.3V27.3z"/>
|
||||
<path class="st0" d="M279.7,15l13.9,35h-2.9l-4.6-11.5h-15.5L266.1,50h-2.9L277,15H279.7z M271.6,35.9h13.5l-6.7-17.1L271.6,35.9
|
||||
z"/>
|
||||
<path class="st0" d="M295.4,43.7c3.4,3,6.8,4.2,10.8,4.2c5,0,8.2-2.5,8.2-6.6c0-3.5-2-5-6.3-6.8l-5.1-2.2c-3.6-1.5-7.6-3.6-7.6-9
|
||||
c0-5.9,5-8.9,10.6-8.9c3.6,0,7.2,1.1,9.8,3v3.2c-2.7-2.3-5.8-3.5-9.7-3.5c-4.3,0-7.8,2.1-7.8,6.2c0,3.4,2.4,4.9,6.1,6.4l5.4,2.3
|
||||
c5.1,2.2,7.5,4.7,7.5,9.2c0,5.6-4.7,9.3-11.1,9.3c-4.7,0-8.6-1.5-10.8-3.5V43.7z"/>
|
||||
<path class="st0" d="M324.7,34.9V50h-2.9V15h12.4c6.8,0,11.3,3.4,11.3,9.9c0,6.6-4.5,10-11.3,10H324.7z M334.1,17.6h-9.3v14.6
|
||||
h9.3c5.4,0,8.6-2.7,8.6-7.3C342.6,20.4,339.5,17.6,334.1,17.6z"/>
|
||||
<path class="st0" d="M343.4,45.8c1.2,0,2.2,1,2.2,2.2c0,1.2-1,2.2-2.2,2.2c-1.1,0-2.1-1-2.1-2.2
|
||||
C341.3,46.8,342.3,45.8,343.4,45.8z"/>
|
||||
<path class="st0" d="M376.8,50h-1.9l-21.4-30.4V50h-2.8V15h2.8L374,44.2V15h2.8V50z"/>
|
||||
<path class="st0" d="M405.2,15v2.7h-18.9v12.9h17.1v2.7h-17.1v14h18.9V50h-21.7V15H405.2z"/>
|
||||
<path class="st0" d="M408.2,15h28.5v2.7h-12.8V50h-2.9V17.7h-12.8V15z"/>
|
||||
<path class="st0" d="M466.9,15l13.9,35h-2.9l-4.6-11.5h-15.5L453.3,50h-2.9l13.9-35H466.9z M458.8,35.9h13.5l-6.7-17.1
|
||||
L458.8,35.9z"/>
|
||||
<path class="st0" d="M482.6,45.3c2.2,1.7,4.2,2.5,6.6,2.5c4.5,0,6.6-2.6,6.6-9V15h2.9v23.9c0,8-3.4,11.6-9.5,11.6
|
||||
c-2.9,0-5.2-1.1-6.6-2.2V45.3z"/>
|
||||
<path class="st0" d="M517,15l13.9,35h-2.9l-4.6-11.5h-15.5L503.4,50h-2.9l13.9-35H517z M508.9,35.9h13.5l-6.7-17.1L508.9,35.9z"
|
||||
/>
|
||||
<path class="st0" d="M548.4,32.2L560.8,50h-3.3l-10.8-15.4L535.9,50h-3.2l12.4-17.7l-12-17.3h3.3l10.4,14.9L557.2,15h3.2
|
||||
L548.4,32.2z"/>
|
||||
</g>
|
||||
<path class="st0" d="M133.4,26.7c-2,0-3.7-1.6-3.7-3.7c0-2.2,1.7-3.7,3.7-3.7c2,0,3.7,1.6,3.7,3.7
|
||||
C137.1,25.1,135.4,26.7,133.4,26.7 M133.4,19.9c-1.7,0-3,1.3-3,3.1c0,1.8,1.3,3.1,3,3.1c1.7,0,3-1.3,3-3.1
|
||||
C136.4,21.1,135.1,19.9,133.4,19.9 M133,23.6v1.2h-1.1V21h1.8c0.9,0,1.4,0.5,1.4,1.4c0,0.6-0.3,1-0.8,1.2l0.9,1.4h-1.2l-0.8-1.2
|
||||
H133z M133.6,21.9H133v0.9h0.6c0.3,0,0.5-0.2,0.5-0.4C134.1,22.1,133.9,21.9,133.6,21.9"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
После Ширина: | Высота: | Размер: 4.3 KiB |
|
@ -0,0 +1,92 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 22.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<svg version="1.1" id="logos" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 825 62" style="enable-background:new 0 0 825 62;" xml:space="preserve">
|
||||
<style type="text/css">
|
||||
.st0{fill:#4B4E52;}
|
||||
.st1{fill:#5CE500;}
|
||||
</style>
|
||||
<g>
|
||||
<g>
|
||||
<g>
|
||||
<path class="st0" d="M265.3,15h28.5v2.7H281V50H278V17.7h-12.8V15z"/>
|
||||
<path class="st0" d="M302.3,48c2.9,0,5-0.7,7.1-2.5v2.8c-1.9,1.5-4.4,2.2-7.4,2.2c-7.1,0-11.8-5-11.8-12.9
|
||||
c0-7.8,4.2-13.4,10.9-13.4c6.6,0,10,5,10,12.4v1h-18.2C293.1,44.4,297.1,48,302.3,48z M293.2,35.2h15.3c-0.2-4.4-2.3-8.6-7.3-8.6
|
||||
C297.1,26.7,293.9,29.8,293.2,35.2z"/>
|
||||
<path class="st0" d="M318.3,50h-2.9V12.9h2.9V50z"/>
|
||||
<path class="st0" d="M334.6,48c2.9,0,5-0.7,7.1-2.5v2.8c-1.9,1.5-4.4,2.2-7.4,2.2c-7.1,0-11.8-5-11.8-12.9
|
||||
c0-7.8,4.2-13.4,10.9-13.4c6.6,0,10,5,10,12.4v1h-18.2C325.4,44.4,329.4,48,334.6,48z M325.5,35.2h15.3c-0.2-4.4-2.3-8.6-7.3-8.6
|
||||
C329.4,26.7,326.2,29.8,325.5,35.2z"/>
|
||||
<path class="st0" d="M359.6,27.3c-0.7-0.3-1.4-0.5-2.3-0.5c-3.1,0-5.5,2.2-6.7,5.5V50h-2.9V24.7h2.9v4c1.1-2.5,3.7-4.6,6.8-4.6
|
||||
c1,0,1.7,0.2,2.2,0.3V27.3z"/>
|
||||
<path class="st0" d="M364.1,18.9c-1.1,0-1.9-0.9-1.9-1.9c0-1,0.9-1.9,1.9-1.9S366,16,366,17C366,18.1,365.2,18.9,364.1,18.9z
|
||||
M365.5,50h-2.9V24.7h2.9V50z"/>
|
||||
<path class="st0" d="M390.8,50h-3.5l-13.2-13v13h-2.9V12.9h2.9v22.8l12.8-11.1h3.7l-13.5,11.6L390.8,50z"/>
|
||||
<path class="st0" d="M409.7,36.2V15h2.9v20.8c0,8.2,4.4,12,10.5,12c6,0,10.5-3.8,10.5-12V15h2.9v21.2c0,9.6-5.9,14.3-13.5,14.3
|
||||
C415.6,50.5,409.7,45.8,409.7,36.2z"/>
|
||||
<path class="st0" d="M445.8,50h-2.9V15h2.9V50z"/>
|
||||
<path class="st0" d="M476.3,15.6c-0.7-0.4-1.6-0.6-2.6-0.6c-2.7,0-4.6,1.9-4.6,5.5v4.3h5.9v2.5h-5.9V50h-2.8V27.1h-4.1v-2.5h4.1
|
||||
v-4.6c0-4.6,3-7.7,7.1-7.7c1.1,0,2,0.2,2.9,0.5V15.6z"/>
|
||||
<path class="st0" d="M486.6,50.5c-6.7,0-11.2-5.4-11.2-13.2c0-7.8,4.5-13.2,11.2-13.2c6.7,0,11.2,5.4,11.2,13.2
|
||||
C497.8,45.2,493.3,50.5,486.6,50.5z M486.6,26.7c-5,0-8.3,4.3-8.3,10.7s3.3,10.7,8.3,10.7c5.1,0,8.4-4.3,8.4-10.7
|
||||
S491.7,26.7,486.6,26.7z"/>
|
||||
<path class="st0" d="M514,27.3c-0.7-0.3-1.4-0.5-2.3-0.5c-3.1,0-5.5,2.2-6.7,5.5V50h-2.9V24.7h2.9v4c1.1-2.5,3.7-4.6,6.8-4.6
|
||||
c1,0,1.7,0.2,2.2,0.3V27.3z"/>
|
||||
<path class="st0" d="M543.7,15l13.9,35h-2.9l-4.6-11.5h-15.5L530.1,50h-2.9L541,15H543.7z M535.6,35.9H549l-6.7-17.1L535.6,35.9z
|
||||
"/>
|
||||
<path class="st0" d="M559.4,43.7c3.4,3,6.8,4.2,10.8,4.2c5,0,8.2-2.5,8.2-6.6c0-3.5-2-5-6.3-6.8l-5.1-2.2c-3.6-1.5-7.6-3.6-7.6-9
|
||||
c0-5.9,5-8.9,10.6-8.9c3.6,0,7.2,1.1,9.8,3v3.2c-2.7-2.3-5.8-3.5-9.7-3.5c-4.3,0-7.8,2.1-7.8,6.2c0,3.4,2.4,4.9,6.1,6.4l5.4,2.3
|
||||
c5.1,2.2,7.5,4.7,7.5,9.2c0,5.6-4.7,9.3-11.1,9.3c-4.7,0-8.6-1.5-10.8-3.5V43.7z"/>
|
||||
<path class="st0" d="M588.7,34.9V50h-2.9V15h12.4c6.8,0,11.3,3.4,11.3,9.9c0,6.6-4.5,10-11.3,10H588.7z M598.1,17.6h-9.3v14.6
|
||||
h9.3c5.4,0,8.6-2.7,8.6-7.3C606.6,20.4,603.5,17.6,598.1,17.6z"/>
|
||||
<path class="st0" d="M607.4,45.8c1.2,0,2.2,1,2.2,2.2c0,1.2-1,2.2-2.2,2.2c-1.1,0-2.1-1-2.1-2.2
|
||||
C605.3,46.8,606.2,45.8,607.4,45.8z"/>
|
||||
<path class="st0" d="M640.8,50h-1.9l-21.4-30.4V50h-2.8V15h2.8L638,44.2V15h2.8V50z"/>
|
||||
<path class="st0" d="M669.2,15v2.7h-18.9v12.9h17.1v2.7h-17.1v14h18.9V50h-21.7V15H669.2z"/>
|
||||
<path class="st0" d="M672.1,15h28.5v2.7h-12.8V50h-2.9V17.7h-12.8V15z"/>
|
||||
<path class="st0" d="M730.9,15l13.9,35h-2.9l-4.6-11.5h-15.5L717.3,50h-2.9l13.9-35H730.9z M722.8,35.9h13.5l-6.7-17.1
|
||||
L722.8,35.9z"/>
|
||||
<path class="st0" d="M746.6,45.3c2.2,1.7,4.2,2.5,6.6,2.5c4.5,0,6.6-2.6,6.6-9V15h2.9v23.9c0,8-3.4,11.6-9.5,11.6
|
||||
c-2.9,0-5.2-1.1-6.6-2.2V45.3z"/>
|
||||
<path class="st0" d="M781,15l13.9,35h-2.9l-4.6-11.5h-15.5L767.3,50h-2.9l13.9-35H781z M772.9,35.9h13.5l-6.7-17.1L772.9,35.9z"
|
||||
/>
|
||||
<path class="st0" d="M812.4,32.2L824.8,50h-3.3l-10.8-15.4L799.9,50h-3.2l12.4-17.7l-12-17.3h3.3l10.4,14.9L821.2,15h3.2
|
||||
L812.4,32.2z"/>
|
||||
</g>
|
||||
<path class="st0" d="M397.4,26.7c-2,0-3.7-1.6-3.7-3.7c0-2.2,1.7-3.7,3.7-3.7s3.7,1.6,3.7,3.7C401.1,25.1,399.4,26.7,397.4,26.7
|
||||
M397.4,19.9c-1.7,0-3,1.3-3,3.1c0,1.8,1.3,3.1,3,3.1c1.7,0,3-1.3,3-3.1C400.4,21.1,399,19.9,397.4,19.9 M397,23.6v1.2h-1.1V21
|
||||
h1.8c0.9,0,1.4,0.5,1.4,1.4c0,0.6-0.3,1-0.8,1.2l0.9,1.4h-1.2l-0.8-1.2H397z M397.6,21.9H397v0.9h0.6c0.3,0,0.5-0.2,0.5-0.4
|
||||
C398.1,22.1,397.9,21.9,397.6,21.9"/>
|
||||
</g>
|
||||
<path class="st1" d="M48.6,41.2c0,0.6-0.4,1.3-0.9,1.6L35.2,50V22.1L11,8.2L23.5,1c0.5-0.3,1.3-0.3,1.8,0l23.2,13.4V41.2z
|
||||
M29.8,25.2l-16.5-9.5c-0.5-0.3-1.3-0.3-1.8,0L0.3,22.1l17.4,10.1l0,20.1l11.2-6.4c0.5-0.3,0.9-1,0.9-1.6V25.2z M0.3,42.3l12.1,7
|
||||
V35.3L0.3,42.3z"/>
|
||||
<g>
|
||||
<path class="st0" d="M75.1,14.4H62V50h5.8V36h7.4c8,0,12.4-3.9,12.4-11C87.5,21.9,86.3,14.4,75.1,14.4 M81.6,25.2
|
||||
c0,4-2.1,5.7-7.2,5.7h-6.6V19.7h7.4C79.5,19.7,81.6,21.5,81.6,25.2 M104.9,24.1l0.4,0.2l-1,5.3l-0.7-0.2c-0.6-0.2-1.1-0.3-1.7-0.3
|
||||
c-5.4,0-5.9,4.3-5.9,9.6V50h-5.4V23.9h5.1V27c1.4-2.1,3-3.2,5.2-3.5C102.4,23.4,103.8,23.6,104.9,24.1 M118.2,23.3
|
||||
c-4.3,0-7.7,1.6-9.8,4.7c-2.3,3.2-2.6,7-2.6,9c0,8.3,4.9,13.6,12.5,13.6c9.2,0,12.5-7.4,12.5-13.8c0-3.7-1.1-7-3-9.4
|
||||
C125.4,24.8,122.1,23.3,118.2,23.3 M118.2,45.8c-4.2,0-6.9-3.4-6.9-8.8c0-5.5,2.6-8.9,6.9-8.9c4.2,0,6.9,3.4,6.9,8.8
|
||||
C125.1,42.4,122.4,45.8,118.2,45.8 M176,24.1l0.4,0.2l-1,5.3l-0.7-0.2c-0.6-0.2-1.1-0.3-1.7-0.3c-5.4,0-5.9,4.3-5.9,9.6V50h-5.4
|
||||
V23.9h5.1V27c1.4-2.1,3-3.2,5.2-3.5C173.6,23.4,175,23.6,176,24.1 M195.4,41.6l-0.1,0.3c-1.1,3.2-3.8,3.9-5.9,3.9
|
||||
c-4.1,0-6.7-2.7-7-7.1H201l0.1-0.5c0.1-0.6,0.1-1.5,0.1-2.1c0-0.2,0-0.3,0-0.5c-0.3-7.3-5-12.2-11.9-12.2c-4,0-7.3,1.6-9.5,4.5
|
||||
c-1.8,2.4-2.8,5.7-2.8,9.1c0,8.1,5,13.5,12.5,13.5c5.8,0,9.8-2.9,11.2-8.3l0.2-0.6H195.4z M182.7,34c0.5-3.6,2.9-5.9,6.5-5.9
|
||||
c2.7,0,5.9,1.6,6.3,5.9H182.7z M152,26.1c-1.7-1.8-4.1-2.7-6.9-2.7c-7.9,0-11.5,7-11.5,13.5c0,6.6,3.6,13.4,11.5,13.4
|
||||
c2.7,0,5-1,6.7-2.7c0,1.2,0,2.2-0.1,2.7c-0.3,4.3-2.4,6.3-6.5,6.3c-2.3,0-4.9-0.8-5.4-3.1l-0.1-0.5l-5.3,0l0.1,0.7
|
||||
c0.6,4.6,4.6,7.5,10.6,7.5c5.2,0,8.9-2,10.8-5.7c0.9-1.8,1.3-4.4,1.3-7.8V23.9H152V26.1z M145.4,45.3c-1.9,0-6.3-0.9-6.3-8.8
|
||||
c0-5.2,2.5-8.4,6.4-8.4c3.1,0,6.3,2.2,6.3,8.4C151.9,42,149.4,45.3,145.4,45.3 M226,42.1c0,4.2-3.5,8.4-11.2,8.4
|
||||
c-6.8,0-10.9-3-11.4-8.3l-0.1-0.6h5.3l0.1,0.4c0.7,3.2,3.7,3.9,6.2,3.9c2.7,0,5.6-0.9,5.6-3.3c0-1.2-0.8-2.1-2.4-2.6
|
||||
c-0.9-0.3-2.1-0.6-3.3-0.9c-2.1-0.6-4.3-1.2-5.6-1.7c-3.3-1.2-5.2-3.5-5.2-6.3c0-5.3,5.1-7.6,10.2-7.6c6.8,0,10.3,2.6,10.8,7.8
|
||||
l0,0.5l-5.2,0l-0.1-0.4c-0.5-3-3.5-3.5-5.3-3.5c-1.5,0-5,0.3-5,2.8c0,1.1,1,2,3,2.6c0.6,0.2,1.5,0.4,2.5,0.7
|
||||
c2.1,0.6,4.8,1.2,6.1,1.7C224.4,36.8,226,39,226,42.1 M251,42.1c0,4.2-3.5,8.4-11.2,8.4c-6.8,0-10.9-3-11.4-8.3l-0.1-0.6h5.3
|
||||
l0.1,0.4c0.7,3.2,3.7,3.9,6.2,3.9c2.7,0,5.6-0.9,5.6-3.3c0-1.2-0.8-2.1-2.4-2.6c-0.9-0.3-2.1-0.6-3.3-0.9
|
||||
c-2.1-0.6-4.3-1.2-5.6-1.7c-3.3-1.2-5.2-3.5-5.2-6.3c0-5.3,5.1-7.6,10.2-7.6c6.8,0,10.3,2.6,10.8,7.8l0,0.5l-5.2,0l-0.1-0.4
|
||||
c-0.5-3-3.5-3.5-5.3-3.5c-1.5,0-5,0.3-5,2.8c0,1.1,1,2,3,2.6c0.6,0.2,1.5,0.4,2.5,0.7c2.1,0.6,4.8,1.2,6.1,1.7
|
||||
C249.3,36.8,251,39,251,42.1"/>
|
||||
<path class="st0" d="M255.3,26.7c-2,0-3.7-1.6-3.7-3.7c0-2.2,1.7-3.7,3.7-3.7c2,0,3.7,1.6,3.7,3.7
|
||||
C258.9,25.1,257.3,26.7,255.3,26.7 M255.3,19.9c-1.7,0-3,1.3-3,3.1c0,1.8,1.3,3.1,3,3.1c1.7,0,3-1.3,3-3.1
|
||||
C258.3,21.1,256.9,19.9,255.3,19.9 M254.8,23.6v1.2h-1.1V21h1.8c0.9,0,1.4,0.5,1.4,1.4c0,0.6-0.3,1-0.8,1.2l0.9,1.4h-1.2l-0.8-1.2
|
||||
H254.8z M255.4,21.9h-0.6v0.9h0.6c0.3,0,0.5-0.2,0.5-0.4C256,22.1,255.8,21.9,255.4,21.9"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
После Ширина: | Высота: | Размер: 7.4 KiB |
|
@ -19,7 +19,21 @@ $(function () {
|
|||
getStorage().setItem(selectedLanguageKey, language);
|
||||
}
|
||||
|
||||
prettyPrint();
|
||||
function mergeTabbedCodes() {
|
||||
var tabbedCodeSelector = 'div.tabbedCode';
|
||||
$(tabbedCodeSelector).each(function () {
|
||||
var container = $(this);
|
||||
var nextSibling = container.next(tabbedCodeSelector);
|
||||
while (nextSibling.length) {
|
||||
nextSibling.children().each(function (index, child) {
|
||||
container.append(child);
|
||||
});
|
||||
|
||||
nextSibling.remove();
|
||||
nextSibling = container.next(tabbedCodeSelector);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/* START TabStrip logic */
|
||||
|
||||
|
@ -32,11 +46,13 @@ $(function () {
|
|||
}
|
||||
};
|
||||
|
||||
mergeTabbedCodes();
|
||||
|
||||
$("div.tabbedCode").each(function () {
|
||||
var container = $(this);
|
||||
var langs = container.find("pre");
|
||||
if (langs.length === 0) {
|
||||
//console.log("Cannot find any languages")
|
||||
// console.log("Cannot find any languages")
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -81,12 +97,14 @@ $(function () {
|
|||
'ASPNET': 'html',
|
||||
'XML': 'xml',
|
||||
'TypeScript': 'commonjs',
|
||||
}
|
||||
};
|
||||
|
||||
$("pre").each(function (index) {
|
||||
var langExtension = codeSampleMapper[$(this).attr('lang')];
|
||||
$(this).addClass('lang-' + langExtension).addClass("prettyprint");
|
||||
});
|
||||
|
||||
prettyPrint();
|
||||
|
||||
/* END TabStrip logic */
|
||||
});
|
||||
|
|
|
@ -1,11 +1,13 @@
|
|||
$(function () {
|
||||
var relatedArticlesMarker = $('h2#see-also');
|
||||
var relatedArticlesMarker = $('h2#see-also, h3#see-also');
|
||||
if (relatedArticlesMarker.length) {
|
||||
var relatedArticlesList = relatedArticlesMarker.next('ul');
|
||||
$('#related-articles').append(relatedArticlesList.html());
|
||||
|
||||
relatedArticlesMarker.remove();
|
||||
relatedArticlesList.remove();
|
||||
if (relatedArticlesList.length) {
|
||||
$('#related-articles').append(relatedArticlesList.html());
|
||||
|
||||
relatedArticlesMarker.remove();
|
||||
relatedArticlesList.remove();
|
||||
}
|
||||
} else {
|
||||
$('.related-articles').toggleClass('empty', true);
|
||||
}
|
||||
|
|
|
@ -19,7 +19,7 @@ $(function() {
|
|||
var toc = $("#toc");
|
||||
toc.empty();
|
||||
|
||||
var headings = $("#content article > h1, #content article > h2, #content article > h3");
|
||||
var headings = $("#content article > h1, #content article > h2, #content article.api-reference > h3");
|
||||
var empty = headings.length < 2;
|
||||
|
||||
articleToc.toggleClass("empty", empty);
|
||||
|
|
|
@ -1,115 +0,0 @@
|
|||
---
|
||||
layout: default
|
||||
hidden: true
|
||||
---
|
||||
<link rel="stylesheet" href="https://code.jquery.com/qunit/qunit-2.0.1.css">
|
||||
<div id="qunit"></div>
|
||||
<div id="qunit-fixture"></div>
|
||||
<script src="https://code.jquery.com/qunit/qunit-2.0.1.js"></script>
|
||||
<script>
|
||||
QUnit.module( "runner :: analyzeDirectives" );
|
||||
|
||||
QUnit.test( "does not find directives when there are none", function( assert ) {
|
||||
var code = "<button>Foo</button>";
|
||||
var directives = analyzeDirectives( code );
|
||||
assert.equal( directives.length, 0 );
|
||||
});
|
||||
|
||||
QUnit.test( "finds single directive", function( assert ) {
|
||||
var code = "<button kendoButton>Foo</button>";
|
||||
var directives = analyzeDirectives( code );
|
||||
assert.equal( directives.length, 1 );
|
||||
assert.equal( directives[0].directive, 'KendoButton' );
|
||||
assert.equal( directives[0].module, '@telerik/kendo-angular-buttons' );
|
||||
});
|
||||
|
||||
QUnit.test( "finds multiple directives", function( assert ) {
|
||||
var code = `
|
||||
<kendo-slider />
|
||||
<button kendoButton>Foo</button>
|
||||
`;
|
||||
|
||||
var directives = analyzeDirectives( code );
|
||||
|
||||
assert.equal( directives.length, 2 );
|
||||
|
||||
assert.equal( directives[0].directive, 'KendoButton' );
|
||||
assert.equal( directives[0].module, '@telerik/kendo-angular-buttons' );
|
||||
|
||||
assert.equal( directives[1].directive, 'KendoSlider' );
|
||||
assert.equal( directives[1].module, '@telerik/kendo-angular-inputs' );
|
||||
});
|
||||
|
||||
QUnit.test( "uses directive objects", function( assert ) {
|
||||
var code = `
|
||||
<kendo-grid />
|
||||
`;
|
||||
var directives = analyzeDirectives( code );
|
||||
|
||||
assert.equal( directives.length, 1 );
|
||||
|
||||
assert.equal( directives[0].directive, 'GRID_DIRECTIVES' );
|
||||
assert.equal( directives[0].module, '@telerik/kendo-angular-grid' );
|
||||
});
|
||||
|
||||
QUnit.module( "runner :: missingImports" );
|
||||
|
||||
QUnit.test( "detects missing @Component import", function( assert ) {
|
||||
var code = `
|
||||
@Component({})
|
||||
class Foo {}
|
||||
`;
|
||||
var imports = missingImports(code, [
|
||||
{ directive: "Component", module: '@angular/core' }
|
||||
]);
|
||||
|
||||
assert.equal( imports.length, 1 );
|
||||
|
||||
assert.equal( imports[0], "import { Component } from '@angular/core';" );
|
||||
});
|
||||
|
||||
QUnit.test( "detects missing kendoButton import", function( assert ) {
|
||||
var code = `
|
||||
@Component({
|
||||
template: "<button kendoButton>Foo</button>"
|
||||
})
|
||||
class Foo {}
|
||||
`;
|
||||
var imports = missingImports(code, [
|
||||
{ directive: "KendoButton", module: '@telerik/kendo-angular-buttons' }
|
||||
]);
|
||||
|
||||
assert.equal( imports.length, 1 );
|
||||
|
||||
assert.equal( imports[0], "import { KendoButton } from '@telerik/kendo-angular-buttons';" );
|
||||
});
|
||||
|
||||
QUnit.test( "does not import the same directive twice", function( assert ) {
|
||||
var code = `
|
||||
import { Component } from '@angular/core';
|
||||
@Component({
|
||||
})
|
||||
class Foo {}
|
||||
`;
|
||||
var imports = missingImports(code, [
|
||||
{ directive: "Component", module: '@angular/core' }
|
||||
]);
|
||||
|
||||
assert.equal( imports.length, 0 );
|
||||
});
|
||||
|
||||
QUnit.test( "imports multiple missing directives", function( assert ) {
|
||||
var code = `
|
||||
@Component({
|
||||
template: "<button kendoButton>Foo</button>"
|
||||
})
|
||||
class Foo {}
|
||||
`;
|
||||
var imports = missingImports(code, [
|
||||
{ directive: "Component", module: '@angular/core' },
|
||||
{ directive: "KendoButton", module: '@telerik/kendo-angular-buttons' }
|
||||
]);
|
||||
|
||||
assert.equal( imports.length, 2 );
|
||||
});
|
||||
</script>
|
|
@ -1,4 +1,5 @@
|
|||
# Products and their respective product ID
|
||||
"Telerik UI for WPF" : 601
|
||||
"Telerik UI for Silverlight" : 571
|
||||
"Telerik UI for ASP.NET AJAX": 561
|
||||
"Kendo UI for jQuery": 949
|
||||
|
|
|
@ -20,7 +20,7 @@ layout: default
|
|||
{% render_bread_crumbs %}
|
||||
</p>
|
||||
|
||||
{% if page.api_reference == true and page.position != 1 %}
|
||||
{% if page.kind == "api" and page.position != 1 %}
|
||||
<article class="api-reference">
|
||||
{% else %}
|
||||
<article>
|
||||
|
|
|
@ -1,36 +1,36 @@
|
|||
module Reading
|
||||
class Generator < Jekyll::Generator
|
||||
def generate(site)
|
||||
@site = site
|
||||
@site = site
|
||||
@converter = site.find_converter_instance(Jekyll::Converters::Markdown)
|
||||
site.pages.each do |p|
|
||||
createAlert("tip", p.content)
|
||||
createAlert("important", p.content)
|
||||
createAlert("caution", p.content)
|
||||
end
|
||||
createAlert("tip", p.content)
|
||||
createAlert("important", p.content)
|
||||
createAlert("caution", p.content)
|
||||
end
|
||||
end
|
||||
|
||||
def createAlert(alertType, content)
|
||||
sub_string = content.scan(/(>#{alertType})(.*)/)
|
||||
if sub_string.count == 0
|
||||
##puts "no " + alertType + "s"
|
||||
else
|
||||
sub_string.each do |s|
|
||||
block ="<blockquote class='#{alertType}'>" + @converter.convert(s[1]) + "</blockquote>"
|
||||
slugsInBlock = block.scan(/.*?(%7[Bb]%slug%20([\w-]+)%{2}7[Dd])/)
|
||||
if slugsInBlock.count > 0
|
||||
slugsInBlock.each do |slug|
|
||||
targetPage = @site.pages.find {|p| p.data['slug'] == slug[1]}
|
||||
if targetPage
|
||||
link = @site.baseurl + targetPage.url.sub('.html', '')
|
||||
block.sub!(slug[0], link)
|
||||
end
|
||||
end
|
||||
end
|
||||
content.sub!(s[0]+s[1], block)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
def createAlert(alertType, content)
|
||||
sub_string = content.scan(/(>#{alertType})((.|\n[\w\*\[!^<>|#])*)/)
|
||||
if sub_string.count == 0
|
||||
##puts "no " + alertType + "s"
|
||||
else
|
||||
sub_string.each do |s|
|
||||
block ="<blockquote class='#{alertType}'>" + @converter.convert(s[1].gsub(/(^>)/x, "")) + "</blockquote>"
|
||||
slugsInBlock = block.scan(/.*?(%7[Bb]%slug%20([\w-]+)%{2}7[Dd])/)
|
||||
if slugsInBlock.count > 0
|
||||
slugsInBlock.each do |slug|
|
||||
targetPage = @site.pages.find {|p| p.data['slug'] == slug[1]}
|
||||
if targetPage
|
||||
link = @site.baseurl + targetPage.url.sub('.html', '')
|
||||
block.sub!(slug[0], link)
|
||||
end
|
||||
end
|
||||
end
|
||||
content.sub!(s[0]+s[1], block)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
module Reading
|
||||
class CaptionGenerator < Jekyll::Generator
|
||||
def generate(site)
|
||||
@site = site
|
||||
@converter = site.find_converter_instance(Jekyll::Converters::Markdown)
|
||||
site.pages.each do |p|
|
||||
createCaption(p.content)
|
||||
end
|
||||
end
|
||||
|
||||
def createCaption(content)
|
||||
sub_string = content.scan(/(>caption)(.*)/)
|
||||
|
||||
sub_string.each do |s|
|
||||
block ="<div class='caption'>" + @converter.convert(s[1]) + "</div>"
|
||||
content.sub!(s[0]+s[1], block)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -1,5 +1,5 @@
|
|||
module Reading
|
||||
class TabbedCodeGenerator < Jekyll::Generator
|
||||
class RegionCodeTabStripGenerator < Jekyll::Generator
|
||||
def generate(site)
|
||||
@headerSearchPattern = /####\s{1,}(__|\*\*)?\[?(VB|VB.NET|C#|XAML|SQL|XML)\]?\s*.*/
|
||||
@snippetSearchPattern = /####\s{1,}(__|\*\*)?\[?(VB|VB.NET|C#|XAML|SQL|XML)\]?\s*.*\s*(>\n*)*{{region\s.*}}\n*\r*((?!{{endregion}}).*\n*\r*\s*)+?(>?{{endregion}})/ # gets the whole snippet portion - header + region tags + code snippet
|
||||
|
@ -95,7 +95,7 @@ module Reading
|
|||
languageString = languageString.gsub("__", "")
|
||||
languageString = languageString.gsub("**", "")
|
||||
languageString = languageString.gsub("[", "")
|
||||
languageString = languageString.gsub("]", "")
|
||||
languageString = languageString.gsub("]", "")
|
||||
return languageString
|
||||
end
|
||||
return ""
|
||||
|
|
|
@ -8,7 +8,7 @@ module Jekyll
|
|||
|
||||
def call()
|
||||
|
||||
doc.css('h1, h2').each do |heading|
|
||||
doc.css('h1, h2, h3').each do |heading|
|
||||
|
||||
desc_node = heading.children.first()
|
||||
if desc_node
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
module Reading
|
||||
class RemoveInheritanceGenerator < Jekyll::Generator
|
||||
def generate(site)
|
||||
if site.config['platform'] == "aspnet-ajax"
|
||||
site.pages.each do |p|
|
||||
if p.data["description"] == "Client-side API Reference"
|
||||
p.content.sub!(/(^#[^:]*).*/, '\1')
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,38 @@
|
|||
module Reading
|
||||
class TabbedCodeGenerator < Jekyll::Generator
|
||||
def generate(site)
|
||||
@site = site
|
||||
@converter = site.find_converter_instance(Jekyll::Converters::Markdown)
|
||||
site.pages.each do |p|
|
||||
createTabbedCode(p, p.content)
|
||||
end
|
||||
end
|
||||
|
||||
def createTabbedCode(page, content)
|
||||
tab_start = /````\w/
|
||||
tab_end = /````\s{2,}/
|
||||
|
||||
first_index = content.index(tab_start)
|
||||
last_index = first_index && content.index(tab_end, first_index)
|
||||
indexes = []
|
||||
|
||||
while first_index && !indexes.include?(first_index)
|
||||
if last_index.nil?
|
||||
Jekyll.logger.warn "Tabbed Code Error:", "Failed to generate tabbed code in #{page.path}"
|
||||
end
|
||||
|
||||
indexes.push(first_index)
|
||||
block = encode_liquid(content[first_index..last_index + 4])
|
||||
block = @converter.convert(block)
|
||||
content[first_index..last_index + 4] = "<div class='tabbedCode'>" + block + "</div>"
|
||||
|
||||
first_index = content.index(tab_start, last_index)
|
||||
last_index = first_index && content.index(tab_end, last_index + 4)
|
||||
end
|
||||
end
|
||||
|
||||
def encode_liquid(content)
|
||||
content = content.gsub("{{", "{{ '{{' }}")
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,97 @@
|
|||
module Reading
|
||||
class TemplateGenerator < Jekyll::Generator
|
||||
priority :highest
|
||||
|
||||
def generate(site)
|
||||
@site = site
|
||||
@converter = site.find_converter_instance(Jekyll::Converters::Markdown)
|
||||
site.pages.each do |p|
|
||||
process_content(p, p.content)
|
||||
end
|
||||
end
|
||||
|
||||
def process_content(page, content)
|
||||
template_regexp = /@\[template[^\]]*\]\(\/([^#]*)#([^\s]*)(\s+"([^"]*)")?\)/
|
||||
template_match = content.match template_regexp
|
||||
|
||||
while template_match
|
||||
begin
|
||||
result = process_template(template_match)
|
||||
content.gsub!(template_match.to_s, result)
|
||||
template_match = content.match template_regexp
|
||||
rescue => error
|
||||
Jekyll.logger.warn "Error:", "Templates processing failed in #{page.path}"
|
||||
raise error
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
def process_template(match)
|
||||
file_name = match[1]
|
||||
section_id = match[2].downcase
|
||||
has_arguments = match[3]
|
||||
arguments = match[4]
|
||||
|
||||
unless $template_hash
|
||||
$template_hash = Hash.new
|
||||
end
|
||||
|
||||
unless $template_hash[file_name]
|
||||
read_template_file(file_name)
|
||||
end
|
||||
|
||||
result = $template_hash[file_name][section_id].to_s
|
||||
|
||||
if(has_arguments)
|
||||
arg_plc_start = "@{"
|
||||
arg_plc_end = "}"
|
||||
placeholder_regex = /#{arg_plc_start}([^#{arg_plc_end}]*)#{arg_plc_end}/
|
||||
arguments_hash = generate_arguments_hash(arguments, arg_plc_start, arg_plc_end)
|
||||
return result.gsub(placeholder_regex, arguments_hash).rstrip
|
||||
end
|
||||
|
||||
return result.rstrip
|
||||
end
|
||||
|
||||
def read_template_file(file_name)
|
||||
$template_hash[file_name] = Hash.new
|
||||
start_regex = /#+([^#]*)/
|
||||
end_regex = /#+end/i
|
||||
|
||||
lines = File.readlines(file_name, :encoding => 'UTF-8')
|
||||
start_recording = false
|
||||
id = ""
|
||||
|
||||
lines.each do |line|
|
||||
start_match = start_regex.match(line)
|
||||
end_match = end_regex.match(line)
|
||||
|
||||
if(end_match and start_recording)
|
||||
start_recording = false
|
||||
id = ""
|
||||
end
|
||||
|
||||
if(start_recording)
|
||||
$template_hash[file_name][id] = $template_hash[file_name][id].to_s << line
|
||||
end
|
||||
|
||||
if(start_match and !start_recording and !end_match)
|
||||
start_recording = true
|
||||
id = start_match[1].strip.downcase
|
||||
$template_hash[file_name][id] = ""
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
def generate_arguments_hash(arguments, plc_start, plc_end)
|
||||
args_array = arguments.split(",").collect{|x| x.strip.split(":").collect{|value| value.strip}}
|
||||
hash_args = Hash.new
|
||||
Hash[args_array].each {|key, value|
|
||||
hash_key = "#{plc_start}#{key}#{plc_end}"
|
||||
hash_args[hash_key] = value
|
||||
}
|
||||
|
||||
return hash_args
|
||||
end
|
||||
end
|
||||
end
|
|
@ -16,6 +16,6 @@ if [ ! -z "$2" ]
|
|||
fi
|
||||
|
||||
rm -rf _site/ .sass-cache .jekyll-cache .asset-cache
|
||||
docker pull tmitev/docs-seed:site
|
||||
docker build -t tmitev/docs-seed:site .
|
||||
docker run --rm --env CONFIG_FILE=$config_file --env JEKYLL_COMMAND=build --env JEKYLL_EXTRA=$debug_params -t -v "/$(pwd):/app_root" -t tmitev/docs-seed:site
|
||||
docker pull progressdocs/docs-seed:site
|
||||
docker build -t progressdocs/docs-seed:site .
|
||||
docker run --rm --env CONFIG_FILE=$config_file --env JEKYLL_COMMAND=build --env JEKYLL_EXTRA=$debug_params -t -v "/$(pwd):/app_root" -t progressdocs/docs-seed:site
|
||||
|
|
|
@ -9,6 +9,6 @@ fi
|
|||
echo "Using configuration from: $config_file"
|
||||
|
||||
rm -rf _site/ .sass-cache .jekyll-cache .asset-cache
|
||||
docker pull tmitev/docs-seed:site
|
||||
docker build -t tmitev/docs-seed:site .
|
||||
docker run --rm -it --env CONFIG_FILE=$config_file --env JEKYLL_COMMAND="serve" --env JEKYLL_EXTRA="--watch --incremental --host 0.0.0.0" --name docs_site -t -i -v /$(pwd):/app_root -p 4000:4000 -t tmitev/docs-seed:site
|
||||
docker pull progressdocs/docs-seed:site
|
||||
docker build -t progressdocs/docs-seed:site .
|
||||
docker run --rm -it --env CONFIG_FILE=$config_file --env JEKYLL_COMMAND="serve" --env JEKYLL_EXTRA="--watch --incremental --host 0.0.0.0" --name docs_site -t -i -v /$(pwd):/app_root -p 4000:4000 -t progressdocs/docs-seed:site
|
||||
|
|
Загрузка…
Ссылка в новой задаче