Skip to content

Commit

Permalink
A word about minified files from plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
trasher committed Jan 30, 2017
1 parent fd97f2d commit feacebb
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions source/plugins/hooks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,22 @@ Hooks that cannot be classified in above categories :)
``add_javascript``
Add javascript in **all** pages headers

.. versionadded:: 9.2

Minified javascript files are checked automatically. You will just have to provide a minified file along with the original to get it used!

The name of the minified ``plugin.js`` file must be ``plugin.min.js``


``add_css``
Add CSS stylesheet on **all** pages headers

.. versionadded:: 9.2

Minified CSS files are checked automatically. You will just have to provide a minified file along with the original to get it used!

The name of the minified ``plugin.css`` file must be ``plugin.min.css``

``display_central``
Displays something on central page

Expand Down

0 comments on commit feacebb

Please sign in to comment.