Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
13849e75
Commit
13849e75
authored
Jan 06, 2014
by
Carsten Brandt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor fixes to api doc template
also ignore tests and vendor
parent
c9baa530
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
RenderController.php
extensions/yii/apidoc/commands/RenderController.php
+1
-1
index.php
extensions/yii/apidoc/templates/offline/views/index.php
+2
-2
No files found.
extensions/yii/apidoc/commands/RenderController.php
View file @
13849e75
...
@@ -115,7 +115,7 @@ class RenderController extends Controller
...
@@ -115,7 +115,7 @@ class RenderController extends Controller
return
new
$rendererClass
();
return
new
$rendererClass
();
}
}
protected
function
findFiles
(
$path
,
$except
=
[])
protected
function
findFiles
(
$path
,
$except
=
[
'/vendor/'
,
'/tests/'
])
{
{
$path
=
FileHelper
::
normalizePath
(
$path
);
$path
=
FileHelper
::
normalizePath
(
$path
);
$options
=
[
$options
=
[
...
...
extensions/yii/apidoc/templates/offline/views/index.php
View file @
13849e75
...
@@ -23,8 +23,8 @@ use yii\apidoc\models\TraitDoc;
...
@@ -23,8 +23,8 @@ use yii\apidoc\models\TraitDoc;
ksort
(
$types
);
ksort
(
$types
);
foreach
(
$types
as
$i
=>
$class
)
:
?>
foreach
(
$types
as
$i
=>
$class
)
:
?>
<tr>
<tr>
<td>
<?
php
echo
$this
->
context
->
typeLink
(
$class
,
$class
->
name
);
?>
</td>
<td>
<?
=
$this
->
context
->
typeLink
(
$class
,
$class
->
name
)
?>
</td>
<td>
<?
php
echo
$class
->
shortDescription
;
?>
</td>
<td>
<?
=
\yii\apidoc\helpers\Markdown
::
process
(
$class
->
shortDescription
,
$class
)
?>
</td>
</tr>
</tr>
<?php
endforeach
;
?>
<?php
endforeach
;
?>
</table>
</table>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment