All Projects → cakephp → Docs

cakephp / Docs

Licence: other
CakePHP CookBook

Projects that are alternatives of or similar to Docs

Doc
🦋 Raku documentation (tools and docs)
Stars: ✭ 259 (-60.34%)
Mutual labels:  hacktoberfest, documentation
Cordova Docs
Apache Cordova Documentation
Stars: ✭ 315 (-51.76%)
Mutual labels:  hacktoberfest, documentation
Documentation
📘 Nextcloud documentation
Stars: ✭ 268 (-58.96%)
Mutual labels:  hacktoberfest, documentation
Jumpdrive
Flash/Rescue SD Card image for PinePhone and PineTab
Stars: ✭ 217 (-66.77%)
Mutual labels:  makefile, hacktoberfest
Users
Users Plugin for CakePHP
Stars: ✭ 488 (-25.27%)
Mutual labels:  hacktoberfest, cakephp
Smallest Secured Golang Docker Image
Create the smallest and secured golang docker image based on scratch
Stars: ✭ 229 (-64.93%)
Mutual labels:  makefile, hacktoberfest
Docs
Parse Platform docs
Stars: ✭ 296 (-54.67%)
Mutual labels:  hacktoberfest, documentation
Monero Gui Guide
Guide for the Monero GUI wallet
Stars: ✭ 36 (-94.49%)
Mutual labels:  makefile, hacktoberfest
Ava Docs
Localized docs for AVA
Stars: ✭ 455 (-30.32%)
Mutual labels:  hacktoberfest, documentation
Openshift Docs
OpenShift 3 and 4 product and community documentation
Stars: ✭ 452 (-30.78%)
Mutual labels:  hacktoberfest, documentation
Operating System
🔰 Home Assistant Operating System
Stars: ✭ 1,920 (+194.03%)
Mutual labels:  makefile, hacktoberfest
Docusaurus
Easy to maintain open source documentation websites.
Stars: ✭ 29,053 (+4349.16%)
Mutual labels:  hacktoberfest, documentation
Libreelec.tv
Just enough OS for KODI
Stars: ✭ 1,358 (+107.96%)
Mutual labels:  makefile, hacktoberfest
Packages
Community maintained packages for OpenWrt. Documentation for submitting pull requests is in CONTRIBUTING.md
Stars: ✭ 2,957 (+352.83%)
Mutual labels:  makefile, hacktoberfest
Wiki
Archive of free60.org mediawiki
Stars: ✭ 83 (-87.29%)
Mutual labels:  makefile, hacktoberfest
Crystal Book
Crystal docs at https://crystal-lang.org/reference
Stars: ✭ 275 (-57.89%)
Mutual labels:  makefile, documentation
Docs
User documentation for Knative components.
Stars: ✭ 3,106 (+375.65%)
Mutual labels:  hacktoberfest, documentation
Mvvm C Templates
Templates for MVVM-C architecture
Stars: ✭ 27 (-95.87%)
Mutual labels:  makefile, hacktoberfest
Documentation Html Template
A Sample Documentation Template for Themes, Templates and Plugins
Stars: ✭ 322 (-50.69%)
Mutual labels:  hacktoberfest, documentation
Circleci Docs
Documentation for CircleCI.
Stars: ✭ 501 (-23.28%)
Mutual labels:  hacktoberfest, documentation

CakePHP Documentation

License: CC BY-NC-SA 4.0 Build Status

This is the official documentation for the CakePHP project. It is available online in HTML, PDF and EPUB formats at https://book.cakephp.org.

Contributing to the documentation is pretty simple. Please read the documentation on contributing to the documentation over on the cookbook for help. You can read all of the documentation within as its just in plain text files, marked up with ReST text formatting.

There are two ways for building the documentation: with Docker, or by installing the packages directly on your OS.

Build the Documentation with Docker

Docker will let you create a container with all packages needed to build the docs. You need to have docker installed, see the official docs of docker for more information.

Build the image locally

Starting in the top-level directory, you can build the provided Dockerfile and tag it with the name cakephp/docs by running:

docker build -t cakephp/docs .

This can take a little while, because all packages needs to be downloaded, but you'll only need to do this once.

Now that the image is built, you can run all the commands to build the docs:

# To build the html
docker run -it --rm -v $(pwd):/data cakephp/docs make html

# To build the epub
docker run -it --rm -v $(pwd):/data cakephp/docs make epub

# To build the latex
docker run -it --rm -v $(pwd):/data cakephp/docs make latex

# To build the pdf
docker run -it --rm -v $(pwd):/data cakephp/docs make pdf

All the documentation will output to the build directory.

Build the Documentation Manually

Installing the needed Packages

To build the documentation you'll need to install dependencies using:

pip install -r requirements.txt

To run the pip command, python-pip package must be previously installed.

Building the Documentation

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

Building the PDF is a non-trivial task.

  1. Install LaTeX - This varies by distribution/OS so refer to your package manager. You should install the full LaTeX package. The basic one requires any additional packages to be installed with tlmgr
  2. Run make latex-en.
  3. Run make pdf-en.

At this point the completed PDF should be in build/latex/en/CakePHPCookbook.pdf.

Contributing

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. For more info, please, click here.

Making Search Work Locally

  • Install elasticsearch. This varies based on your platform, but most package managers have a package for it.
  • Clone the docs_search into a web accessible directory.
  • Modify searchUrl in themes/cakephp/static/app.js to point at the baseurl for your docs_search clone.
  • Start elasticsearch with the default configuration.
  • Populate the search index using make populate-index.
  • You should now be able to search the docs using elasticsearch.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].