Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Code formatting #2464

Closed
wants to merge 1 commit into from
Closed
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
17 changes: 8 additions & 9 deletions guides/v2.1/frontend-dev-guide/themes/theme-uninstall.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ This topic describes how to uninstall a {% glossarytooltip 1a70d3ac-6bd9-475a-89

The way a theme should be uninstalled is defined by two factors:

* the way the theme was added: manually added (installed or created), installed as {% glossarytooltip d85e2d0a-221f-4d03-aa43-0cda9f50809e %}composer{% endglossarytooltip %} package or as an {% glossarytooltip 55774db9-bf9d-40f3-83db-b10cc5ae3b68 %}extension{% endglossarytooltip %}.
* the way Magento was installed: [using the source files from Github]({{ page.baseurl }}/install-gde/install/cli/install-cli-sample-data-clone.html) or [using Composer]({{ page.baseurl }}/install-gde/install/cli/install-cli-sample-data-composer.html).
* The way the theme was added: manually added (installed or created), installed as {% glossarytooltip d85e2d0a-221f-4d03-aa43-0cda9f50809e %}composer{% endglossarytooltip %} package or as an {% glossarytooltip 55774db9-bf9d-40f3-83db-b10cc5ae3b68 %}extension{% endglossarytooltip %}.
* The way Magento was installed: [using the source files from Github]({{ page.baseurl }}/install-gde/install/cli/install-cli-sample-data-clone.html) or [using Composer]({{ page.baseurl }}/install-gde/install/cli/install-cli-sample-data-composer.html).

The following sections describe the flow for uninstalling themes in each case.

Expand Down Expand Up @@ -61,7 +61,6 @@ If both the theme and the Magento instance were installed using Composer, you ca
To uninstall a theme Composer package if your Magento instance was installed by cloning the git repository, you can also uninstall it using a CLI command. However, you must first remove it from the list of dependencies.

Take the following steps:

1. Open the `<Magento root dir>/composer.json` file.
2. Find a line with a reference to theme package and delete it. The reference would look like following:

Expand All @@ -74,10 +73,10 @@ Take the following steps:
...
{%endhighlight%}

3. To update the project dependencies, run:
composer update

3. To update the project dependencies, run:
{% highlight HTML%}
composer update
{% endhighlight HTML%}
4. Use the `magento theme:uninstall` CLI command as described in the [Uninstall themes Composer package]({{ page.baseurl }}/install-gde/install/cli/install-cli-theme-uninstall.html) topic.

<div class="bs-callout bs-callout-info" id="info" markdown="1">
Expand All @@ -88,8 +87,8 @@ You can use the Composer remove command to remove the dependency, but in that ca

If the theme was installed as an extension, you can uninstall it using one of the following flows:

* the same way as theme Composer packages are uninstalled, see the [Uninstall a theme package](#uninstall_theme_pack) section for details.
* using the Component Manager.
* The same way as theme Composer packages are uninstalled, see the [Uninstall a theme package](#uninstall_theme_pack) section for details.
* Using the Component Manager.

To uninstall a theme extension using the Component Manager:

Expand Down