Trac:如何更改菜单项的顺序

发布于 2024-08-14 15:01:47 字数 211 浏览 5 评论 0原文

如何更改 Trac 项目,使时间线成为第一个菜单条目,并成为进入项目时的默认页面?

我可以更改项目的 conf 文件中的条目顺序,但进入时我仍然会出现在 Wiki 中。

我可以在 [mainnav] 中禁用 Wiki 条目,但进入时仍会出现在 Wiki 页面上。

我在 trac 文档中找不到任何内容。

有什么帮助吗?

How do I change a Trac project so the timeline is the first menu entry, and the default page when entering the project?

I can alter the order of entries in the project's conf file but I will still end up in the Wiki when entering.

I can disable the Wiki entry in [mainnav] but will still end up on the wiki page when entering.

I can't find anything in the trac documentation.

Any help?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

怂人 2024-08-21 15:01:47

您正在 trac.ini 中查找 default_handler

[trac]
default_handler = TimelineModule

那应该做你想做的事。有关更多信息,请参阅文档

You're looking for default_handler in the trac.ini.

[trac]
default_handler = TimelineModule

That should do what you want. See the documentation for more.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文