【发布时间】:2022-01-12 22:07:17
【问题描述】:
如果我在文档中包含.. contents:: 指令,则页面上的所有标题都将成为指向页面锚点的链接#id1、#id2...
没有.. contents::,页面上的标题不是链接(但会在悬停时显示锚链接)。是否可以在不将页面标题更改为链接的情况下包含内容?
.. contents:: Table of Contents
#############
Heading 1
#############
*************
Heading 2
*************
【问题讨论】:
标签: python-sphinx restructuredtext