diff --git a/.drone.yml b/.drone.yml index 2356f8c..8957b88 100644 --- a/.drone.yml +++ b/.drone.yml @@ -90,13 +90,13 @@ steps: commands: - | if [ "$JTYPE" = "framework" ]; then - phpdoc -d "./repos/*/src" -t "./build/framework-$JVERSION/" --cache-folder "/tmp/phpdocumentor-cache" --template "./" --title "Joomla! Framework $JVERSION.x API" -i "./repos/string/src/phputf8" --defaultpackagename "Joomla Framework" --setting=graphs.enabled=true --setting=guides.enabled=true + phpdoc -d "./repos/*/src" -t "./build/framework-$JVERSION/" --cache-folder "/tmp/phpdocumentor-cache" --template "./.phpdoc/template" --title "Joomla! Framework $JVERSION.x API" -i "./repos/string/src/phputf8" --defaultpackagename "Joomla Framework" --setting=graphs.enabled=true --setting=guides.enabled=true fi - | if [ "$JTYPE" = "cms" ]; then export MINORVERSION=${JVERSION%.*} export MAJORVERSION=${JVERSION:0:1} - phpdoc -d "./repos/joomla-cms/libraries/src" -t "./build/cms-$MAJORVERSION/" --cache-folder "/tmp/phpdocumentor-cache" --template "./" --title "Joomla! CMS $MINORVERSION.x API" --defaultpackagename "Joomla CMS" --setting=graphs.enabled=true --setting=guides.enabled=true + phpdoc -d "./repos/joomla-cms/libraries/src" -t "./build/cms-$MAJORVERSION/" --cache-folder "/tmp/phpdocumentor-cache" --template "./.phpdoc/template" --title "Joomla! CMS $MINORVERSION.x API" --defaultpackagename "Joomla CMS" --setting=graphs.enabled=true --setting=guides.enabled=true fi - name: deploy_documentation @@ -143,6 +143,6 @@ trigger: --- kind: signature -hmac: a002e30e04f1c87e97ac1d7ca091e3a71f5d958b15cb162c91a2e6200701f48b +hmac: 67087323497814e16bc3178c5c4bd9a792c848753058015b6dc094aecd127f84 ... diff --git a/.gitignore b/.gitignore index 4e84dfa..d8dbc08 100644 --- a/.gitignore +++ b/.gitignore @@ -5,7 +5,7 @@ .DS_Store .idea -/.phpdoc/ +/.phpdoc/cache/ /api-docs/ /build/ /repos/ diff --git a/base/class.sidebar.html.twig b/.phpdoc/template/base/class.sidebar.html.twig similarity index 97% rename from base/class.sidebar.html.twig rename to .phpdoc/template/base/class.sidebar.html.twig index a2c5ba9..c598217 100644 --- a/base/class.sidebar.html.twig +++ b/.phpdoc/template/base/class.sidebar.html.twig @@ -1,71 +1,71 @@ -{% use 'base/sidebar.html.twig' %} - -{% block sidebar_buttons %} -
- - - - -
-{% endblock %} - -{% block sidebar_entry %} -
  • - - {{ item.name }} - -
  • -{% endblock %} - -{% block sidebar_content %} - -{% endblock %} +{% use 'base/sidebar.html.twig' %} + +{% block sidebar_buttons %} +
    + + + + +
    +{% endblock %} + +{% block sidebar_entry %} +
  • + + {{ item.name }} + +
  • +{% endblock %} + +{% block sidebar_content %} + +{% endblock %} diff --git a/base/macros.html.twig b/.phpdoc/template/base/macros.html.twig similarity index 93% rename from base/macros.html.twig rename to .phpdoc/template/base/macros.html.twig index b6bd14c..06491c8 100644 --- a/base/macros.html.twig +++ b/.phpdoc/template/base/macros.html.twig @@ -3,7 +3,7 @@ {% for file in files %} {% set count = count + file.markers|length %} {% endfor %} - {{ count }} + {{ count }} {% endmacro %} {% macro renderErrorCounter(files) %} @@ -15,7 +15,7 @@ {% endif %} {% endfor %} {% endfor %} - {{ count }} + {{ count }} {% endmacro %} {% macro renderDeprecatedCounter(elements) %} @@ -25,7 +25,7 @@ {% set count = count + element.tags.deprecated.count %} {% endif %} {% endfor %} - {{ count }} + {{ count }} {% endmacro %} {% macro buildBreadcrumb(element) %} diff --git a/base/sidebar.html.twig b/.phpdoc/template/base/sidebar.html.twig similarity index 100% rename from base/sidebar.html.twig rename to .phpdoc/template/base/sidebar.html.twig diff --git a/class.html.twig b/.phpdoc/template/class.html.twig similarity index 89% rename from class.html.twig rename to .phpdoc/template/class.html.twig index 78bded3..2c50d47 100644 --- a/class.html.twig +++ b/.phpdoc/template/class.html.twig @@ -8,12 +8,12 @@ {% endblock %} {% block content %} -
    -