phpDocumentor 替代方案消耗更少的内存

发布于 2024-08-30 08:55:34 字数 802 浏览 9 评论 0原文

好吧,我厌倦了 phpDocumentator。它消耗的内存(1.4 GB)和时间(2.6GHz Core 2 Duo 上需要 5 分钟)比我愿意提供的要多得多。是否存在一些真正兼容的程序来生成 PHP 代码文档?

我尝试过 PHPDoctor,它看起来不错,但它有一些 缺少功能。然而,它可能是迄今为止我尝试过的所有解决方案中最接近的替代方案。

我也尝试过 PhpDocGen,但它只是解决了一些 Perl 错误,我太懒了,不想学习。

Doxygen 似乎也不能很好地与我们的资源配合。

PS:该文档适用于 phpMyAdmin,有点过时的文档是 此处

更新:代码包含很多函数而不仅仅是对象,Doxygen 最大的问题是什么,因为它无法组织它们。

Okay, I'm fed up with phpDocumentator. It consumes way much more memory (1.4 GB) and time (5 minutes on 2.6GHz Core 2 Duo) than I'm willing to give it. Does there exist some really compatible program to generate documentation for PHP code?

I've tried PHPDoctor, which looks nice, but it has some missing features. However it is probably closest to be replacement from all solutions I've tried so far.

I've also tried PhpDocGen, but it just bails out with some Perl errors, which I'm too lazy to study.

Doxygen also does not seem to play well with our sources.

PS: The documentation would be for phpMyAdmin, a little bit outdated documentation is here.

Update: The code contains lot of functions and not only objects, what is the biggest problem with Doxygen, because it fails to organize them.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

十秒萌定你 2024-09-06 08:55:34

我们从 phpDocumentor 切换到 Doxygen 因为前者不支持 PHP 5.3 功能,例如命名空间和闭包。 phpDocumentor 的最后一次更新是在 2008 年。

主要的 @ 属性在 Doxygen 中是相同的,因为它们都执行 JavaDoc 风格的注释。它也非常可配置。

We switched from phpDocumentor to Doxygen because the former did not support PHP 5.3 features like namespaces and closures. phpDocumentor's last update was in 2008.

The major @-attributes are the same in Doxygen, because they both do JavaDoc-style comments. It is quite configurable, too.

梦初启 2024-09-06 08:55:34

您也可以尝试 DocBlox;它是一个新事物(双关语),但已经支持 phpDocumentor 提供的许多功能以及许多较新的功能(例如名称空间)。
请在 https://www.github.com/mvriel/Docblox 尝试一下

You can also try DocBlox; it is a new kid on the block (pun intended) but already supports many of the features that phpDocumentor provides and many of the newer things (like namespaces).
Please try it out at https://www.github.com/mvriel/Docblox

〆一缕阳光ご 2024-09-06 08:55:34

Doxygen 相当复杂,并且它应该支持 PHP 5.3 功能。然而,它并没有完全按照我想要的方式工作,我意识到这是一个很大的程序,但不是为 PHP 设计的;所以我需要一些更轻、更简单并且最好是 PHP 独有的东西,因为让我们面对现实吧,PHP 没有非常常见的编程语言语法和外观。

我知道你提到过,但我最终选择了 PHPDoctor。它确实缺少一些功能,但它简单、快速,正是我所寻找的。

让我们知道您的选择以及原因是什么。

另外值得一提的是,我发现 PHPDoctor 界面非常简单且易于设计样式(只需很少的 CSS 更改)。我能够为我的文档创建一个非常干净的页面。

Doxygen is pretty complex, and it's supposed to support PHP 5.3 features. However, it didn't work exactly how I wanted it and I realized it's a big program, but not designed for PHP; so I needed something lighter, simpler and preferably PHP exclusive, because let's face it, PHP does not have quite the common programming language syntax and look.

I know you mentioned it, but I chose PHPDoctor in the end. It does indeed lack some features, but it's simple and fast, exactly what I was looking for.

Let us know what you chose and what were the reasons.

Also something to mention is that I found the PHPDoctor interface to be quite simple and easy to style (with few CSS changes). I was able to create quite a clean page for my docs.

月寒剑心 2024-09-06 08:55:34

我一直在使用 Natural Docs,对我来说效果很好

I've been using Natural Docs, works well for me

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文