We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 184ce7b commit b7d2a9aCopy full SHA for b7d2a9a
README.md
@@ -2,3 +2,24 @@
2
3
The CakePHP API docs allow you to build the API documentation as seen on
4
https://api.cakephp.org
5
+
6
7
8
+### Running documentation generator on a CakePHP codebase
9
10
+The tool generates documentation from CakePHP source code. According to the Makefile, you need:
11
+- A local clone of the CakePHP repository (default location: ../cakephp/)
12
+- Run the generator command
13
14
+For example, to test with CakePHP 5.2:
15
16
+#### Ensure you have a CakePHP clone
17
+```
18
+cd ../cakephp/ && git checkout origin/5.x && cd -
19
20
21
+#### Run the generator
22
23
+php bin/apitool.php generate --config cakephp5 --version 5.2 --tag origin/5.x --output-dir build/test/ ../cakephp
24
25
0 commit comments