如何创建 link 以首先使用 sphinx 下载目录?
How to create a link to download a directory in rst with sphinx?
我们可以将其添加到 rst 以创建 link 文件 :download:`Name <doc/name.pdf>`
。
整个目录可以吗? :download:`Dir <doc/>`
无效。
是否应该始终预先存档?
目录不是文件。 download
role:
... lets you link to files within your source tree ... that can be downloaded.
您必须将要下载的内容设为可下载。在构建文档之前,您需要 tar、zip 或其他目录中的文件。
我们可以将其添加到 rst 以创建 link 文件 :download:`Name <doc/name.pdf>`
。
整个目录可以吗? :download:`Dir <doc/>`
无效。
是否应该始终预先存档?
目录不是文件。 download
role:
... lets you link to files within your source tree ... that can be downloaded.
您必须将要下载的内容设为可下载。在构建文档之前,您需要 tar、zip 或其他目录中的文件。