Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo's and some changes. #410

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/.vuepress/theme/components/AlgoliaSearchBox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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}`)
}
}
))
Expand Down
3 changes: 1 addition & 2 deletions docs/2.2/advanced/change-email-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/2.2/architecture/packages.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion docs/2.2/architecture/performance.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion docs/2.2/packages/datagrid.md
Original file line number Diff line number Diff line change
Expand Up @@ -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);
},
]);

Expand Down
2 changes: 1 addition & 1 deletion docs/2.2/prologue/contribution-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
12 changes: 1 addition & 11 deletions docs/2.2/prologue/upgrade-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down