Skip to content

Commit 8f9fce8

Browse files
committed
Merge branch '5.x' into 5.next
2 parents 733cbaa + 8cc846e commit 8f9fce8

File tree

15 files changed

+22
-16
lines changed

15 files changed

+22
-16
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ Building the PDF is a non-trivial task.
106106
2. Run `make latex-en`.
107107
3. Run `make pdf-en`.
108108

109-
At this point the completed PDF should be in `build/latex/en/CakePHPCookbook.pdf`.
109+
At this point the completed PDF should be in `build/latex/en/CakePHPBook.pdf`.
110110

111111
Contributing
112112
------------

config/conf.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
# (source start file, target name, title, author,
6464
# documentclass [howto/manual]).
6565
latex_documents = [
66-
('pdf-contents', 'CakePHPCookbook.tex', u'CakePHP Cookbook Documentation',
66+
('pdf-contents', 'CakePHPBook.tex', u'CakePHP Book',
6767
u'Cake Software Foundation', 'manual'),
6868
]
6969

@@ -72,15 +72,15 @@
7272
# One entry per manual page. List of tuples
7373
# (source start file, name, description, authors, manual section).
7474
man_pages = [
75-
('index', 'cakephpcookbook', u'CakePHP Cookbook Documentation',
75+
('index', 'cakephpbook', u'CakePHP Book',
7676
[u'CakePHP'], 1)
7777
]
7878

7979

8080
# -- Options for Epub output -------------------------------------------------
8181

8282
# Bibliographic Dublin Core info.
83-
epub_title = u'CakePHP Cookbook'
83+
epub_title = u'CakePHP Book'
8484
epub_author = u'Cake Software Foundation, Inc.'
8585
epub_publisher = u'Cake Software Foundation, Inc.'
8686
epub_copyright = u'%d, Cake Software Foundation, Inc.' % datetime.datetime.now().year
@@ -98,7 +98,7 @@
9898
epub_identifier = 'https://cakephp.org'
9999

100100
# A unique identification for the text.
101-
epub_uid = 'cakephpcookbook1393624653'
101+
epub_uid = 'cakephpbook1393624653'
102102

103103
# A list of files that should not be packed into the epub file.
104104
epub_exclude_files = [

en/appendices/5-0-migration-guide.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,8 @@ I18n
182182

183183
- ``FrozenDate`` was renamed to `Date` and ``FrozenTime`` was renamed to `DateTime`.
184184
- ``Time`` now extends ``Cake\Chronos\ChronosTime`` and is therefore immutable.
185+
- ``Date`` objects do not extend ``DateTimeInterface`` anymore - therefore you can't compare them with ``DateTime`` objects.
186+
See the `cakephp/chronos release documentation <https://github.com/cakephp/chronos/releases/tag/3.0.2>`__ for more information.
185187
- ``Date::parseDateTime()`` was removed.
186188
- ``Date::parseTime()`` was removed.
187189
- ``Date::setToStringFormat()`` and ``Date::setJsonEncodeFormat()`` no longer accept an array.

en/development/routing.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -637,6 +637,10 @@ the ``$options`` argument::
637637
$routes->connect('/{controller}');
638638
});
639639

640+
Note the additional route parameters will be added to all the connected routes defined
641+
inside the prefix block. You will need to use all the parameters in the url array to
642+
build the route later, if you don't use them you'll get a ``MissingRouteException``.
643+
640644
Multi word prefixes are by default converted using dasherize inflection, ie ``MyPrefix``
641645
would be mapped to ``my-prefix`` in the URL. Make sure to set a path for such prefixes
642646
if you want to use a different format like for example underscoring::

en/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ contribute any additions, deletions, or corrections to the documentation.
1919
Enjoy the CakePHP cookbook almost anywhere. Available as both a PDF and
2020
EPUB, you can now read it on more devices, as well as offline.
2121

22-
- `PDF <../_downloads/en/CakePHPCookbook.pdf>`_
22+
- `PDF <../_downloads/en/CakePHPBook.pdf>`_
2323
- `EPUB <../_downloads/en/CakePHP.epub>`_
2424
- `Original Source <https://github.com/cakephp/docs>`_
2525

en/views/helpers/time.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ posts using the TimeHelper::
2929
echo $this->Time->format(
3030
$post->created,
3131
\IntlDateFormatter::FULL,
32-
null,
32+
false,
3333
$user->time_zone
3434
);
3535
// Will display 'Saturday, August 22, 2011 at 11:53:00 PM GMT'

es/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ o corrección de la documentación.
1919
Disfruta del manual de CakePHP en cualquier sitio. Disponible tanto en PDF
2020
como en EPUB, puedes leerlo en más dispositivos y de manera offline.
2121

22-
- `PDF <../_downloads/es/CakePHPCookbook.pdf>`_
22+
- `PDF <../_downloads/es/CakePHPBook.pdf>`_
2323
- `EPUB <../_downloads/es/CakePHP.epub>`_
2424
- `Original Source <https://github.com/cakephp/docs>`_
2525

fr/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ la documentation.
2222
EPUB, vous pouvez maintenant lire les docs sur plus d'appareils et
2323
hors-ligne.
2424

25-
- `PDF <../_downloads/fr/CakePHPCookbook.pdf>`_.
25+
- `PDF <../_downloads/fr/CakePHPBook.pdf>`_.
2626
- `EPUB <../_downloads/fr/CakePHP.epub>`_.
2727
- `Source originale <https://github.com/cakephp/docs>`_.
2828

fr/views/helpers/time.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ pouvons corriger la date et le temps de nos posts en utilisant le TimeHelper::
3131
echo $this->Time->format(
3232
$post->created,
3333
\IntlDateFormatter::FULL,
34-
null,
34+
false,
3535
$user->time_zone
3636
);
3737
// Affichera 'Saturday, August 22, 2011 at 11:53:00 PM GMT'

ja/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ CakePHP クックブックは、オープンに開発されている、コミュ
2020
どこでも CakePHP のレシピをお楽しみいただけます。PDF と EPUB をご用意しましたので、
2121
多くのデバイス上でオフラインでドキュメントを読むことができます。
2222

23-
- `PDF (英語) <../_downloads/en/CakePHPCookbook.pdf>`_
23+
- `PDF (英語) <../_downloads/en/CakePHPBook.pdf>`_
2424
- `EPUB <../_downloads/ja/CakePHP.epub>`_
2525
- `オリジナルソース <https://github.com/cakephp/docs>`_
2626

0 commit comments

Comments
 (0)