插件名称:DiscoTOC
插件地址:DiscoTOC - automatic table of contents - Theme component - Discourse Meta
仓库地址:GitHub - discourse/DiscoTOC: A Discourse theme component that generates a table of contents for topics with one click
主要功能:给长文帖子在右侧生成一个可以跳转的目录
部署环境:Debian v12.6
/ Docker v27.3.1
/ Discourse 3.4.0.beta2-dev
过程描述:
在 app.yml
文件中增加了如下配置:
hooks:
after_code:
- exec:
cd: $home/plugins
cmd:
- git clone https://github.com/discourse/DiscoTOC.git
然后执行:
./launcher rebuild app
重构日志中 git clone 部分无警告无报错,容器也成功重构并启动,打开站点后台页面,发现同时安装的其他插件成功安装,但 DiscoTOC
插件并未在插件页面中显示,疑似安装失败。
请教一下各位大佬,这可能是什么原因,或者如何去修复。