2014-10-15 03:27:41 +04:00
|
|
|
<!doctype html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
{% include head.html %}
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
{% include navigation.html %}
|
|
|
|
|
|
|
|
{{ content }}
|
|
|
|
|
|
|
|
{% include footer.html %}
|
2015-04-28 03:57:58 +03:00
|
|
|
|
2015-04-09 21:27:45 +03:00
|
|
|
<script>
|
2015-04-24 04:02:56 +03:00
|
|
|
(function ($) {
|
|
|
|
'use strict';
|
2015-04-24 04:10:54 +03:00
|
|
|
|
2015-04-24 04:02:56 +03:00
|
|
|
$(function () {
|
|
|
|
var $window = $(window);
|
|
|
|
var $body = $(document.body);
|
|
|
|
var $sidebar = $('.s2-docs-sidebar');
|
|
|
|
|
|
|
|
$body.scrollspy({
|
|
|
|
target: '.s2-docs-sidebar',
|
|
|
|
offset: 40
|
|
|
|
});
|
|
|
|
|
|
|
|
$window.on('load', function () {
|
|
|
|
$body.scrollspy('refresh');
|
|
|
|
});
|
|
|
|
|
|
|
|
$sidebar.affix({
|
|
|
|
offset: {
|
|
|
|
top: function () {
|
|
|
|
var offsetTop = $sidebar.offset().top;
|
|
|
|
var navOuterHeight = $('.s2-docs-nav').height();
|
|
|
|
|
|
|
|
return (this.top = offsetTop - navOuterHeight);
|
|
|
|
},
|
|
|
|
bottom: function () {
|
|
|
|
return (this.bottom = $('.s2-docs-footer').outerHeight(true));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
})(jQuery);
|
|
|
|
|
|
|
|
(function () {
|
|
|
|
'use strict';
|
2015-04-24 04:10:54 +03:00
|
|
|
|
2015-04-24 04:02:56 +03:00
|
|
|
addAnchors('.s2-docs-container h1, .s2-docs-container h2, .s2-docs-container h3, .s2-docs-container h4, .s2-docs-container h5');
|
|
|
|
})();
|
2015-04-09 21:27:45 +03:00
|
|
|
</script>
|
2015-01-06 03:27:25 +03:00
|
|
|
|
2015-04-24 04:09:41 +03:00
|
|
|
{% include ga.html %}
|
2014-10-15 03:27:41 +04:00
|
|
|
</body>
|
|
|
|
</html>
|