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:
1
vendor/phpdocumentor/guides/resources/template/tex/body/anchor.tex.twig
vendored
Normal file
1
vendor/phpdocumentor/guides/resources/template/tex/body/anchor.tex.twig
vendored
Normal file
@@ -0,0 +1 @@
|
||||
\label{{ '{' }}{{ node.value }}{{ '}' }}
|
||||
4
vendor/phpdocumentor/guides/resources/template/tex/body/code.tex.twig
vendored
Normal file
4
vendor/phpdocumentor/guides/resources/template/tex/body/code.tex.twig
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
\lstset{language={{ node.language }}{{ '}'}}
|
||||
\begin{lstlisting}
|
||||
{{ node.value|raw }}
|
||||
\end{lstlisting}
|
||||
1
vendor/phpdocumentor/guides/resources/template/tex/body/image.tex.twig
vendored
Normal file
1
vendor/phpdocumentor/guides/resources/template/tex/body/image.tex.twig
vendored
Normal file
@@ -0,0 +1 @@
|
||||
\includegraphics{{ '{' }}{{ node.url }}{{ '}' }}
|
||||
1
vendor/phpdocumentor/guides/resources/template/tex/body/list/list-item.tex.twig
vendored
Normal file
1
vendor/phpdocumentor/guides/resources/template/tex/body/list/list-item.tex.twig
vendored
Normal file
@@ -0,0 +1 @@
|
||||
\item {{ text|raw }}
|
||||
12
vendor/phpdocumentor/guides/resources/template/tex/body/list/list.tex.twig
vendored
Normal file
12
vendor/phpdocumentor/guides/resources/template/tex/body/list/list.tex.twig
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
{% set keyword = 'itemize' %}
|
||||
|
||||
{% if node.isOrdered %}
|
||||
{% set enumerate = 'ol' %}
|
||||
{% endif %}
|
||||
|
||||
|
||||
\begin{{ '{' }}{{ keyword }}{{ '}' }}
|
||||
{% for item in node.items %}
|
||||
{{ renderNode(item) }}
|
||||
{% endfor %}
|
||||
\end{{ '{' }}{{ keyword }}{{ '}' }}
|
||||
5
vendor/phpdocumentor/guides/resources/template/tex/body/paragraph.tex.twig
vendored
Normal file
5
vendor/phpdocumentor/guides/resources/template/tex/body/paragraph.tex.twig
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
{%- set text = renderNode(node.value) -%}
|
||||
|
||||
{%- if text|trim %}
|
||||
{{- text|raw -}}
|
||||
{% endif -%}
|
||||
3
vendor/phpdocumentor/guides/resources/template/tex/body/quote.tex.twig
vendored
Normal file
3
vendor/phpdocumentor/guides/resources/template/tex/body/quote.tex.twig
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
\begin{quotation}
|
||||
{{ renderNode(node.value) }}
|
||||
\end{quotation}
|
||||
1
vendor/phpdocumentor/guides/resources/template/tex/body/separator.tex.twig
vendored
Normal file
1
vendor/phpdocumentor/guides/resources/template/tex/body/separator.tex.twig
vendored
Normal file
@@ -0,0 +1 @@
|
||||
\ \
|
||||
4
vendor/phpdocumentor/guides/resources/template/tex/body/toc/toc.tex.twig
vendored
Normal file
4
vendor/phpdocumentor/guides/resources/template/tex/body/toc/toc.tex.twig
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
\tableofcontents
|
||||
{% for tocItem in tocItems %}
|
||||
\input{{ '{' }}{{ tocItem.url }}{{ '}' }}
|
||||
{% endfor %}
|
||||
1
vendor/phpdocumentor/guides/resources/template/tex/guides/inline/br.tex.twig
vendored
Normal file
1
vendor/phpdocumentor/guides/resources/template/tex/guides/inline/br.tex.twig
vendored
Normal file
@@ -0,0 +1 @@
|
||||
\\\\\\\\\n
|
||||
1
vendor/phpdocumentor/guides/resources/template/tex/guides/inline/emphasis.tex.twig
vendored
Normal file
1
vendor/phpdocumentor/guides/resources/template/tex/guides/inline/emphasis.tex.twig
vendored
Normal file
@@ -0,0 +1 @@
|
||||
\textit{{ '{' }}{{ text|raw }}{{ '}' }}
|
||||
5
vendor/phpdocumentor/guides/resources/template/tex/guides/inline/link.tex.twig
vendored
Normal file
5
vendor/phpdocumentor/guides/resources/template/tex/guides/inline/link.tex.twig
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
{% if type == 'ref' %}
|
||||
\ref{{ '{' }}{{ url }}{{ '}' }}
|
||||
{% else %}
|
||||
\href{{ '{' }}{{ url }}{{ '}' }}{{ '{' }}{{ title }}{{ '}' }}
|
||||
{% endif %}
|
||||
1
vendor/phpdocumentor/guides/resources/template/tex/guides/inline/literal.tex.twig
vendored
Normal file
1
vendor/phpdocumentor/guides/resources/template/tex/guides/inline/literal.tex.twig
vendored
Normal file
@@ -0,0 +1 @@
|
||||
\verb|{{ node.value|raw }}|
|
||||
1
vendor/phpdocumentor/guides/resources/template/tex/guides/inline/nbsp.tex.twig
vendored
Normal file
1
vendor/phpdocumentor/guides/resources/template/tex/guides/inline/nbsp.tex.twig
vendored
Normal file
@@ -0,0 +1 @@
|
||||
~
|
||||
1
vendor/phpdocumentor/guides/resources/template/tex/guides/inline/strong-emphasis.tex.twig
vendored
Normal file
1
vendor/phpdocumentor/guides/resources/template/tex/guides/inline/strong-emphasis.tex.twig
vendored
Normal file
@@ -0,0 +1 @@
|
||||
\textbf{{ '{' }}{{ text|raw }}{{ '}' }}
|
||||
0
vendor/phpdocumentor/guides/resources/template/tex/guides/structure/header/meta.tex.twig
vendored
Normal file
0
vendor/phpdocumentor/guides/resources/template/tex/guides/structure/header/meta.tex.twig
vendored
Normal file
1
vendor/phpdocumentor/guides/resources/template/tex/guides/structure/header/title.tex.twig
vendored
Normal file
1
vendor/phpdocumentor/guides/resources/template/tex/guides/structure/header/title.tex.twig
vendored
Normal file
@@ -0,0 +1 @@
|
||||
\{{ type }}{{ '{' }}{{ renderNode(titleNode.value) }}{{ '}' }}
|
||||
3
vendor/phpdocumentor/guides/resources/template/tex/inline/inline-node.tex.twig
vendored
Normal file
3
vendor/phpdocumentor/guides/resources/template/tex/inline/inline-node.tex.twig
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
{%- for child in node.children -%}
|
||||
{{- renderNode(child) -}}
|
||||
{%- endfor -%}
|
||||
1
vendor/phpdocumentor/guides/resources/template/tex/inline/literal.tex.twig
vendored
Normal file
1
vendor/phpdocumentor/guides/resources/template/tex/inline/literal.tex.twig
vendored
Normal file
@@ -0,0 +1 @@
|
||||
\texttt{{ '{' }}{{- node.value -}}{{ '}' }}
|
||||
1
vendor/phpdocumentor/guides/resources/template/tex/inline/plain-text.tex.twig
vendored
Normal file
1
vendor/phpdocumentor/guides/resources/template/tex/inline/plain-text.tex.twig
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{{- node.value -}}
|
||||
4
vendor/phpdocumentor/guides/resources/template/tex/inline/textroles/generic.tex.twig
vendored
Normal file
4
vendor/phpdocumentor/guides/resources/template/tex/inline/textroles/generic.tex.twig
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{%- include [
|
||||
('inline/textroles/' ~ node.type ~ '.tex.twig'),
|
||||
'inline/textroles/unknown.tex.twig'
|
||||
] -%}
|
||||
1
vendor/phpdocumentor/guides/resources/template/tex/inline/textroles/unknown.tex.twig
vendored
Normal file
1
vendor/phpdocumentor/guides/resources/template/tex/inline/textroles/unknown.tex.twig
vendored
Normal file
@@ -0,0 +1 @@
|
||||
\texttt{{ '{' }}{{- node.value -}}{{ '}' }}
|
||||
3
vendor/phpdocumentor/guides/resources/template/tex/structure/document.tex.twig
vendored
Normal file
3
vendor/phpdocumentor/guides/resources/template/tex/structure/document.tex.twig
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
{%- for child in node.children ~%}
|
||||
{{ renderNode(child) }}
|
||||
{%~ endfor -%}
|
||||
4
vendor/phpdocumentor/guides/resources/template/tex/structure/header-title.tex.twig
vendored
Normal file
4
vendor/phpdocumentor/guides/resources/template/tex/structure/header-title.tex.twig
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{%- set headingLevel = node.level -%}
|
||||
\{% if headingLevel == 1 %}section{% elseif headingLevel == 2 %}subsection{% elseif headingLevel == 3 %}subsubsection{% elseif headingLevel == 4 %}paragraph{% elseif headingLevel == 5 %}subparagraph{% elseif headingLevel == 6 %}subparagraph{% endif %}{
|
||||
{{- renderNode(node.value) -}}
|
||||
}
|
||||
17
vendor/phpdocumentor/guides/resources/template/tex/structure/project.tex.twig
vendored
Normal file
17
vendor/phpdocumentor/guides/resources/template/tex/structure/project.tex.twig
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
\documentclass[11pt]{report}
|
||||
\usepackage[utf8]{inputenc}
|
||||
\usepackage[T1]{fontenc}
|
||||
\usepackage[french]{babel}
|
||||
\usepackage{cite}
|
||||
\usepackage{amssymb}
|
||||
\usepackage{amsmath}
|
||||
\usepackage{mathrsfs}
|
||||
\usepackage{graphicx}
|
||||
\usepackage{hyperref}
|
||||
\usepackage{listings}
|
||||
\begin{document}
|
||||
\label{{ '{' }}{{ document.environment.url}}{{ '}' }}
|
||||
{%- for document in documents -%}
|
||||
{{ renderNode(document) }}
|
||||
{%- endfor -%}
|
||||
\end{document}
|
||||
3
vendor/phpdocumentor/guides/resources/template/tex/structure/section.tex.twig
vendored
Normal file
3
vendor/phpdocumentor/guides/resources/template/tex/structure/section.tex.twig
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
{% for childNode in node.children %}
|
||||
{{ renderNode(childNode) }}
|
||||
{% endfor %}
|
||||
110
vendor/phpdocumentor/guides/resources/template/tex/template.php
vendored
Normal file
110
vendor/phpdocumentor/guides/resources/template/tex/template.php
vendored
Normal file
@@ -0,0 +1,110 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
use phpDocumentor\Guides\Nodes\AnchorNode;
|
||||
use phpDocumentor\Guides\Nodes\AnnotationListNode;
|
||||
use phpDocumentor\Guides\Nodes\CitationNode;
|
||||
use phpDocumentor\Guides\Nodes\CodeNode;
|
||||
use phpDocumentor\Guides\Nodes\DefinitionListNode;
|
||||
use phpDocumentor\Guides\Nodes\DefinitionLists\DefinitionNode;
|
||||
use phpDocumentor\Guides\Nodes\DocumentNode;
|
||||
use phpDocumentor\Guides\Nodes\FieldListNode;
|
||||
use phpDocumentor\Guides\Nodes\FigureNode;
|
||||
use phpDocumentor\Guides\Nodes\FootnoteNode;
|
||||
use phpDocumentor\Guides\Nodes\ImageNode;
|
||||
use phpDocumentor\Guides\Nodes\Inline\AbbreviationInlineNode;
|
||||
use phpDocumentor\Guides\Nodes\Inline\CitationInlineNode;
|
||||
use phpDocumentor\Guides\Nodes\Inline\DocReferenceNode;
|
||||
use phpDocumentor\Guides\Nodes\Inline\EmphasisInlineNode;
|
||||
use phpDocumentor\Guides\Nodes\Inline\FootnoteInlineNode;
|
||||
use phpDocumentor\Guides\Nodes\Inline\GenericTextRoleInlineNode;
|
||||
use phpDocumentor\Guides\Nodes\Inline\HyperLinkNode;
|
||||
use phpDocumentor\Guides\Nodes\Inline\ImageInlineNode;
|
||||
use phpDocumentor\Guides\Nodes\Inline\LiteralInlineNode;
|
||||
use phpDocumentor\Guides\Nodes\Inline\NewlineInlineNode;
|
||||
use phpDocumentor\Guides\Nodes\Inline\PlainTextInlineNode;
|
||||
use phpDocumentor\Guides\Nodes\Inline\ReferenceNode;
|
||||
use phpDocumentor\Guides\Nodes\Inline\StrongInlineNode;
|
||||
use phpDocumentor\Guides\Nodes\Inline\VariableInlineNode;
|
||||
use phpDocumentor\Guides\Nodes\Inline\WhitespaceInlineNode;
|
||||
use phpDocumentor\Guides\Nodes\InlineCompoundNode;
|
||||
use phpDocumentor\Guides\Nodes\ListItemNode;
|
||||
use phpDocumentor\Guides\Nodes\ListNode;
|
||||
use phpDocumentor\Guides\Nodes\LiteralBlockNode;
|
||||
use phpDocumentor\Guides\Nodes\Metadata\AddressNode;
|
||||
use phpDocumentor\Guides\Nodes\Metadata\AuthorNode;
|
||||
use phpDocumentor\Guides\Nodes\Metadata\AuthorsNode;
|
||||
use phpDocumentor\Guides\Nodes\Metadata\ContactNode;
|
||||
use phpDocumentor\Guides\Nodes\Metadata\CopyrightNode;
|
||||
use phpDocumentor\Guides\Nodes\Metadata\DateNode;
|
||||
use phpDocumentor\Guides\Nodes\Metadata\MetaNode;
|
||||
use phpDocumentor\Guides\Nodes\Metadata\NoCommentsNode;
|
||||
use phpDocumentor\Guides\Nodes\Metadata\NoSearchNode;
|
||||
use phpDocumentor\Guides\Nodes\Metadata\OrganizationNode;
|
||||
use phpDocumentor\Guides\Nodes\Metadata\OrphanNode;
|
||||
use phpDocumentor\Guides\Nodes\Metadata\RevisionNode;
|
||||
use phpDocumentor\Guides\Nodes\Metadata\TocDepthNode;
|
||||
use phpDocumentor\Guides\Nodes\Metadata\TopicNode;
|
||||
use phpDocumentor\Guides\Nodes\Metadata\VersionNode;
|
||||
use phpDocumentor\Guides\Nodes\ParagraphNode;
|
||||
use phpDocumentor\Guides\Nodes\QuoteNode;
|
||||
use phpDocumentor\Guides\Nodes\SectionNode;
|
||||
use phpDocumentor\Guides\Nodes\SeparatorNode;
|
||||
use phpDocumentor\Guides\Nodes\TitleNode;
|
||||
|
||||
return [
|
||||
AnchorNode::class => 'inline/anchor.tex.twig',
|
||||
FigureNode::class => 'body/figure.tex.twig',
|
||||
MetaNode::class => 'structure/header/meta.tex.twig',
|
||||
ParagraphNode::class => 'body/paragraph.tex.twig',
|
||||
QuoteNode::class => 'body/quote.tex.twig',
|
||||
SeparatorNode::class => 'body/separator.tex.twig',
|
||||
TitleNode::class => 'structure/header-title.tex.twig',
|
||||
SectionNode::class => 'structure/section.tex.twig',
|
||||
DocumentNode::class => 'structure/document.tex.twig',
|
||||
ImageNode::class => 'body/image.tex.twig',
|
||||
CodeNode::class => 'body/code.tex.twig',
|
||||
DefinitionListNode::class => 'body/definition-list.tex.twig',
|
||||
DefinitionNode::class => 'body/definition.tex.twig',
|
||||
FieldListNode::class => 'body/field-list.tex.twig',
|
||||
ListNode::class => 'body/list/list.tex.twig',
|
||||
ListItemNode::class => 'body/list/list-item.tex.twig',
|
||||
LiteralBlockNode::class => 'body/literal-block.tex.twig',
|
||||
CitationNode::class => 'body/citation.tex.twig',
|
||||
FootnoteNode::class => 'body/footnote.tex.twig',
|
||||
AnnotationListNode::class => 'body/annotation-list.tex.twig',
|
||||
// Inline
|
||||
ImageInlineNode::class => 'inline/image.tex.twig',
|
||||
InlineCompoundNode::class => 'inline/inline-node.tex.twig',
|
||||
AbbreviationInlineNode::class => 'inline/textroles/abbreviation.tex.twig',
|
||||
CitationInlineNode::class => 'inline/citation.tex.twig',
|
||||
DocReferenceNode::class => 'inline/doc.tex.twig',
|
||||
EmphasisInlineNode::class => 'inline/emphasis.tex.twig',
|
||||
FootnoteInlineNode::class => 'inline/footnote.tex.twig',
|
||||
HyperLinkNode::class => 'inline/link.tex.twig',
|
||||
LiteralInlineNode::class => 'inline/literal.tex.twig',
|
||||
NewlineInlineNode::class => 'inline/newline.tex.twig',
|
||||
WhitespaceInlineNode::class => 'inline/nbsp.tex.twig',
|
||||
PlainTextInlineNode::class => 'inline/plain-text.tex.twig',
|
||||
ReferenceNode::class => 'inline/ref.tex.twig',
|
||||
StrongInlineNode::class => 'inline/strong.tex.twig',
|
||||
VariableInlineNode::class => 'inline/variable.tex.twig',
|
||||
GenericTextRoleInlineNode::class => 'inline/textroles/generic.tex.twig',
|
||||
// Output as Metatags
|
||||
AuthorNode::class => 'structure/header/author.tex.twig',
|
||||
CopyrightNode::class => 'structure/header/copyright.tex.twig',
|
||||
DateNode::class => 'structure/header/date.tex.twig',
|
||||
NoSearchNode::class => 'structure/header/no-search.tex.twig',
|
||||
TopicNode::class => 'structure/header/topic.tex.twig',
|
||||
// No output in page header in tex - might be output in i.e. LaTex
|
||||
AddressNode::class => 'structure/header/blank.tex.twig',
|
||||
AuthorsNode::class => 'structure/header/blank.tex.twig',
|
||||
ContactNode::class => 'structure/header/blank.tex.twig',
|
||||
NoCommentsNode::class => 'structure/header/blank.tex.twig',
|
||||
OrganizationNode::class => 'structure/header/blank.tex.twig',
|
||||
OrphanNode::class => 'structure/header/blank.tex.twig',
|
||||
RevisionNode::class => 'structure/header/blank.tex.twig',
|
||||
TocDepthNode::class => 'structure/header/blank.tex.twig',
|
||||
VersionNode::class => 'structure/header/blank.tex.twig',
|
||||
];
|
||||
Reference in New Issue
Block a user