This is the official documentation for the CakePHP project. It is available online in HTML, PDF and EPUB formats at http://book.cakephp.org.
You can read all of the documentation within as its just in plain text files, marked up with ReST text formatting. To build the documentation you'll need the following:
You can install sphinx using:
easy_install sphinx==1.2.3
You can install the phpdomain using:
easy_install sphinxcontrib-phpdomain
To run the easy_install command, the setuptools package must be previously installed.
After installing the required packages, you can build the documentation using make
.
# Create all the HTML docs. Including all the languages.
make html
# Create just the English HTML docs.
make html-en
# Create all the EPUB (e-book) docs.
make epub
# Create just the English EPUB docs.
make epub-en
# Populate the search index
make populate-index
This will generate all the documentation in an HTML form. Other output such as 'htmlhelp' are not fully complete at this time.
After making changes to the documentation, you can build the HTML version of the docs by using make html
again. This will build only the HTML files that have had changes made to them.
Building the PDF is a non-trivial task.
tlmgr
make latex-en
.make pdf-en
.At this point the completed PDF should be in build/latex/en/CakePHPCookbook.pdf.
Contributing to the documentation is pretty simple. Please read the documentation on contributing to the documentation over on the cookbook for help.
There are currently a number of outstanding issues that need to be addressed. We've tried to flag these with .. todo::
where possible. To see all the outstanding todo's add the following to your config/all.py
todo_include_todos = True
After rebuilding the HTML content, you should see a list of existing todo items at the bottom of the table of contents.
You are also welcome to make and suggestions for new content as commits in a GitHub fork. Please make any totally new sections in a separate branch. This makes changes far easier to integrate later on.
Contributing translations requires that you make a new directory using the two letter name for your language. As content is translated, directories mirroring the english content should be created with localized content.
searchUrl
in themes/cakephp/static/app.js
to point at the
baseurl for your docs_search clone.make populate-index
.Вы можете оставить комментарий после Вход в систему
Неприемлемый контент может быть отображен здесь и не будет показан на странице. Вы можете проверить и изменить его с помощью соответствующей функции редактирования.
Если вы подтверждаете, что содержание не содержит непристойной лексики/перенаправления на рекламу/насилия/вульгарной порнографии/нарушений/пиратства/ложного/незначительного или незаконного контента, связанного с национальными законами и предписаниями, вы можете нажать «Отправить» для подачи апелляции, и мы обработаем ее как можно скорее.
Комментарии ( 0 )