====== Repository Plugin ====== ---- plugin ---- description: Include syntax highlighted source code from code repositories author : Dokufreaks (previous authors: Gina Häußge, Michael Klier, Esther Brunner) email : freaks@dokuwiki.org type : syntax lastupdate : 2020-12-13 compatible : Weatherwax, Greebo, Igor depends : conflicts : judge similar : gh, pycode tags : code, repository, file, syntaxhighlight, include downloadurl: https://github.com/dokufreaks/plugin-repo/tarball/master/repo.tgz bugtracker : https://github.com/dokufreaks/plugin-repo/issues sourcerepo : https://github.com/dokufreaks/plugin-repo donationurl : screenshot_img : ---- Go to the [[https://code.google.com/archive/p/repo-plugin/|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. --- [[user>turnermm|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. **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. ==== Note ==== No longer works as originally designed because of major changes to the github web site. ==== Format of the url ==== To access a single file: http://myrepo.org/node/test.js To access a repo http://myrepo.org/node/ ===== 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 [[https://github.com/dokufreaks/plugin-repo/issues|Bug tracker]]. ===== Further Resources ===== * [[https://github.com/dokufreaks/plugin-repo/tree/master|Git Repository]] * [[https://github.com/dokufreaks/plugin-repo/issues|Bug Tracker]] ===== Changes ===== {{rss>https://github.com/dokufreaks/plugin-repo/commits/master.atom date}} ===== Discussion =====