Skip to content

Commit

Permalink
Add documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
goanpeca committed Jan 8, 2025
1 parent c45115f commit e0d7391
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,19 @@ You can cancel the process at any time by clicking the `Cancel` button of each p

![Screenshot of the napari-plugin-manager showing the process of updating a plugin](https://raw.githubusercontent.com/napari/napari-plugin-manager/main/images/update.png)

### Export/Import plugins

You can export the list of install plugins by clicking on the `Export` button located on the top right
corner of the UI. This will prompt a dialog to select the location and name of the text file where
the installed plugin list will be saved.

This file can be shared and then imported by clicking on the `Import` button located on the top right
corner of the UI. This will prompt a dialog to select the location of the text file to import.

After selecting the file, the plugin will dialog will attempt to install all the listed plugins.

![Screenshot of the napari-plugin-manager showing the process of import/export](https://raw.githubusercontent.com/napari/napari-plugin-manager/main/images/import-export.png)

### Batch actions

You don't need wait for one action to finish before you can start another one. You can add more
Expand Down
Binary file added images/import-export.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion napari_plugin_manager/_tests/test_qt_plugin_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ def test_export_plugins(plugin_dialog, tmp_path):
@pytest.mark.skipif(
not sys.platform.startswith('linux'), reason="Test works only on linux"
)
def test_import_plugins_button(plugin_dialog, tmp_path, qtbot):
def test_import_plugins_button(plugin_dialog):
def _timer():
dialog = QApplication.activeModalWidget()
dialog.reject()
Expand Down

0 comments on commit e0d7391

Please sign in to comment.