From 40cfb7b4f7ba574d4727b44a3e2451ce67532132 Mon Sep 17 00:00:00 2001 From: samweli Date: Mon, 14 Nov 2022 09:42:21 +0300 Subject: [PATCH] resize files to be included in the plugin install package --- README.md | 12 ++++++------ admin.py | 1 + .../assets}/img/examples/active_user_folder.png | Bin .../assets}/img/examples/add_custom_repository.png | Bin .../img/examples/enable_experimental_plugins.png | Bin .../assets}/img/examples/install_from_zip.png | Bin .../assets}/img/examples/isochrone.png | Bin .../assets}/img/examples/isochrones_design.png | Bin .../assets}/img/examples/isochrones_map_.png | Bin .../assets}/img/examples/isochrones_map_up.png | Bin .../assets}/img/examples/isochrones_plugin.png | Bin .../img/examples/isochrones_plugin_result.png | Bin 12 files changed, 7 insertions(+), 6 deletions(-) rename {resources => docs/assets}/img/examples/active_user_folder.png (100%) rename {resources => docs/assets}/img/examples/add_custom_repository.png (100%) rename {resources => docs/assets}/img/examples/enable_experimental_plugins.png (100%) rename {resources => docs/assets}/img/examples/install_from_zip.png (100%) rename {resources => docs/assets}/img/examples/isochrone.png (100%) rename {resources => docs/assets}/img/examples/isochrones_design.png (100%) rename {resources => docs/assets}/img/examples/isochrones_map_.png (100%) rename {resources => docs/assets}/img/examples/isochrones_map_up.png (100%) rename {resources => docs/assets}/img/examples/isochrones_plugin.png (100%) rename {resources => docs/assets}/img/examples/isochrones_plugin_result.png (100%) diff --git a/README.md b/README.md index c6a0111..db72a3c 100755 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Isochrones Qgis Plugin QGIS plugin that creates isochrones map from network data. -Isochrone example +Isochrone example Site - https://samweli.github.io/isochrones (still on development) @@ -22,7 +22,7 @@ different Operating Sytstems is available here - Launch QGIS application and open plugin manager. - Search for `Isochrones` in the `All` page of the plugin manager. - From the found results, click on the `Isochrones` result item and a page with plugin information will show up. - ![Isochrones result item](resources/img/examples/isochrones_plugin_result.png) + ![Isochrones result item](docs/assets/img/examples/isochrones_plugin_result.png) - Click the `Install Plugin` button at the bottom of the dialog to install the plugin. After a successful install the plugin will be added to the QGIS plugins menu and database menu. @@ -33,7 +33,7 @@ After a successful install the plugin will be added to the QGIS plugins menu and - From the `Install from ZIP` page in the QGIS plugin manager, select the downloaded ZIP file and click the `Install Plugin` button to install it. - ![Install from zip option](resources/img/examples/install_from_zip.png) + ![Install from zip option](docs/assets/img/examples/install_from_zip.png) ### Install from a plugin custom repository @@ -52,13 +52,13 @@ Following the below steps to add the custom repository and install the plugin fr - From the plugin manager enable download of experimental plugins. - ![Enable experimental plugins](resources/img/examples/enable_experimental_plugins.png) + ![Enable experimental plugins](docs/assets/img/examples/enable_experimental_plugins.png) - Select the `Settings` page from the QGIS plugin manager. - Click `Add` button on the Plugin Repositories group box and use the plugin custom repository found here [https://samweli.github.io/isochrones/repository/plugins.xml](https://samweli.github.io/isochrones/repository/plugins.xml) to create a new plugin repository entry. - ![Add custom plugin repository](resources/img/examples/add_custom_repository.png) + ![Add custom plugin repository](docs/assets/img/examples/add_custom_repository.png) - Disable the QGIS official plugin repository and go back to the `All` page, search for `Isochrones` and install it from there. ### Install from source code @@ -68,7 +68,7 @@ The plugin directory is found on the QGIS profile folder under `profile_name/plu eg. `default/plugins`. QGIS active profile folder can be found by going to **User Profiles > Open Active Profile Folder** - ![Active Profile folder](resources/img/examples/active_user_folder.png) + ![Active Profile folder](docs/assets/img/examples/active_user_folder.png) - Restart your Qgis, go to **Plugins -> Manage and Install Plugins** search for `Isochrones` - Search results will show a result item with `Isochrones` title, toggle the checkbox beside the title to diff --git a/admin.py b/admin.py index 5d6bb43..c323bfc 100644 --- a/admin.py +++ b/admin.py @@ -42,6 +42,7 @@ 'build', 'dist', 'docs', + '.git', '.github', '.idea', '.gitignore', diff --git a/resources/img/examples/active_user_folder.png b/docs/assets/img/examples/active_user_folder.png similarity index 100% rename from resources/img/examples/active_user_folder.png rename to docs/assets/img/examples/active_user_folder.png diff --git a/resources/img/examples/add_custom_repository.png b/docs/assets/img/examples/add_custom_repository.png similarity index 100% rename from resources/img/examples/add_custom_repository.png rename to docs/assets/img/examples/add_custom_repository.png diff --git a/resources/img/examples/enable_experimental_plugins.png b/docs/assets/img/examples/enable_experimental_plugins.png similarity index 100% rename from resources/img/examples/enable_experimental_plugins.png rename to docs/assets/img/examples/enable_experimental_plugins.png diff --git a/resources/img/examples/install_from_zip.png b/docs/assets/img/examples/install_from_zip.png similarity index 100% rename from resources/img/examples/install_from_zip.png rename to docs/assets/img/examples/install_from_zip.png diff --git a/resources/img/examples/isochrone.png b/docs/assets/img/examples/isochrone.png similarity index 100% rename from resources/img/examples/isochrone.png rename to docs/assets/img/examples/isochrone.png diff --git a/resources/img/examples/isochrones_design.png b/docs/assets/img/examples/isochrones_design.png similarity index 100% rename from resources/img/examples/isochrones_design.png rename to docs/assets/img/examples/isochrones_design.png diff --git a/resources/img/examples/isochrones_map_.png b/docs/assets/img/examples/isochrones_map_.png similarity index 100% rename from resources/img/examples/isochrones_map_.png rename to docs/assets/img/examples/isochrones_map_.png diff --git a/resources/img/examples/isochrones_map_up.png b/docs/assets/img/examples/isochrones_map_up.png similarity index 100% rename from resources/img/examples/isochrones_map_up.png rename to docs/assets/img/examples/isochrones_map_up.png diff --git a/resources/img/examples/isochrones_plugin.png b/docs/assets/img/examples/isochrones_plugin.png similarity index 100% rename from resources/img/examples/isochrones_plugin.png rename to docs/assets/img/examples/isochrones_plugin.png diff --git a/resources/img/examples/isochrones_plugin_result.png b/docs/assets/img/examples/isochrones_plugin_result.png similarity index 100% rename from resources/img/examples/isochrones_plugin_result.png rename to docs/assets/img/examples/isochrones_plugin_result.png