phpDocumentor / template.new_black

ABANDONED: This template is merged into phpDocumentor2 itself
6 stars 6 forks source link

Sourcecode is not highlighted and is visible for every file even when runtime option --sourcecode is not used #30

Open mbed67 opened 9 years ago

mbed67 commented 9 years ago

According to the documentation http://www.phpdoc.org/docs/latest/references/commands/project_run.html#description and http://www.phpdoc.org/docs/latest/references/phpdoc/tags/filesource.html the tag @filesource should create a link to the highlighted sourcecode of that specific file and the runtime option --sourcecode should do this for every file.

This template creates links to view the sourcecode for every file, even though --sourcecode is not used, and the sourcecode is not highlighted.

A file that has the @filesource tag is phpDocumentor\Tests\ReferenceImplementation.php

In the documentation for this file there is a label "filesource", but it doesn't do anything. image