Skip to content

ajibarra/docs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CakePHP Documentation

This documentation is planned to replace the existing cookbook. Hopefully enabling community contributions and enabling multiple format documentation generation.

Requirements

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:

  • Make
  • Python
  • Sphinx
  • PhpDomain for sphinx

You can install sphinx using:

easy_install sphinx

You can install the phpdomain using:

easy_install sphinxcontrib-phpdomain

Building the documentation

After installing the require 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 engish EPUB docs.
make epub-en

This will generate all the documentation in an html form. Other output such as 'pdf' and '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.

Contributing

Contributing to the documentation is pretty simple. 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.

Translations

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.

About

new version of CakePHP docs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%