如何设置“首页”项目的 PYPI 文档?

发布于 2024-10-03 10:32:49 字数 226 浏览 0 评论 0原文

我想将基本文档内容添加到我的模块的 PYPI 的首页,例如,这里: http://pypi.python.org/pypi/Jinja2

现在askbot下载页面是默认的外观,没有太多有用的信息,如何添加呢?也就是说 - 分发包文件的哪些部分/哪些文件必须被编辑?

谢谢!

I would like to add basic documentation content to the front page of PYPI of my module like it's done, for example, here: http://pypi.python.org/pypi/Jinja2.

Right now the askbot download page has a default look and does not have much useful info, how can it be added? That is - which parts of the distribution package files/which file must be edited?

Thanks!

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

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

发布评论

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

评论(2

-残月青衣踏尘吟 2024-10-10 10:32:50

如果您已登录,则可以编辑包的“说明”部分。

他们对字段使用 reStructuredText 语法,因此您可以使用它进行格式化: http://docutils.sourceforge.net /rst.html

If you're logged in you can edit the "Description" section of your packages.

They use the reStructuredText syntax for the field so you can use that for formatting: http://docutils.sourceforge.net/rst.html

海之角 2024-10-10 10:32:49

您是否看过: http://pypi.python.org/pypi/an_example_pypi_project

另外PyPI 尝试将元数据中的“long_description”解析为 ReStructuredText。您可以使用它来提供良好的信息呈现。

Did you take a look at : http://pypi.python.org/pypi/an_example_pypi_project

Also PyPI attempts to parse the "long_description" from your meta-data as ReStructuredText. You could use that to provide a good information rendering.

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