refactor: Cleanup git state - commit all staged changes

Major refactoring cleanup:
- Add new controller architecture (class-controller-*.php)
- Add new settings-v2 UI (views/settings-v2/)
- Add new CSS architecture (agentic-sidebar.css, tokens)
- Add esbuild build pipeline (scripts/build.js, package.json)
- Add composer dependencies (vendor/)
- Add frontend src directory (assets/js/src/index.jsx)
- Add documentation files
- Remove old/obsolete files (class-settings.php, old CSS)

This commits all pending changes from previous refactoring efforts.
This commit is contained in:
Dwindi Ramadhana
2026-06-17 05:27:58 +07:00
parent d3f142222c
commit 690991c526
7963 changed files with 941566 additions and 67372 deletions

View File

@@ -0,0 +1,14 @@
{% extends "structure/layout.html.twig" %}
{% block head %}
{%- for headerNode in node.headerNodes -%}
{{ renderNode(headerNode) }}
{%- endfor -%}
{{ parent() }}
{% endblock %}
{% block body %}
{% for child in node.children -%}
{{ renderNode(child) }}
{%~ endfor -%}
{% endblock %}

View File

@@ -0,0 +1,45 @@
<footer>
{#{% if (theme_prev_next_buttons_location == 'bottom' or theme_prev_next_buttons_location == 'both') and (next or prev) %}#}
{#<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">#}
{#{% if next %}#}
{#<a href="{{ next.link|e }}" class="btn btn-neutral float-right" title="{{ next.title|striptags|e }}" accesskey="n" rel="next">{{ _('Next') }} <span class="fa fa-arrow-circle-right"></span></a>#}
{#{% endif %}#}
{#{% if prev %}#}
{#<a href="{{ prev.link|e }}" class="btn btn-neutral" title="{{ prev.title|striptags|e }}" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> {{ _('Previous') }}</a>#}
{#{% endif %}#}
{#</div>#}
{#{% endif %}#}
<hr/>
<div role="contentinfo">
<p>
{#{%- if show_copyright %}#}
{#{%- if hasdoc('copyright') %}#}
{#{% trans path=pathto('copyright'), copyright=copyright|e %}&copy; <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %}#}
{#{%- else %}#}
{#{% trans copyright=copyright|e %}&copy; Copyright {{ copyright }}.{% endtrans %}#}
{#{%- endif %}#}
{#{%- endif %}#}
{#{%- if build_id and build_url %}#}
{#{% trans build_url=build_url, build_id=build_id %}#}
{#<span class="build">#}
{#Build#}
{#<a href="{{ build_url }}">{{ build_id }}</a>.#}
{#</span>#}
{#{% endtrans %}#}
{#{%- elif commit %}#}
{#{% trans commit=commit %}#}
{#<span class="commit">#}
{#Revision <code>{{ commit }}</code>.#}
{#</span>#}
{#{% endtrans %}#}
{#{%- elif last_updated %}#}
{#{% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %}#}
{#{%- endif %}#}
</p>
</div>
</footer>

View File

@@ -0,0 +1 @@
<h{{ node.level }}{% if node.classes %} class="{{ node.classesString }}"{% endif %}>{{ renderNode(node.value) }}</h{{ node.level }}>

View File

@@ -0,0 +1 @@
<meta name="author" content="{{ node.value }}" />

View File

@@ -0,0 +1 @@
<meta name="copyright" content="{{ node.value }}" />

View File

@@ -0,0 +1 @@
<meta name="date" content="{{ node.value }}" />

View File

@@ -0,0 +1 @@
<link rel="icon" type="image/x-icon" href="{{ url }}" />

View File

@@ -0,0 +1 @@
<script type="text/javascript" src="{{ js }}"></script>

View File

@@ -0,0 +1 @@
<meta name="{{ node.key }}" content="{{ node.value }}" />

View File

@@ -0,0 +1 @@
<meta name="robots" content="noindex">

View File

@@ -0,0 +1 @@
<link rel="stylesheet" type="text/css" href="{{ css }}" />

View File

@@ -0,0 +1,3 @@
{% if node.title == 'abstract' %}
<meta name="description" content="{{ node.value }}" />
{% endif %}

View File

@@ -0,0 +1,16 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>{{ title }}
{%- if title!=null and env.projectNode.title!=null %} - {% endif -%}
{%- if env.projectNode.title -%}{{ env.projectNode.title }}{%- endif -%}</title>
{%~ block head %}
{%~ endblock %}
</head>
<body>
<!-- content start -->
{%~ block body %}
{%~ endblock %}
<!-- content end -->
</body>
</html>

View File

@@ -0,0 +1,5 @@
<div class="section{% if node.classes %} {{ node.classesString }}{% endif %}" id="{{ node.title.id }}">
{% for childNode in node.children %}
{{ renderNode(childNode) }}
{% endfor %}
</div>

View File

@@ -0,0 +1,5 @@
<div class="admonition-wrapper">
<div class="admonition admonition-sidebar"><p class="sidebar-title">{{ renderNode(title) }}</p>
{{ renderNode(node) }}
</div>
</div>