Xaprb

Stay curious!

How to add a wiki homepage, sidebar, and TOC in Google Code

with 2 comments

I just adore Google Code. But the default wiki view (a list of pages, sorted by last-modified) is lacking something. Fortunately, it’s fixable. Here’s the before:

Default wiki list

Default wiki list

And here’s the after:

Wiki with sidebar and default page

Wiki with sidebar and default page

Here’s how:

  1. Create a wiki page called TableOfContents, or something like that. Using normal wiki syntax, enter links and text for your table of contents. The best way to do this is to use bulleted lists to organize and outline the pages. Keep in mind that we’ll use this same text for the sidebar, so keep it brief.
  2. Go to Administer/Wiki and enter that wiki page’s name in the “Wiki Sidebar” box. Save the changes.
  3. Go to Administer/Tabs and enter the same page in the Wiki box. Save the changes.

Now both the wiki “homepage” and the sidebar will contain the page you created. No more ugly list-of-pages. And as you navigate through the wiki pages, the sidebar automatically expands and closes the outline to show where you are.

If you want, you can use a different homepage and sidebar, but I’ve found that it works well for me to use the same page for both. It’s a preference, that’s all.

There’s one more trick I’d like to share: you can add the text <wiki:toc /> at the top of any page to create a small table of contents for that page. There are ways to customize it — check the documentation for more options.

Written by Xaprb

July 1st, 2009 at 10:29 am

2 Responses to 'How to add a wiki homepage, sidebar, and TOC in Google Code'

Subscribe to comments with RSS or TrackBack to 'How to add a wiki homepage, sidebar, and TOC in Google Code'.

  1. [...] the wiki section of your Google Code site a bit more intuitive and user-friendly. Get the tricks here. Categories: Cloud Computing, Open Source Tags: documentation, google code, wiki Comments [...]

  2. Thank you so much for the info. really helpfull. My project has now a good wiki start. Thanks again . if you want to see what are you responsable check it at :

    http://code.google.com/p/gps-gimp-paint-studio/wiki/Introduction?tm=6

    Ramon miranda

    9 Dec 09 at 8:45 am

Leave a Reply