GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - cakephp/docs at docs/html-string

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

22,472 Commits
22,472 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.vitepress
.vitepress
 
 
docs
docs
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
Dockerfile
Dockerfile
 
 
README.md
README.md
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 

Repository files navigation

CakePHP Documentation

License: CC BY-NC-SA 4.0 Documentation Validation Build Status

This is the official documentation for the CakePHP project. It is available online 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 the documentation within as it is just in plain text files, marked up with Markdown formatting.

Local Development

Install dependencies, then start the VitePress development server:

npm install
npm run docs:dev

The documentation will be available at http://localhost:5173 with hot-reload enabled.

Other Commands

# Build the static site
npm run docs:build

# Preview the production build locally
npm run docs:preview

Prerequisites

  • node (version 22 or newer) - JavaScript runtime required by Vite/VitePress
  • npm - Package manager (included with most Node.js installations)
  • git - Required to install @cakephp/docs-skeleton from GitHub

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 -f Dockerfile -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 the commands to build the docs:

To build the static site:
docker build --progress=plain --no-cache -f Dockerfile -t cake-docs .
To run the development server:
docker run -d -p 8080:80 --name cakedocs cake-vitepress

The built documentation will output to the .vitepress/dist directory.

Contributing

You are welcome to make 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.

The documentation is written in Markdown and uses VitePress for static site generation. All documentation files are located in the docs/ directory, organized by version.

Search Functionality

The documentation includes built-in search functionality powered by VitePress's local search feature. Search works automatically in both development and production builds without requiring any additional setup.

About

CakePHP CookBook

book.cakephp.org

Topics

cakephpdocumentationhacktoberfest

Resources

Readme
Activity
Custom properties

Stars

694 stars

Watchers

65 watching

Forks

2.5k forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.