This is both documentation and demo of git-wiki theme project.
it’s a modular and full featured wiki powered by git, github/gitlab pages and pull-requests!
The git-wiki project is composed by 3 different repository:
git-wiki-theme: This is the repository of the theme that implements the wiki functionalities. You would have not fork it unless you need to send a Pull Request or create your wiki project from scratch.
git-wiki-skeleton: This is the repo that you should fork or use as a template. It uses the jekyll remote theme functionality that allows you to create your own wiki based on git-wiki-theme. By using the remote functionality you can automatically keep your wiki always updated with latest features from the git-wiki-theme, but you can also fully customize it.
git-wiki: This is the documentation repository and website of the git-wiki-theme project. You would have not fork it unless you want to contribute to the git-wiki project documentation.
The easier and faster way to use git-wiki is the “skeleton” method.
You don’t need to install anything locally!
Simply fork/clone skeleton repo or click on “Use this template” button to create your copy of the skeleton project.
Edit _config.yml and other pages as you need and then deploy it on github/gitlab pages.
Done! now wait that your page will be published and you’re ready to wiki!
For more installation options see the Installation instructions
You can use it with jekyll “remote_theme” feature or fork/copy the master branch and start your wiki in just 1 minute*.
Git-wiki can be used as theme for jekyll
*Github/Gitlab pages takes about 10 minutes to show up the first time you configure it
Note: You can even include the official github wiki as a submodule and enable the option in our conf file to use github wiki pages in git-wiki system, but it’s an experimental feature and it implies less advantages and greater disadvantages for now.
List of git-wiki installations
Fork, Clone the skeleton repository or click on “Use this template” button to create your copy.
Edit _config.yml and other pages as you need and then deploy it on github/gitlab pages.
Description: This method will allow you to create a wiki based on our skeleton repository and that extends git-wiki-theme.
Direct installation comparison:
pros: This will allow you to avoid upgrading process pulling files from git-wiki-theme and eventually merge them.
cons: To edit/fix git-wiki-theme core files you need to configure a second repository forked by git-wiki-theme repo. However, YAGNI
GITLAB SUPPORT: if you want to fork the skeleton from gitlab, you can use this repo
Without skeleton: you can avoid to use the skeleton repository if you want start from scratch, however it’s important to use at leaset the configuration variables needed by the theme: _config.yml
Fork, Clone git-wiki-theme repository or click on “Use this template”
Edit _config.yml and push your changes in your repository, then configure the github/gitlab pages in your repository settings
Description: This method will allow you to create a wiki using git-wiki-theme directly. You can create your theme from scratch. It’s for advanced users and people who want directly collaborate to git-wiki-theme project.
Remote installation comparison:
pros: You can build your wiki and collaborate with git-wiki-theme project by PR at the same time.
cons: Upgrading your wiki to the latest version need a merge with git-wiki-theme repo.
In both cases please is preferred to use Fork instead of Template and Template instead of Clone (Fork > Template > Clone). Fork will allow you to make pull request to/from original repository to keep your files updated (for skeleton too). Please, keep everything open and collaborative!
If you need to work on git-wiki locally before publish, then clone your wiki repo and follow this instructions from official github article: https://help.github.com/articles/setting-up-your-github-pages-site-locally-with-jekyll/ Git wiki already contains the Gemfile for local installations.
You can also use our docker files to run git-wiki under docker,
the easiest method is to run docker-compose up
command in this folder
You can open a public issue on github , send a private email or create a PR to improve it.
Thank you!
jQuery for DOM manipulation