Clarify the name of plugin used in /-/static-plugins/

issue-1179
Simon Willison 2021-01-19 12:27:45 -08:00 zatwierdzone przez GitHub
rodzic c38c42948c
commit 7e3cfd9cf7
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -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