# Discourse 文档分类

**URL:** https://meta.discourse.org/t/discourse-doc-categories/322376
**Category:** Plugin
**Tags:** official, doc-categories
**Created:** [2024年八月26日 23:00 UTC](https://meta.discourse.org/t/discourse-doc-categories/322376 "2024-08-26T23:00:13Z")
**Posts on this page:** 20
**Page:** 4

<div class="post-metadata">

### Author: ![wenqin](https://avatars.discourse-cdn.com/v4/letter/w/85f322/32.png) [@wenqin](https://meta.discourse.org/u/wenqin)
#### Post date: [2024年十月17日 06:58 UTC](https://meta.discourse.org/t/discourse-doc-categories/322376/69 "2024-10-17T06:58:10Z")

</div>

![The image shows a computer screen displaying a webpage with a section of instructions for configuring an index topic in Docs plug-in. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/3/f/2/3f20bfcb7cd7ec415b654e74071670325ee87583.png)  
抱歉，我在界面上找不到这个图标。谁能帮我指明一个更具体的位置？  
 ![This is a screenshot of the PoloDomain website, showcasing the home page. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/2/4/d/24db2f262db024487dcc69adf2fdf6d4fde4d928.png)

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [2024年十月17日 07:08 UTC](https://meta.discourse.org/t/discourse-doc-categories/322376/70 "2024-10-17T07:08:31Z")

</div>

访问某个类别时，您可以在顶部找到该按钮

 ![Screenshot_20241017_090807_Firefox](https://global.discourse-cdn.com/meta/original/4X/d/8/5/d85d34da5f250d82f9ca55f848d3985315be6165.jpeg)

---

<div class="post-metadata">

### Author: ![wenqin](https://avatars.discourse-cdn.com/v4/letter/w/85f322/32.png) [@wenqin](https://meta.discourse.org/u/wenqin)
#### Post date: [2024年十月17日 07:16 UTC](https://meta.discourse.org/t/discourse-doc-categories/322376/71 "2024-10-17T07:16:07Z")

</div>

非常感谢。还有“未找到匹配项” 😮‍💨

 ![The image shows a webpage with a search bar and a dropdown menu for document types. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/c/0/2/c0237d3cd023e04bd21bd93df9fae38cda65ae2c.png)

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [2024年十月17日 07:19 UTC](https://meta.discourse.org/t/discourse-doc-categories/322376/72 "2024-10-17T07:19:58Z")

</div>

您是否在该类别中创建了索引主题？

---

<div class="post-metadata">

### Author: ![wenqin](https://avatars.discourse-cdn.com/v4/letter/w/85f322/32.png) [@wenqin](https://meta.discourse.org/u/wenqin)
#### Post date: [2024年十月17日 07:39 UTC](https://meta.discourse.org/t/discourse-doc-categories/322376/73 "2024-10-17T07:39:43Z")

</div>

😆  
谢谢。它现在已经出现了。但是，我仍然不理解以下说明。您是否方便用图片解释一下？

 ![The image shows a screenshot of a computer interface with a webpage containing instructions and sample code for creating index topics for a website. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/e/2/3/e2313914a45d96a541239681317dd7a5ed1dd869.png)

---

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [2024年十月17日 08:00 UTC](https://meta.discourse.org/t/discourse-doc-categories/322376/74 "2024-10-17T08:00:33Z")

</div>

您不理解什么？这样解释会更容易。

但是标题和链接会显示在侧边栏，仅此而已。您可以写些其他内容，当有人查看该帖子时，这些内容就会显示出来。

链接必须是列表。如果您使用纯链接，那么该帖子的标题将被用作链接的标题。如果您使用 `其他名称: 链接` 这种结构，那么就会显示 `其他名称`。

那是比较容易的部分。创建索引才是困难的任务。如果您在该论坛上使用了人工智能，可以告诉它创建索引，但 OpenAI 的 GPT 模型倾向于最多创建 20-30 个链接。

---

<div class="post-metadata">

### Author: ![wenqin](https://avatars.discourse-cdn.com/v4/letter/w/85f322/32.png) [@wenqin](https://meta.discourse.org/u/wenqin)
#### Post date: [2024年十月17日 08:08 UTC](https://meta.discourse.org/t/discourse-doc-categories/322376/75 "2024-10-17T08:08:42Z")

</div>

![图片显示了一个电脑屏幕，上面显示了一个网页，特别是日本最大的移动网络提供商Docomo的主页。屏幕上布满了各种菜单项，左侧有一个长长的类别列表。（由AI标注）](https://global.discourse-cdn.com/meta/original/4X/e/7/3/e7339fdb7668f4efb00642c525a11e29f2879108.png)  
非常抱歉，左侧什么都没有显示。  
我已经安装了之前提到的所有东西。我也检查了那个索引，但没有任何改变。

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [2024年十月17日 08:14 UTC](https://meta.discourse.org/t/discourse-doc-categories/322376/76 "2024-10-17T08:14:45Z")

</div>

您需要打开添加索引的类别。在 Meta，即使查看 /latest，也看不到文档。但是，当您访问 #Documentation > Contributing 时，侧边栏会显示该类别 [索引主题](https://meta.discourse.org/t/contributing-index/308037/1) 中指定的内容。

---

<div class="post-metadata">

### Author: ![wenqin](https://avatars.discourse-cdn.com/v4/letter/w/85f322/32.png) [@wenqin](https://meta.discourse.org/u/wenqin)
#### Post date: [2024年十月17日 09:17 UTC](https://meta.discourse.org/t/discourse-doc-categories/322376/77 "2024-10-17T09:17:08Z")

</div>

我可能误解了“索引”的意思。我的意思是，我在这里添加了索引并完成了设置。

 ![在图中，我们可以看到一个网页用户界面的截图，它似乎是一个文档或与主题相关的讨论论坛。（由AI配图说明）](https://global.discourse-cdn.com/meta/original/4X/5/e/f/5ef0535a570db5d3f9c7d42a79997124c099b2b8.png)  
 ![此图像显示了一个计算机屏幕，其中包含一个文档编辑界面，该界面已勾选“已解决”状态，并显示一条消息，指出该主题已被标记为已解决，还有一个用于保存类别的按钮。（由AI配图说明）](https://global.discourse-cdn.com/meta/original/4X/a/b/0/ab0d71113ff4b6d8a4434a05af2df48957d35713.png)

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [2024年十月17日 09:24 UTC](https://meta.discourse.org/t/discourse-doc-categories/322376/78 "2024-10-17T09:24:41Z")

</div>

您的文档索引主题内容是什么？它看起来和这里的相似吗？正如 Jagster 所解释的，您需要一个包含指向您希望出现在侧边栏中的主题的链接的列表。类似这样：

```plaintext
## 标题

* 此文本显示在侧边栏中：https://discourse.example.com/t/-/1
* 这是第二个主题：https://discourse.example.com/t/-/2

```

---

<div class="post-metadata">

### Author: ![wenqin](https://avatars.discourse-cdn.com/v4/letter/w/85f322/32.png) [@wenqin](https://meta.discourse.org/u/wenqin)
#### Post date: [2024年十月17日 09:39 UTC](https://meta.discourse.org/t/discourse-doc-categories/322376/79 "2024-10-17T09:39:52Z")

</div>

![图片显示了一个网页截图，其中包含导航菜单和聊天界面。(由AI配图)](https://global.discourse-cdn.com/meta/original/4X/4/9/6/4961b6621ba98b915e6d33d6b4a93cf5e9b57f18.png)

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [2025年七月11日 14:09 UTC](https://meta.discourse.org/t/discourse-doc-categories/322376/80 "2025-07-11T14:09:22Z")

</div>

7 个帖子已合并到现有主题：[添加侧边栏支持“Discourse 图标”与更多内容](https://meta.discourse.org/t/add-sidebar-support-discourse-icon-more/359588/2)

---

<div class="post-metadata">

### Author: ![wenqin](https://avatars.discourse-cdn.com/v4/letter/w/85f322/32.png) [@wenqin](https://meta.discourse.org/u/wenqin)
#### Post date: [2024年十月18日 08:25 UTC](https://meta.discourse.org/t/discourse-doc-categories/322376/82 "2024-10-18T08:25:10Z")

</div>

请问这是什么，在哪里维护？我找不到具体位置。

---

<div class="post-metadata">

### Author: ![Heliosurge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/heliosurge/32/571810_2.png) [@Heliosurge](https://meta.discourse.org/u/Heliosurge)
#### Post date: [2024年十月18日 09:57 UTC](https://meta.discourse.org/t/discourse-doc-categories/322376/83 "2024-10-18T09:57:07Z")

</div>

这主要在第一篇帖子中详细介绍。取决于您上次查看帖子时的时间。它可能已更新。

---

<div class="post-metadata">

### Author: ![MarcP](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/marcp/32/160184_2.png) [@MarcP](https://meta.discourse.org/u/MarcP)
#### Post date: [2024年十一月8日 13:28 UTC](https://meta.discourse.org/t/discourse-doc-categories/322376/84 "2024-11-08T13:28:04Z")

</div>

对此有什么预计时间吗？

---

<div class="post-metadata">

### Author: ![yari](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/yari/32/469249_2.png) [@yari](https://meta.discourse.org/u/yari)
#### Post date: [2024年十一月30日 08:17 UTC](https://meta.discourse.org/t/discourse-doc-categories/322376/85 "2024-11-30T08:17:27Z")

</div>

尊敬的 @saquetim，

我安装了 Discourse 的自托管实例，版本为 3.3.2。我现在尝试添加 discourse-doc-categories 插件，但遇到了以下错误。

我想知道升级到 3.4.0.beta1 或 3.4.0.beta2 版本是否能解决这个问题。这些版本与该插件兼容吗？

```plaintext

**不兼容的插件**
您无法启动 Discourse，因为插件出现错误：
/opt/bitnami/discourse/plugins/discourse-doc-categories

请尝试移除此插件并重新构建！

```

---

<div class="post-metadata">

### Author: ![martyn\_thomas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/martyn_thomas/32/344874_2.png) [@martyn\_thomas](https://meta.discourse.org/u/martyn_thomas)
#### Post date: [2024年十一月30日 08:57 UTC](https://meta.discourse.org/t/discourse-doc-categories/322376/86 "2024-11-30T08:57:00Z")

</div>

该插件支持 3.4+ 版本，因此升级将解决您的问题。

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [2024年十一月30日 09:13 UTC](https://meta.discourse.org/t/discourse-doc-categories/322376/87 "2024-11-30T09:13:29Z")

</div>

> [@Bitnami installations are unsupported](https://meta.discourse.org/t/bitnami-installations-are-unsupported/142538?u=moin):
>
> Community support is only provided for installs that use the official instructions: [discourse/docs/INSTALL-cloud.md at main · discourse/discourse · GitHub](https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md) If you have installed with Bitnami and are having trouble, then you need to either follow the instructions or get help somewhere else.

---

<div class="post-metadata">

### Author: ![yari](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/yari/32/469249_2.png) [@yari](https://meta.discourse.org/u/yari)
#### Post date: [2024年十一月30日 09:45 UTC](https://meta.discourse.org/t/discourse-doc-categories/322376/88 "2024-11-30T09:45:52Z")

</div>

尊敬的 @Moin：

安装没有遇到任何问题。我只是询问了插件是否合适。谢谢。

---

<div class="post-metadata">

### Author: ![martyn\_thomas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/martyn_thomas/32/344874_2.png) [@martyn\_thomas](https://meta.discourse.org/u/martyn_thomas)
#### Post date: [2024年十二月4日 16:51 UTC](https://meta.discourse.org/t/discourse-doc-categories/322376/89 "2024-12-04T16:51:46Z")

</div>

喜欢这个插件

是否可以添加对将标题分组到区域的支持，以帮助布局。例如 H1 = 区域标题，H2 - 分组/文件夹标题

我已经尝试过稍微模拟一下：

 ![image](https://global.discourse-cdn.com/meta/original/4X/6/f/0/6f0139ca4586f27ccd47d4fec86d4a35e7d21fa8.png)

我们是一个创客空间，在不同的房间里有很多工具区域。按房间对工具组进行分区将非常有用。

[上一頁](https://meta.discourse.org/t/discourse-doc-categories/322376.md?page=3)

[下一頁](https://meta.discourse.org/t/discourse-doc-categories/322376.md?page=5)
