Discourse 文档类别

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:

    git config --global --add safe.directory /var/www/discourse

Processing category #21 - Ask the Candidates
⮑ Created 3 sections and 55 links

Processing category #21 - Ask the Candidates
⮑ Created 3 sections and 55 links

Is that as it should be?

And do we have to change how we interact with the index topic, or is that all unchanged?

3 个赞

Yes, that is correct and there is nothing else that needs to be done :ok_hand:t2:

Yes again.

In the near future (:crossed_fingers:t2:) 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.

3 个赞

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.

1 个赞

The changes are about 7 commits newer.

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.

2 个赞

Doc Menu (on the left) can not display at the latest version of discourse (3.6.0.beta2)

Could you check this again?

For me it still works here on Meta.

Did you rebuild the index as described here?

2 个赞

Thank you, it is ok with this:

sudo -E -u discourse bundle exec rake doc_categories:build_sidebar

1 个赞

A post was split to a new topic: Various suggestions to improve the doc categories plugin