Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | 30-Apr-2025 | - | ||||
README | H A D | 26-Nov-2010 | 1.1 KiB | 40 | 25 | |
config.inc.php | H A D | 26-Nov-2010 | 544 | 19 | 7 | |
git-utils.inc.php | H A D | 26-Nov-2010 | 914 | 44 | 38 | |
plugin.info.txt | H A D | 26-Nov-2010 | 193 | 8 | 7 | |
screenshot1.png | H A D | 26-Nov-2010 | 66.4 KiB | |||
screenshot2.png | H A D | 26-Nov-2010 | 42.1 KiB | |||
syntax.php | H A D | 26-Nov-2010 | 3.3 KiB | 118 | 97 |
README
1Git repository viewer plugin for Dokuwiki 2========================================= 3 4Please notice, that this is barely usable at the moment. 5I made this for my own usei only, so the code is very very ugly. 6 7The main idea is this: 8 9git commit -m "Fixed a typo bug #bug24" 10 11After committing, the wiki plugin will show commit messages and 12convert "#bug24" into internal link to bug-page with correct anchor. 13 14It also workd this way too: 15 16git commit -m "Started working for login page (#ft4)" 17 18The "#ft4" is transformed into internal link to features page and creating 19hyperlink into #ft4 (you need bookmark-plugin for creating those anchors) 20 21Just add this into wiki page: 22 23<dokugitviewer:repository=my-repository-name features=backlog bugs=bugdb limit=15> 24 25And it will build you a list of your latest commits 26 27Requirements: 28 Bookmark-plugin installed for Dokuwiki 29 PHP5 30 Git 31 32Installation: 33 1) Clone this repository into plugins/ directory in your dokuwiki directory 34 2) Edit the config.inc.php file 35 3) Add <dokugitviewer> link into your wiki page 36 37Dokuwiki: http://www.dokuwiki.org 38 39Author: Tuomas Jomppanen (http://www.jomppanen.com) 40