Skip to content

Commit

Permalink
Update create.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
barisusakli committed Feb 6, 2015
1 parent 6537ba5 commit 0747724
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions plugins/create.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ Each plugin package contains a configuration file called ``plugin.json``. Here i
.. code:: json
{
"id": "my-plugin",
"name": "My Awesome Plugin",
"description": "Your plugin's description",
"url": "Absolute URL to your plugin or a Github repository",
"library": "./my-plugin.js",
"staticDirs": {
Expand All @@ -44,8 +41,6 @@ Each plugin package contains a configuration file called ``plugin.json``. Here i
"languages": "path/to/languages"
}
The ``id`` property is a unique name that identifies the plugin.

The ``library`` property is a relative path to the library in your package. It is automatically loaded by NodeBB (if the plugin is activated).

The ``staticDirs`` property is an object hash that maps out paths (relative to your plugin's root) to a directory that NodeBB will expose to the public at the route ``/plugins/{YOUR-PLUGIN-ID}``.
Expand Down

0 comments on commit 0747724

Please sign in to comment.