Trac,如何分层组织页面?
我使用 trac 来管理我的项目,我想以与 trac 项目相同的方式组织 wiki 页面,即通过类别、子类别等。 trac 网站上的 TitleIndex 页面很好地解释了我想要的结果获得。
我该如何实现这一目标?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
我使用 trac 来管理我的项目,我想以与 trac 项目相同的方式组织 wiki 页面,即通过类别、子类别等。 trac 网站上的 TitleIndex 页面很好地解释了我想要的结果获得。
我该如何实现这一目标?
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
首先,你可以创建分层的wiki页面,只需修改url,然后按回车键即可。也可以先创建一个维基链接,然后按红色链接。
例如,当您的 trac 主页为
http://trac.server.local/project/wiki
时,您可以在 URL 末尾键入/customers
,然后按回车键。因此,新的 URL 将为http://trac.server.local/project/wiki/customers
。您将看到一个几乎空白的页面,其中包含一个按钮创建此页面
。按该按钮即可创建该页面。之后,您还可以在下一个级别创建页面,例如http://trac.server.local/project/wiki/customers/microsoft
http://trac.server.local /project/wiki/customers/google
http://trac.server.local/project/wiki/customers/apple
要生成索引,我使用 HierWikiPlugin。在
/wiki/customers
页面上,我输入只是为了获取customers 下面的所有子页面的列表。要同时查看这些子页面的子页面,请增加级别,例如
First of all, you can create hierarchically wiki pages, just by modifying the url, and press enter. It is also possible to create a wikilink first, and then press the red link.
For example, when your trac home page is
http://trac.server.local/project/wiki
, you can type/customers
at the end of the url, and press enter. So the new url would behttp://trac.server.local/project/wiki/customers
. You will get an almost empty page with a buttonCreate this page
. Press that button to create that page. After that you can also create pages at the next level, for examplehttp://trac.server.local/project/wiki/customers/microsoft
http://trac.server.local/project/wiki/customers/google
http://trac.server.local/project/wiki/customers/apple
To generate an index, I use the HierWikiPlugin. On the
/wiki/customers
page, I enter justto get a list of all subpages below customers. To also see the subpages of those subpages, increase the level, for example
您可以使用以下方法添加子页面:
这会生成一个指向不存在页面的链接。当您单击该链接时,Trac 会向您显示一个页面,用于创建新的子页面或同一级别的页面...
You can add subpages using something like:
This generates a link to a non-existent page. When you click on the link, Trac shows you a page to create a new sub page or a page in the same level...