# DiscoTOC - 自动生成目录

**URL:** <https://meta.discourse.org/t/discotoc-automatic-table-of-contents/111143>\
**Category:** Theme component\
**Tags:** official, disco-toc\
**Created:** [2019年三月9日 05:36 UTC](https://meta.discourse.org/t/discotoc-automatic-table-of-contents/111143 "2019-03-09T05:36:22Z")\
**Posts on this page:** 1\
**Showing post:** 314

<div class="post-metadata">

**Author:** ![simonk](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simonk/32/247950_2.png) [@simonk](https://meta.discourse.org/u/simonk)\
**Post date:** [2022年一月19日 13:47 UTC](https://meta.discourse.org/t/discotoc-automatic-table-of-contents/111143/314 "2022-01-19T13:47:43Z")

</div>

自此次更新以来，我在带有目录的 [discourse-docs](https://meta.discourse.org/t/discourse-docs-documentation-management-plugin/130172) 页面上看到了一个错误。例如，在 [Meta 上的此页面](https://meta.discourse.org/docs?ascending=false&category=53&tags=themes&topic=91966) 上，目录未显示，并且我在浏览器开发者工具中看到一个错误：

 ![image](https://global.discourse-cdn.com/meta/original/3X/9/0/9001562f08f4fd23c842cf097cfc26ff51c65d66.png)

在我的网站上，我还看到页面顶部有一个横幅，上面写着“帖子可能无法正确显示，因为您网站上的一个帖子内容装饰器引发了错误。请检查浏览器开发者工具以获取更多信息。”

---

_[View the full topic](https://meta.discourse.org/t/discotoc-automatic-table-of-contents/111143)._
