# Documentation Plugin - インデックスのトピックがリストア後に機能しない

**URL:** <https://meta.discourse.org/t/documentation-plugin-index-topic-not-working-after-restore/392225>\
**Category:** Support\
**Tags:** doc-categories\
**Created:** [2025 年 12 月 27 日午前 8:50 UTC](https://meta.discourse.org/t/documentation-plugin-index-topic-not-working-after-restore/392225 "2025-12-27T08:50:39Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![nat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nat/32/235063_2.png) [@nat](https://meta.discourse.org/u/nat)\
**Post date:** [2025 年 12 月 27 日午後 5:24 UTC](https://meta.discourse.org/t/documentation-plugin-index-topic-not-working-after-restore/392225/6 "2025-12-27T17:24:41Z")

</div>

私がその時思い出した限りでは、それはマイグレーションではありえません。マイグレーションは理想的にはアプリケーションコードに触れません（コードがマイグレーションの意図した時点から乖離し、エラーになる可能性があるためです）。

その[PR](https://github.com/discourse/discourse-doc-categories/pull/51)も理由を示しています。

> このPRには、アクティブなドキュメントインデックスのトピックからサイドバーセクションとリンクを再構築するためのrakeタスク（`doc_categories.rake`）も含まれています。これは、パーサーまたはnokogiriを使用することになるため、マイグレーションで実行することはあまり推奨されません（実装が乖離し、無効なマイグレーションを引き起こす可能性があるためです）。

---

_[View the full topic](https://meta.discourse.org/t/documentation-plugin-index-topic-not-working-after-restore/392225)._
