Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:122565 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id 1DF9D1AD8F6 for ; Tue, 5 Mar 2024 12:45:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1709642768; bh=mYc6aTzmzTquP2pEvPDWJA77R9cu2fkQijp7K3ZDjtQ=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=f4RHnm2XoZ3t2hQeR+EPTD/rpGxMf3XTE/glnJbohaPTMXat2C5ugibykTlMXX6rs oTtIn69FqbLM3YZnKmJsUEk6sM94BxIXigg9JwWnxRfdquz+5jK6E48K3uQXpOMbY/ z0Gp595WkDgIcnF0JoDP08vNXa8stmnhimVcyW4dArkMYQjxxEAHlr9Ummhe01fMaR toQYoCuONO84F+Vwkjoy4uogHtdpOIbfxLzAqazbhzqQi0SR3dYant4w5wYuxy8ydW 91zivvODiAjanYybunGHdszeoIxJ0HuRcpfQwcUEL/pZMDnRXCDBZJT/sUt+Pv+b5Q ESiOABi6j+P3g== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 292F918003F for ; Tue, 5 Mar 2024 12:46:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: ** X-Spam-Status: No, score=3.0 required=5.0 tests=BAYES_20,DMARC_MISSING, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_SOFTFAIL,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from 16.mo584.mail-out.ovh.net (16.mo584.mail-out.ovh.net [188.165.55.104]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Tue, 5 Mar 2024 12:46:06 +0000 (UTC) Received: from director9.ghost.mail-out.ovh.net (unknown [10.109.176.14]) by mo584.mail-out.ovh.net (Postfix) with ESMTP id 4TpwKD4ZVpz1Bkm for ; Tue, 5 Mar 2024 12:45:52 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-2nrvv (unknown [10.111.174.124]) by director9.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 2A5941FE7C for ; Tue, 5 Mar 2024 12:45:51 +0000 (UTC) Received: from php.earth ([37.59.142.107]) by ghost-submission-6684bf9d7b-2nrvv with ESMTPSA id F+PKNv8T52V+NwEAo6PFgA (envelope-from ) for ; Tue, 05 Mar 2024 12:45:51 +0000 Authentication-Results:garm.ovh; auth=pass (GARM-107S00197e244ea-9abe-4b9a-9532-f7db5ea885b7, E29D4E57591C554A1EFBCA4279463501739EB0F5) smtp.auth=peter.kokot@php.earth X-OVh-ClientIp:209.85.222.54 Received: by mail-ua1-f54.google.com with SMTP id a1e0cc1a2514c-7db4484672bso857585241.3 for ; Tue, 05 Mar 2024 04:45:51 -0800 (PST) X-Gm-Message-State: AOJu0Yyz+LCtWHFk/LN7HpV9yAeFmyfbuRL38d4QpfKhQ8nsMhu5/rq6 bMd4c5Pm1FdTqc9mMqivgqhMF8LR+sAZTcTIPUfu+KMACQXRljlIVmMH09jc4UEKGy7WhkHBWZt t0+RBoivciuyuJB9r/GNcu7J955c= X-Google-Smtp-Source: AGHT+IESUqwTCS7DytNBaBjFWGaYPG3YYzpFNNp0ZUgGmenRJNRn7Dd6F/vKeRz07tzPSogJyebYxQxHhai/Njk3ZgU= X-Received: by 2002:a05:6122:448d:b0:4cb:2930:7470 with SMTP id cz13-20020a056122448d00b004cb29307470mr1670655vkb.12.1709642750708; Tue, 05 Mar 2024 04:45:50 -0800 (PST) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net MIME-Version: 1.0 References: In-Reply-To: Date: Tue, 5 Mar 2024 13:45:39 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PHP-DEV] php-src docs To: Ilija Tovilo Cc: PHP internals Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Ovh-Tracer-Id: 1441151881614057990 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -51 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvledrheelgdegudcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenogfuuhhsphgvtghtffhomhgrihhnucdlgeelmdenucfjughrpeggfhgjhfffkffuvfevtgfgsehtqhertddttdejnecuhfhrohhmpefrvghtvghrucfmohhkohhtuceophgvthhksehphhhprdhnvghtqeenucggtffrrghtthgvrhhnpedvveekudfhudegudektddvuedtgeejtefgteeuteelhefggfettedtjedtudejjeenucffohhmrghinhepghhithhhuhgsrdgtohhmpdhgihhthhhusgdrihhonecukfhppeduvdejrddtrddtrddupddvtdelrdekhedrvddvvddrheegpdefjedrheelrddugedvrddutdejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehpvghtkhesphhhphdrnhgvthdpnhgspghrtghpthhtohepuddprhgtphhtthhopehinhhtvghrnhgrlhhssehlihhsthhsrdhphhhprdhnvghtpdfovfetjfhoshhtpehmohehkeegpdhmohguvgepshhmthhpohhuth From: petk@php.net (Peter Kokot) On Mon, 12 Feb 2024 at 12:13, Ilija Tovilo wrote: > > Hi Yuya > > It seems you accidentally sent your response to me instead of the list. > > On Sun, Feb 11, 2024 at 5:10=E2=80=AFPM youkidearitai wrote: > > > > 2024=E5=B9=B42=E6=9C=8811=E6=97=A5(=E6=97=A5) 21:18 Ilija Tovilo : > > > > > > Hi everyone. > > > > > > I would like to start an initiative to centralize documentation of th= e > > > PHP internals. > > > https://github.com/php/php-src/pull/13338 > > > https://iluuu1994.github.io/php-src/ (will be moved to php.github.io > > > once merged) > > > > > > Let me know of any thoughts and suggestions you might have. > > > > Hi, Ilija. > > Thank you for your great suggestion. > > > > It seems make sense to have a set of documents about the structure of > > php-src in php-src. > > Easily create pull requests to them. > > > > Although I have to learn reStructuredText, It is not seems major proble= m. > > For some context, I initially planned to go with the mdBook from the > Rust project (https://github.com/rust-lang/mdBook/) as Markdown is a > bit more approachable. After writing the sample zval chapter, I > noticed some pain points in terms of formatting, most significantly > tables. That said, reStructuredText is far from perfect itself. > > As mentioned previously, the other reason for choosing Sphinx was that > it is quite extensible. > > Ilija Wouldn't it be simpler and better in the long run to have a separate Git repository for the PHP language internal documentation? Because once this will increase in number of files, also php-...tar.gz archive files will increase and everything will become more complex. It will also mess the php-src Git log with documentation changes. And the docs subdirectory in the php-src can be still used for some possible other files that are needed for the GitHub interface usage. Now we have the docs-old subdirectory in php-src, which is a bit messy and it might take a while to migrate all those to RST. It would be also perhaps smart to sync this initiative with https://github.com/php/php-langspec somehow or at least to display all of those together in some GH page.