36bebbfefb
use id instead of name for anchor references in the guide
...
fixes #7013
2015-01-25 22:13:16 +01:00
cd2ba59982
use string helper to truncate string
2015-01-10 21:12:51 +01:00
5fedb8da59
fixed invalid UTF8 problem in guide indexer
...
fixes #6741
2015-01-10 21:12:51 +01:00
992db0efef
apidoc minor fixes: phpdoc, use statements, comments
2014-11-27 15:15:32 +03:00
5526cad17f
use css class to indicate broken links in generated guide/api docs. [skip ci]
2014-11-19 16:23:13 -05:00
a90242adf4
apidoc: make the guide PDF renderer work again
2014-10-21 01:27:35 +02:00
5ac1d67a69
fix guide navigation
...
issue #5082
2014-10-10 22:37:58 +02:00
3e3948d8ea
fix breaking changes in markdown for console and API
...
API is not finished.
issue #5082
2014-10-10 19:40:53 +02:00
664fe08874
updated cebe/markdown to 1.0.0
...
this commit breaks the apidoc extension. will adjust it afterwards.
2014-10-10 13:21:49 +02:00
a9e91efe8f
small fixes thoughout the guide
2014-10-01 00:31:51 +02:00
6b353bb5df
added documentation about #5175
2014-09-27 22:09:33 +02:00
73cb5f8aac
changed syntax for referencing the guide in apidoc
...
New syntax:
```
[link to guide](guide:file-name.md)
[link to guide](guide:file-name.md#subsection)
```
fixes #4719
2014-09-05 14:59:22 +02:00
7736853837
property code style extensions
2014-07-30 00:40:46 +02:00
fd8828cfb4
resolved naming conflict in apidoc
2014-06-28 01:25:10 +02:00
6578cfbdab
updated phpdoc and classmap
2014-06-25 18:24:23 +02:00
10dc407a3c
implemented markdown parsing for console command description
...
issue #746
2014-06-25 18:05:29 +02:00
75b1f4818c
improved HTML guide navigation
2014-06-10 00:09:40 +02:00
d7a251bbec
Removed unused imports, added missing phpdoc
2014-05-30 11:55:17 +06:00
0f4817005f
finished PDF support for guide
...
added class references (current version without hyperlink)
2014-05-28 17:20:24 +02:00
3ff2e4e3f3
improved PDF version of the guide
...
- better title page,
- book style,
- improved internal linking using labels and references
2014-05-28 13:29:24 +02:00
6647709113
generate PDF file chapters from README.md structure
2014-05-26 18:36:44 +02:00
b7e493fca0
Tabs to spaces to be consistent
...
```
vendor/bin/indent --spaces -r framework/
vendor/bin/indent --tabs -r . --pattern=*.json
vendor/bin/indent --spaces -r . --pattern=*.md
vendor/bin/indent --spaces -r . --pattern=yii.*.js
vendor/bin/indent --spaces -r . --pattern=*.css
```
2014-05-23 16:58:21 +02:00
0a86091984
use mb_ string functions to truncate description
2014-04-25 05:06:13 +02:00
5f77cb97c5
added search form to api docs
2014-04-25 04:06:07 +02:00
fe14f0c5e3
fixed all the PHPdoc in extensions
2014-04-23 03:25:11 +02:00
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