开发者

Bitbucket Wiki TableOfContents

I started with bitbucket and tried to use the wiki for my documentation.

Therefore, I created a folder "documentation" under the folder "wiki" (same level as home.wiki) and added some .wiki files.

Now I'm trying to display all these content开发者_运维百科s of Documentation/ as table of contents. Therefore, i added the line:

<<toc Documentation/ 2 >>

After commit and push my home.wiki page really shows a TOC, but it contains only the first file stored in the folder Documentation/. I want them all to be listed.

What is my mistake?

Best regards Philipp


Obviously this failure had two reasons:

  1. Through changes, multiple heads occured. ---> Merge them and commit&push the changes
  2. The TOC-Makro does not update correct. Open the page containing the TOC in edit-mode via user-interface. Save it. Done. (refreshes the macro)


One other reason a page might not appear in the table of contents is that the page will be missing a header. In my case, all pages with a header inside the content appear automatically

i.e.

= Heading =

inside the content (N/B: not title of page)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜