27 Commits

Author SHA1 Message Date
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
595f55c504 api doc improvements 2014-03-08 14:20:19 +01:00
1b7e1cd027 Merge pull request #2605 branch 'feature' of https://github.com/mongosoft/yii2 into code-style
* 'feature' of https://github.com/mongosoft/yii2:
  returned back formatting language files
  code style. WHILE
  code style. FOR
  code style. FOREACH
  code style. operator IF
  @param, @var, @property and @return must declare types as boolean, integer, string, array or null
  short echo tags
  short array syntax

Conflicts:
	extensions/apidoc/commands/RenderController.php
	extensions/apidoc/models/BaseDoc.php
	extensions/apidoc/models/Context.php
	extensions/apidoc/templates/bootstrap/Renderer.php
	extensions/apidoc/templates/bootstrap/layouts/guide.php
	extensions/apidoc/templates/bootstrap/layouts/main.php
	extensions/apidoc/templates/bootstrap/views/index.php
	extensions/apidoc/templates/html/Renderer.php
	extensions/apidoc/templates/offline/views/index.php
	extensions/apidoc/templates/offline/views/offline.php
	extensions/apidoc/templates/online/views/index.php
	extensions/elasticsearch/Connection.php
	extensions/redis/ActiveQuery.php
	framework/base/ErrorException.php
	framework/helpers/BaseFileHelper.php
	tests/unit/framework/helpers/FileHelperTest.php
2014-03-07 21:54:44 +01:00
668dacbab6 Merge pull request #2622 branch 'ext-codestyle-fix' of https://github.com/AlexGx/yii2 into code-style
* 'ext-codestyle-fix' of https://github.com/AlexGx/yii2:
  fix php5.4 array syntax
  many phpcs fixes
  fix phpDoc LuaScriptBuilder build @throws

Conflicts:
	extensions/apidoc/commands/RenderController.php
	extensions/apidoc/models/BaseDoc.php
	extensions/apidoc/templates/BaseRenderer.php
	extensions/apidoc/templates/bootstrap/Renderer.php
	extensions/apidoc/templates/bootstrap/layouts/guide.php
	extensions/apidoc/templates/bootstrap/layouts/main.php
	extensions/apidoc/templates/html/Renderer.php
	extensions/apidoc/templates/offline/Renderer.php
	extensions/apidoc/templates/offline/assets/AssetBundle.php
	extensions/apidoc/templates/offline/views/index.php
2014-03-07 21:34:23 +01:00
e2aacad8aa Added links to PHP.net to apidoc 2014-03-07 19:41:43 +01:00
f279719196 be consistent, use singular inheritdoc 2014-03-07 18:46:26 +01:00
1982efbdfe many phpcs fixes 2014-03-05 00:22:55 +02:00
f849623359 code style. FOR 2014-03-03 21:52:21 +03:00
c7e8d8b900 @param, @var, @property and @return must declare types as boolean, integer, string, array or null 2014-03-03 20:50:44 +03:00
023f4d0ab6 refactored apidoc extensions completely.
separated guide and apidoc, better maintainability
2014-02-25 19:52:15 +01:00
6b603c060b added anchors to ApiMarkdown
fixes #2220
2014-02-25 14:38:06 +01:00
26717e3e76 allow referencing the guide from API docs 2014-02-22 13:43:57 +01:00
c9c7db9ae5 fixed several issues with apidoc generator 2014-02-18 05:01:49 +01:00
9190e0f4dd Changed markdown library to cebe/markdown
- supports GFM now
- allows defining different flavors

fixes #47
2014-02-18 03:48:31 +01:00
70b0dd78f6 improvements to php codehighlight 2014-01-30 09:53:16 +01:00
1ecc775238 removed newline from php highlighting 2014-01-30 09:38:11 +01:00
ea7e576ef8 fixed an issue with code highlighting 2014-01-30 09:35:26 +01:00
1c905873d1 typo 2014-01-29 19:36:59 +01:00
020fd1843a documentation link fixes 2014-01-29 19:33:30 +01:00
1b2e80285b oops, forgot to add a class :) 2014-01-29 19:24:05 +01:00
29753b3e59 apidocs: use erusev/parsedown for markdown parsing
added quick and dirty code highlighing and got much faster
2014-01-29 19:20:39 +01:00
7924e6d1fb fixed apidoc context for markdown rendering 2014-01-28 16:50:35 +01:00
3f1a0307cc improved problems reporting in apidoc command 2014-01-28 16:39:23 +01:00
0f7732e80b fixed apidoc link parsing 2014-01-28 15:15:37 +01:00
c239afbf1e added guide to apidoc bootstrap template 2014-01-24 16:17:40 +01:00
135f06413a fixed phpdoc command.
fixed Markdown::process() to make it compatible with parent declaration.
2014-01-11 17:33:48 -05:00
da9d544c54 psr-4 change. 2014-01-10 21:06:25 -05:00