diff --git a/.phpdoc/template/base.html.twig b/.phpdoc/template/base.html.twig new file mode 100644 index 0000000..1769ae5 --- /dev/null +++ b/.phpdoc/template/base.html.twig @@ -0,0 +1,9 @@ +{% extends 'layout.html.twig' %} + +{% +set topMenu = { + "menu": [ + { "name": "PHP Documentation", "url": "https://www.marketdata.app/docs/sdk-php/"}, + ] +} +%} diff --git a/.phpdoc/template/components/header-title.html.twig b/.phpdoc/template/components/header-title.html.twig new file mode 100644 index 0000000..162c9b0 --- /dev/null +++ b/.phpdoc/template/components/header-title.html.twig @@ -0,0 +1,3 @@ +

+ MarketData SDK +

diff --git a/.phpdoc/template/index.html.twig b/.phpdoc/template/index.html.twig new file mode 100644 index 0000000..fc808d3 --- /dev/null +++ b/.phpdoc/template/index.html.twig @@ -0,0 +1,22 @@ +{% extends 'base.html.twig' %} + +{% block content %} +
+

PHP Documentation

+ + {% set node = project.namespace %} + + {{ + include( + 'components/table-of-contents.html.twig', + { + 'node': project.namespace, + 'namespaces': usesNamespaces or not usesPackages ? node.children : [], + 'packages': usesPackages ? project.package.children : [] + } + ) + }} + {{ include('components/constants.html.twig', {'node': project.namespace}) }} + {{ include('components/functions.html.twig', {'node': project.namespace}) }} +
+{% endblock %} diff --git a/.phpdoc/template/template.xml b/.phpdoc/template/template.xml new file mode 100644 index 0000000..562997c --- /dev/null +++ b/.phpdoc/template/template.xml @@ -0,0 +1,10 @@ + + diff --git a/phpdoc.dist.xml b/phpdoc.dist.xml index dbc18ae..7448463 100644 --- a/phpdoc.dist.xml +++ b/phpdoc.dist.xml @@ -15,4 +15,5 @@ +