Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | Today | - | ||||
source/ | H | 29-Nov-2024 | - | |||
.gitignore | H A D | 18-Feb-2024 | 7 | 2 | 1 | |
Makefile | H A D | 29-Nov-2024 | 875 | 37 | 22 | |
README.md | H A D | 29-Nov-2024 | 1,005 | 39 | 28 | |
mailinglist-rules.md | H A D | 28-Feb-2024 | 3.3 KiB | 77 | 54 | |
release-process.md | H A D | 04-Sep-2024 | 44.8 KiB | 1,121 | 856 | |
requirements.txt | H A D | 29-Nov-2024 | 48 | 5 | 4 |
README.md
1# php-src docs 2 3This is the home of the php-src internal documentation, hosted at 4[php.github.io/php-src/](https://php.github.io/php-src/). It is in very early 5stages, but is intended to become the primary place where new information about 6php-src is documented. Over time, it is expected to replace various mediums 7like: 8 9* https://www.phpinternalsbook.com/ 10* https://wiki.php.net/internals 11* Blogs from contributors 12 13## How to build 14 15`python` 3 and `pip` are required. 16 17```bash 18cd docs 19# Recommended: Initialize and activate a Python virtual environment 20pip install --upgrade pip 21pip install -r requirements.txt 22make html 23``` 24 25That's it! You can view the documentation under `./build/html/index.html` in 26your browser. 27 28## Formatting 29 30The files in this documentation are formatted using the 31[``rstfmt``](https://github.com/dzhu/rstfmt) tool. 32 33```bash 34rstfmt -w 100 source 35``` 36 37This tool is not perfect. It breaks on custom directives, so we might switch to 38either a fork or something else in the future. 39