python-sphinx - 如何在 Python-sphinx(文档工具)中插入元数据

标签 python-sphinx restructuredtext

我想在 Sphinx 创建的网页中插入一些元数据(即关键字、描述、作者)。

我发现

:fieldname: Field content

在 Sphinx 的文档中,但我不知道如何使用它。

请帮忙!非常感谢!

最佳答案

我已经想通了。有一个叫做“meta”的指令,完全符合我的愿望。

你可以在这里找到它:http://docutils.sourceforge.net/docs/ref/rst/directives.html#meta

关于python-sphinx - 如何在 Python-sphinx(文档工具)中插入元数据,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14252264/

相关文章:

css - 如何为 reStructuredText、Sphinx、ReadTheDocs 等设置自定义样式?

python - 在 Sphinx reST 中包含 secret 信息

python - 从 Sphinx 中的 .rst 格式的文件导入多个表

html - 带有 css 的自定义字体在 Sphinx 元素中不起作用

matlab - 使用 matlabdomain 时导入模块失败

python - 我如何转换数据库中的特定表记录并将它们转换为 python 中的 markdown 和 .rst 文件

restructuredtext - RST : how to decrease font size in code blocks?

python - Sphinx for Python 中函数或类的交叉引用文档

python-sphinx - Sphinx 中自动方法的内部超链接

python - pdflatex 在大量数字后挂起