lib/gollum/page.rb
# Public: The table of contents of the page.
#
# formatted_data - page already marked up in html.
#
# Returns the String data.
The table of contents of the page.
formatted_data - page already marked up in html.

Returns the String data.
The table of contents of the page . formatted_data - page already marked up in html . Returns the String data .
def toc_data()
      return @parent_page.toc_data if @parent_page and @sub_page
      formatted_data if markup_class.toc == nil
      markup_class.toc
    end
def toc_data ( ) return @parent_page . toc_data if @parent_page and @sub_page formatted_data if markup_class . toc == nil markup_class . toc end
Public: The table of contents of the page.
Public : The table of contents of the page .