This is an old revision of the document!
Table of Contents
Repository Plugin
Compatible with DokuWiki
2018-04-22 "Greebo", 2013-05-10 "Weatherwax", 2006-11-06
This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.
Similar to dokugitviewer, gh, pycode
Go to the Google Code Repo-Plugin homepage for more info.
The documentation for this plugin is scant and the examples at Google Code no longer work. But there is now an update that deals with the fatal error which causes the plugin to crash. See https://github.com/dokufreaks/plugin-repo/issues/4. — turnermm 2020-05-31 15:42
Github Access
This plugin has now been updated to access github repos under the name of repo_git
. It loads into
the same directory. It is an adaptation of the repo plugin. This adaptation retains the original's features but adds the facility to access github repos and code, including the facility to drill down into github folders and to read and display their files. The files are displayed with Geshi highlighting. It includes the fix for the fatal error referred to above.
URL: https://github.com/turnermm/repo_git/archive/master.zip
To install, copy and paste the above url into the manual tab of the DokuWiki Extension Manager
Description
{{repo>[url] [cachetime]|[title]}}
[url] | base URL of the code repository | required |
---|---|---|
[cachetime] | how often the cache should be refreshed; a number followed by one of these chars: d for day, h for hour or m for minutes;the minimum accepted value is 10 minutes | optional; default is 4 hours |
[title] | a string to display as the base path of the repository | optional; default is the actual URL of the repository |
Bugs / Feature Requests
Please report bugs or feature requests at the Bug tracker.
Further Resources
Changes
- Version upped (2020-12-13 23:50)
- Merge pull request #6 from joequant/dev/php8 (2020-12-13 15:25)
- fix php8 syntax (2020-12-13 11:48)
- Version upped (2020-11-09 11:40)
- Merge pull request #5 from turnermm/geshi_move (2020-09-04 21:24)
- updates geshi move to vendor (2020-05-30 00:45)
- Merge pull request #2 from splitbrain-forks/php7-signature (2016-02-27 18:29)
- Adjust method signatures to match parent (2016-02-02 16:18)