[doc-base] master: Document the move of the third-party extensions to doc-extensions (#359)

From: Date: Sun, 01 Nov 2026 09:44:10 +0000
Subject: [doc-base] master: Document the move of the third-party extensions to doc-extensions (#359)
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-23900@lists.php.net to get a copy of this message
Author: Louis-Arnaud (lacatoire) Committer: GitHub (web-flow) Pusher: jordikroon Date: 2026-11-01T10:44:07+01:00 Commit: https://github.com/php/doc-base/commit/4f417200c23842d2c9194f7000434a2e09c283fb Raw diff: https://github.com/php/doc-base/commit/4f417200c23842d2c9194f7000434a2e09c283fb.diff Document the move of the third-party extensions to doc-extensions (#359) Changed paths: M docs/faq.md M docs/overview.md M docs/structure.md M docs/translating.md Diff: diff --git a/docs/faq.md b/docs/faq.md index 5f8704d6ca..bb914b59b9 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -1,6 +1,10 @@ # Frequently Asked Questions ## I'm about to document a new PHP extension. How should I start? +Extensions bundled with PHP are documented in doc-en. Third-party extensions +(typically distributed via PECL or PIE) are documented in +[doc-extensions](https://github.com/php/doc-extensions). + Change your working directory to phpdoc/doc-base/scripts/docgen/ and execute: ```sh php docgen.php -e simplexml -o outdir diff --git a/docs/overview.md b/docs/overview.md index 09ae992a56..19e43920e4 100644 --- a/docs/overview.md +++ b/docs/overview.md @@ -8,6 +8,8 @@ All parts of the process live in the following GitHub repositories: these are the repositories where all the information on documentation pages live and this is where changes to the wording and/or structure of the documentation's content can be made +- [**doc-extensions**](#doc-extensions): the documentation of the third-party extensions, + in English only - [**doc-base**](#doc-base): validates and pre-processes the language files - [**PhD**](#phd): renders pages into .php files which include information on the files and function calls to include the documentation page headers and footers @@ -24,6 +26,16 @@ of the [php.net's documentation pages](https://www.php.net/docs.php) are made. Please refer to the [contribution guidelines](contributing.md) on how to contribute to the documentation. +## doc-extensions + +[doc-extensions](https://github.com/php/doc-extensions) contains the documentation of the +third-party extensions, which are maintained outside the [php-src](https://github.com/php/php-src) +repository (typically distributed via PECL or PIE). It is rendered as its own manual +at [php.net/manual/extensions/](https://www.php.net/manual/extensions/). + +Only the English documentation is maintained there: the translations of these extensions +were not carried over from the language repositories. + ## doc-base [doc-base](https://github.com/php/doc-base) validates and combines the documentations' XML files. diff --git a/docs/structure.md b/docs/structure.md index b92755df27..6969f9c618 100644 --- a/docs/structure.md +++ b/docs/structure.md @@ -30,7 +30,7 @@ A procedural extension (like calendar) also has: - *reference.xml* - container for the functions, rarely contains any info - *functions/* - folder with one XML file per function that the extension declares -And OO extensions (such as imagick) contain: +And OO extensions (such as dom) contain: - *classname.xml* - container for the methods defined by the class, contains also basic info about it - *classname/* - folder with one XML file per method that the class declares diff --git a/docs/translating.md b/docs/translating.md index 64e58ceca4..aa02d9e3d2 100644 --- a/docs/translating.md +++ b/docs/translating.md @@ -6,6 +6,9 @@ You will also have to follow other steps from the [editing manual sources](editi Translating documentation into other languages might look like a complicated process, but in fact, it's rather simple. +The documentation of third-party extensions lives in +[doc-extensions](https://github.com/php/doc-extensions) and is not translated. + Because any files that are not yet translated are automatically included from the English version of the manual when the HTML and other versions of the translated manual are built, only files that are translated should

« previous php.doc.cvs (#23900) next »