80 lines
2.3 KiB
Twig
80 lines
2.3 KiB
Twig
{%- include 'blocks/head.html.twig' with { title: pageTitle, cssFolderPath: cssFolderPath } %}
|
|
|
|
<body class="main-page">
|
|
<div class="aside aside-left">
|
|
<div class="header">
|
|
<div class="title">{{ pageTitle }}</div>
|
|
</div>
|
|
<div class="content">
|
|
{%- include 'blocks/main-menu.html.twig' with { mainMenu: mainMenu } %}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="aside aside-right">
|
|
{%- include 'blocks/header.html.twig' with {
|
|
imagesFolderPath: imagesFolderPath,
|
|
methodsPath: methodsPath,
|
|
relativeToRootPath: relativeToRootPath
|
|
} %}
|
|
|
|
<div class="content">
|
|
<h1>
|
|
Оглавление
|
|
</h1>
|
|
<div class="page-data">
|
|
{%- include 'blocks/table-of-contents-body.html.twig' with {
|
|
methods: tableOfContents.methods,
|
|
classes: tableOfContents.classes,
|
|
enums: tableOfContents.enums
|
|
} %}
|
|
</div>
|
|
|
|
{% if methods is not null %}
|
|
<h1>
|
|
Методы
|
|
</h1>
|
|
{% for method in methods %}
|
|
<div class="page-data">
|
|
{%- include 'blocks/method-body.html.twig' with {
|
|
method: method,
|
|
objectsLinks: objectsLinks,
|
|
showSandbox: false
|
|
} %}
|
|
</div>
|
|
{% endfor %}
|
|
{% endif %}
|
|
|
|
{% if classes is not null %}
|
|
<h1>
|
|
Классы
|
|
</h1>
|
|
{% for class in classes %}
|
|
<div class="page-data">
|
|
{%- include 'blocks/class-body.html.twig' with {
|
|
structure: class,
|
|
objectsLinks: objectsLinks
|
|
} %}
|
|
</div>
|
|
{% endfor %}
|
|
{% endif %}
|
|
|
|
{% if enums is not null %}
|
|
<h1>
|
|
Перечисления
|
|
</h1>
|
|
{% for enum in enums %}
|
|
<div class="page-data">
|
|
{%- include 'blocks/enum-body.html.twig' with {
|
|
structure: enum,
|
|
objectsLinks: objectsLinks
|
|
} %}
|
|
</div>
|
|
{% endfor %}
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
|
|
{%- include 'blocks/scripts.html.twig' with { jsFolderPath: jsFolderPath } %}
|
|
|
|
</body>
|
|
</html> |