Skip to content

Instantly share code, notes, and snippets.

@JonasDoebertin
Last active August 29, 2015 14:23
Show Gist options
  • Save JonasDoebertin/1c4c38e367f8cb524299 to your computer and use it in GitHub Desktop.
Save JonasDoebertin/1c4c38e367f8cb524299 to your computer and use it in GitHub Desktop.
About the getkirby-plugins.com plugin pages

About the Plugin Pages

After a plugin is added to getkirby-plugins.com it will get it's very own plugin page located at getkirby-plugins.com/<plugin-slug>. This page shows a nice overview of all important information about the plugin. Besides some static content (like the title, the subtitle and the brief description) that we added manually when adding your plugin to the site, there are also a few pieces of information that will be pulled in from external sources automatically. Below you may find everything you need to take advantage of this.

TL;DR

  • Host your plugin in its own repository on GitHub.
  • Tag releases.
  • Add a PLUGIN_INFO.md file with usage instructions within.

Adding a version number to the sidebar

The sidebar will display a small glance of the most important meta information of the plugin. You may have noticed that, for some plugins, it also displays a version number. Whenever a version number is present, it has been pulled in from Github automatically.

To add a version number to your own plugin, make sure that a) it is hosted on Github and b) has it's own, dedicated repository. If these prerequisits are met, you just have to create releases for your plugin. After you created a new regular release (prereleases won't be pulled in) check back at your plugins page on getkirby-plugins.com an hour or two later. You should now see your plugins version information in the pages sitebar.

Adding additional plugin information

In addition to the version number in the sidebar, the plugin pages allow to set up a text containing additional information about the plugin. This is great for adding installation and usage instructions or documentation of the plugins options.

To make it easier for everyone, you (as the plugins author) are able to specify the content of this section yourself. It's pretty easy and only requires very few steps. As with the version numbers, there are two prerequisits that have to be met: your plugin a) has to be hosted on Github and b) has to have it's own, dedicated repository.

Now, to add the text to the plugin page, all you have to do is to add a PLUGIN_INFO.md file to the root of your plugins repository and fill it up with all the content you think is important. A good start would be to add installation and usage instructions. After adding the file to your repository, please allow one or two hours for getkirby-plugins.com to pull it in.

Please note that we do have some filters in place that will strip out any malicious markup or things that might break the pages layout. If you keep to standard markdown you should experience any problems with this though. As another security precausion, we reserve the right to completely remove any malicious, harmful, insulting, pornographic or otherwise illegal content from the plugin pages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment