Skip to content

Commit

Permalink
Update reference docs description
Browse files Browse the repository at this point in the history
  • Loading branch information
const-cloudinary committed Apr 5, 2023
1 parent f8e1cff commit 71be0d6
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 1 deletion.
38 changes: 38 additions & 0 deletions docs/themes/cloudinary/index.twig
@@ -0,0 +1,38 @@
{% extends "layout/layout.twig" %}

{% block body_class 'index' %}

{% block page_content %}
<div class="page-header">
<h1>{{ project.config('title') }}</h1>
</div>
<div class="description">
<p>This reference provides details on all PHP SDK asset management namespaces and classes. </p>
<p>For details on the PHP SDK transformation namespaces and classes,
see the <a href="/documentation/sdks/php/php-transformation-builder/index.html">PHP SDK Transformation Reference.</a></p>
</div>
<div class="page-header">
<h2>Namespaces</h2>
</div>
{% if namespaces %}
<div class="namespaces clearfix">
{% set last_name = '' %}
{% for namespace in namespaces %}
{% set top_level = namespace|split('\\')|first %}
{% if top_level != last_name %}
{% if last_name %}</ul></div>{% endif %}
<div class="namespace-container">
<h2>{{ top_level|raw }}</h2>
<ul>
{% set last_name = top_level %}
{% endif %}
<li><a href="{{ namespace_path(namespace) }}">{{ namespace|raw }}</a></li>
{% endfor %}
</ul>
</div>
</div>
{% endif %}

{% endblock %}


2 changes: 1 addition & 1 deletion docs/themes/cloudinary/layout/layout.twig
Expand Up @@ -39,7 +39,7 @@
<!--li><a href="{{ path('traits.html') }}">Traits</a></li--CLD_MOD-->
<li><a href="{{ path('doc-index.html') }}">Index</a></li>
<li><a href="{{ path('search.html') }}">Search</a></li>
<li><a href="/documentation/sdks/php/php-transformation-builder/index.html">Transformations Reference</a></li>
<li><a href="/documentation/sdks/php/php-transformation-builder/index.html">PHP Transformation Reference</a></li>
<li><a href="/documentation/php2_integration" target="_blank">SDK User Guide</a></li>
</ul>
</div>
Expand Down

0 comments on commit 71be0d6

Please sign in to comment.