Skip to content

Commit

Permalink
Clarify the name of plugin used in /-/static-plugins/
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw authored Jan 19, 2021
1 parent c38c429 commit 7e3cfd9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/plugin_hooks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,8 @@ you have one:
"/-/static-plugins/your-plugin/app.js"
]
Note that `your-plugin` here should be the hyphenated plugin name - the name that is displayed in the list on the `/-/plugins` debug page.

If your code uses `JavaScript modules <https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules>`__ you should include the ``"module": True`` key. See :ref:`customization_css_and_javascript` for more details.

.. code-block:: python
Expand Down

0 comments on commit 7e3cfd9

Please sign in to comment.