有一些好的 Sphinx 定制示例吗?

发布于 2024-08-18 05:30:40 字数 1539 浏览 12 评论 0原文

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

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

发布评论

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

评论(8

深者入戏 2024-08-25 05:30:41

查看一些这些主题。由于这些项目是开源的,您应该能够仔细检查它们。

Have a look at some of these themes. As the projects are open source you should be able to examine them closely.

吖咩 2024-08-25 05:30:41

Matplotlib 文档 我认为是一个很好的例子。他们甚至在 记录 matplotlib 上有详细的描述:< a href="http://matplotlib.sourceforge.net/devel/documenting_mpl.html#dynamically- generated-figures" rel="nofollow noreferrer">动态生成的数字 和 继承图 是他们对 Sphinx 的自定义扩展。他们的文档也有一个自定义徽标。

我猜您应该能够下载大多数项目的 RST 文档源。

Matplotlib documentation is an excellent example I think. They even have a detailed description at documenting matplotlib: dynamically generated figures and inheritance diagrams are their custom extensions to Sphinx I think. Their documentation has a custom logo too.

I would guess that you should be able to download the RST document source for most projects.

我乃一代侩神 2024-08-25 05:30:41

我一直喜欢 SQLAlchemy 文档。它们看起来与标准 Sphinx 主题非常不同,并且非常适合他们的网站。

I've always liked the SQLAlchemy docs. They look very different from the standard Sphinx themes and fit very well into their site.

岁吢 2024-08-25 05:30:41

Blender.org 的新 API 文档刚刚进行了改造,sphinx 主题也可以下载

网站
http://www.blender.org/documentation/blender_python_api_2_59_release

主站点(基于哪个主题关闭)
http://www.blender.org/

主题文件
https://svn.blender.org /svnroot/bf-blender/trunk/blender/doc/python_api/blender-org/

只是我知道的一个例子,但有趣的是看看比赛有多接近。

blender.org's new API Docs just got a makeover the sphinx theme is downloadable too

Site
http://www.blender.org/documentation/blender_python_api_2_59_release

Main Site (which theme is based off)
http://www.blender.org/

Theme files
https://svn.blender.org/svnroot/bf-blender/trunk/blender/doc/python_api/blender-org/

Just one example I know, but interesting to see how close the match is.

◇流星雨 2024-08-25 05:30:41

转到 http://pypi.python.org 并在那里搜索 sphinx template 。它将给出数十个模板的列表。然后每个您都可以下载并尝试。

Go to the http://pypi.python.org and search for sphinx template there. It will give a list of some tens of templates. Then each of them You can download and try.

红焚 2024-08-25 05:30:41

我是 Kenneth Reitz 的主题的忠实粉丝,他在 请求 库:

https://github.com/kennethreitz/kr-sphinx-themes

I'm a big fan of Kenneth Reitz's theme he uses for the requests library:

https://github.com/kennethreitz/kr-sphinx-themes

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