Sha256: 29abd0e81c2b481f0f947b068332e50d0e63ad1da8cca311aa45a2e1e0bbd32b

Contents?: true

Size: 873 Bytes

Versions: 1

Compression:

Stored size: 873 Bytes

Contents

# Gollum::DescendantTree

DescendantTree adds a helper function, similar to Gollum's Table of Contents (TOC), which adds an unordered list of links to all descendants of the current page.

## Installation

Add this line to your application's Gemfile:

    gem 'gollum-descendant_tree'

And then execute:

    $ bundle install

Or install it yourself as:

    $ gem install gollum-descendant_tree

## Usage

Simply add `[[_TREE_]]` to any page of your wiki to add an unordered list of descendants to the page. If you're using custom css, you can target `ul.tree` for styling the list.

## Automated Tests

    $ bundle exec rspec spec

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gollum-descendant_tree-0.0.1 README.md