Name Date Size #Lines LOC

..Today-

source/H29-Nov-2024-

.gitignoreH A D18-Feb-20247 21

MakefileH A D29-Nov-2024875 3722

README.mdH A D29-Nov-20241,005 3928

mailinglist-rules.mdH A D28-Feb-20243.3 KiB7754

release-process.mdH A D04-Sep-202444.8 KiB1,121856

requirements.txtH A D29-Nov-202448 54

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