Just did this - it gave a slightly odd error but seemed to run okay:
root@spokes-web-only:/var/www/discourse# bundle exec rake doc_categories:build_sidebar
fatal: detected dubious ownership in repository at ‘/var/www/discourse’
To add an exception for this directory, call:
Yes, that is correct and there is nothing else that needs to be done
Yes again.
In the near future () we would be working on improving features such as easy sorting, rearranging, updating with perhaps a dedicated UI. I do not expect there to be any more manual tasks that self-hosters will have to do.
Can you please clarify to which plugin version and/or commit this applies?
I’m running Discourse 3.6.0.beta1-dev and not showing any plugin updates available for Documentation Categories, the plugin being version 0.0.1 with commit ba90a37.
The changes come in the same version of Discourse 3.6.0.beta1-dev. Ideally the next time you update Discourse itself, you should get those changes as well.
Generally, I do not recommend just updating the plugin only, but rather use the typical upgrade methods through the UI or ./launcher rebuild app.
I tried to install it now, but it seems that this plugin is not compatible with the version of Discourse we are using, 3.5.2.
Can you confirm compatibility? I am getting this error:
November 5, 2025, 06:55
/var/www/discourse/plugins/discourse-doc-categories/lib/doc_categories/initializers/add_category_extensions.rb:19:in `apply': undefined method `register_category_update_param_with_callback' for an instance of Plugin::Instance (NoMethodError)
discourse
November 5, 2025, 06:55
** INCOMPATIBLE PLUGIN **
discourse
November 5, 2025, 06:55
You are unable to start Discourse due to errors in the plugin at
discourse
November 5, 2025, 06:55
/var/www/discourse/plugins/discourse-doc-categories
discourse
November 5, 2025, 06:55
Please try removing this plugin and rebuilding again!
This has been what I need to do every time since adding a link to the index with a static name in the prescribed format:
* A Link Text: https://meta.discourse.org/t/an-example-link/
Otherwise the category sidebar links don’t parse into their titles and remain as full urls. This is on the latest Discourse (2025.12.0-latest as of commit 5817b6c).
I have noticed this happens occasionally as well. Refreshing the page does seem to fix it.
(This is different to the plugin not working at all, which is what happens if you haven’t done the rake task or cycled the Index Topic, same thing happened to me on a forum I’d forgotten to do)