diff --git a/docs/.vuepress/theme/components/AlgoliaSearchBox.vue b/docs/.vuepress/theme/components/AlgoliaSearchBox.vue index 7b2a5807c..9c7640909 100644 --- a/docs/.vuepress/theme/components/AlgoliaSearchBox.vue +++ b/docs/.vuepress/theme/components/AlgoliaSearchBox.vue @@ -52,15 +52,15 @@ export default { userOptions, { inputSelector: '#algolia-search-input', - // #697 Make docsearch work well at i18n mode. + // #697 Make doc search work well at i18n mode. algoliaOptions: Object.assign({ 'facetFilters': [`lang:${lang}`].concat(algoliaOptions.facetFilters || []) }, algoliaOptions), handleSelected: (input, event, suggestion) => { const { pathname, hash } = new URL(suggestion.url) - const routepath = pathname.replace(this.$site.base, '/') + const routePath = pathname.replace(this.$site.base, '/') const _hash = decodeURIComponent(hash) - this.$router.push(`${routepath}${_hash}`) + this.$router.push(`${routePath}${_hash}`) } } )) diff --git a/docs/2.2/advanced/change-email-template.md b/docs/2.2/advanced/change-email-template.md index 3647a19ba..7f44eabd5 100644 --- a/docs/2.2/advanced/change-email-template.md +++ b/docs/2.2/advanced/change-email-template.md @@ -98,9 +98,8 @@ For example, create a file named `order-cancel.blade.php` within the `sales` dir ```blade -Lorem ipsum dolor sit amet consectetur adipisicing elit. Laborum porro cumque numquam neque dicta quo, accusantium, perferendis sed beatae nesc +We regret to inform you that your order has been cancelled: -iunt eum impedit vel doloribus dolor excepturi vero tenetur perspiciatis saepe? ``` ### Test Your Template diff --git a/docs/2.2/architecture/packages.md b/docs/2.2/architecture/packages.md index a878b45ca..6276c0e64 100644 --- a/docs/2.2/architecture/packages.md +++ b/docs/2.2/architecture/packages.md @@ -340,7 +340,7 @@ The Product package in Bagisto encapsulates comprehensive functionalities relate - Defines structured data models and repository patterns for efficient data handling and interaction. -- Allows administrators to create new products, update existing ones, and manage product lifecycles efficiently. +- Allows administrators to create new products, update existing ones, and manage product lifecycle efficiently. ### Sales diff --git a/docs/2.2/architecture/performance.md b/docs/2.2/architecture/performance.md index 83ac2d08c..87e3b2bb7 100644 --- a/docs/2.2/architecture/performance.md +++ b/docs/2.2/architecture/performance.md @@ -50,7 +50,7 @@ As Elastic is designed to handle large amounts of data and provide fast and scal To configure Elasticsearch, please refer to the [Configuration Setup](https://devdocs.bagisto.com/2.2/advanced/indexing-products-to-elasticsearch.html) documentation. -### Reindexing +### Re-indexing The `Re-indexCommands` console command is responsible for re-indexing data within Bagisto, facilitating efficient data retrieval and search functionality. This command offers flexibility in selecting specific indexers and re-indexing modes to suit varying requirements. diff --git a/docs/2.2/packages/datagrid.md b/docs/2.2/packages/datagrid.md index 2fa9b172d..d7111aa3c 100644 --- a/docs/2.2/packages/datagrid.md +++ b/docs/2.2/packages/datagrid.md @@ -343,7 +343,7 @@ class PostDataGrid extends DataGrid 'title' => trans('blog::app.admin.datagrid.edit'), 'method' => 'GET', 'url' => function ($row) { - return route('aadmin.blog.edit', $row->id); + return route('admin.blog.edit', $row->id); }, ]); diff --git a/docs/2.2/prologue/contribution-guide.md b/docs/2.2/prologue/contribution-guide.md index e74868877..59cce7be3 100644 --- a/docs/2.2/prologue/contribution-guide.md +++ b/docs/2.2/prologue/contribution-guide.md @@ -65,7 +65,7 @@ If you discover a security vulnerability within Bagisto, please notify us immedi ## Coding Style -Bagisto follows the [PSR-2](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md) coding standard and the [PSR-4](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-4-autoloader.md) autoloading standard. These standards ensure consistency and readability in the codebase, similar to Laravel. +Bagisto follows the [PSR-2](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md) coding standard and the [PSR-4](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-4-autoloader.md) auto loading standard. These standards ensure consistency and readability in the codebase, similar to Laravel. ## PHPDoc diff --git a/docs/2.2/prologue/upgrade-guide.md b/docs/2.2/prologue/upgrade-guide.md index 17773d1c3..9248c87fd 100644 --- a/docs/2.2/prologue/upgrade-guide.md +++ b/docs/2.2/prologue/upgrade-guide.md @@ -58,17 +58,7 @@ To upgrade your current version to the latest version of Bagisto, follow these s If your existing project depends on local storage, has changed paths, or requires previous logs, ensure to include those as well. ::: -10. Once the copying is complete, publish the new files by running the following command: - - ```sh - php artisan vendor:publish --all - ``` - - ::: warning - Avoid using the **`--force`** flag, as it will reset all your views. Only use it if you understand the consequences. - ::: - -11. Congratulations! Your project is now upgraded to the latest version of Bagisto. However, keep in mind that if you have made significant customizations, ensure compatibility with the latest version. +10. Congratulations! Your project is now upgraded to the latest version of Bagisto. However, keep in mind that if you have made significant customizations, ensure compatibility with the latest version. ## New Changes