hybridgroup / GitHub-Wikifier

A pre-commit Git Hook that will generate all the Table of Contents you will ever need. Just write your content, and let it take over.
100 stars 24 forks source link

What is this?

GitHub Wikifier helps you organize your Github Wiki with a set of good practices and autogenerated navigation table. Why should I care?

Demo

See it in action in artoo wiki

Requirements

  1. Zsh ( Install via sudo apt-get install zsh or brew install zsh )
  2. GNU Utilities ( only for Mac ) via brew install coreutils

How to use

  1. Clone your wiki git repo

    https://github.com/yourname/reponame.wiki.git

  2. Create directory structure following these guidelines https://github.com/hybridgroup/Github-Wikifier/wiki/1.1.-Naming-Guidelines

  3. Run command to install script

    curl -Lo- https://goo.gl/C170k | bash

  4. Commit your changes

    git commit -m "$message"

    The script will be triggered parsing files and directories and add generated files to your commit.

  5. Push your changes

Contact

Participate

Maintainers