Skip to content

Commit

Permalink
release
Browse files Browse the repository at this point in the history
  • Loading branch information
iruzevic committed Jun 5, 2024
1 parent 6966c5e commit a2e3898
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
16 changes: 9 additions & 7 deletions website/docs/theme.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Let's create a new theme!
Navigate to your WordPress theme folder and run the following command:

```bash
npx create-wp-project
npx npx eightshift-create theme
```

The script will prompt you for a theme name and local development URL (used for BrowserSync). After that, your new theme will be installed:
Expand All @@ -22,27 +22,29 @@ After the script is finished, your new theme will be set up and activated.

If you want to specify a version of Eightshift Libs or Frontend Libs to use, you can use add two additional attributes to this command to specify a branch or release to use:

* `--eightshiftLibsBranch`
* `--eightshiftFrontendLibsBranch`
* `--setupRepoUrl`
* `--setupRepoBranch`
* `--libsRepoBranch`
* `--frontendLibsRepoBranch`

#### Example:

If you want to pull the `develop` branch of the Eightshift Frontend Libs and a specific release of the Eightshift Libs:

```bash
npx create-wp-project --eightshiftLibsBranch="release/3.1.0" --eightshiftFrontendLibsBranch="develop"
npx eightshift-create theme --libsRepoBranch="release/3.1.0" --frontendLibsRepoBranch="develop"
```

You can also specify the version of the `create-wp-project` script like this:
You can also specify the version of the `eightshift-create` script like this:

```bash
npx create-wp-project@2.0.12 --eightshiftLibsBranch="release/3.1.0" --eightshiftFrontendLibsBranch="develop"
npx eightshift-create@2.0.12 theme --libsRepoBranch="release/3.1.0" --frontendLibsRepoBranch="develop"
```

You can get a list of available script arguments by running:

```bash
npx create-wp-project --help
npx eightshift-create theme --help
```

:::tip
Expand Down
8 changes: 4 additions & 4 deletions website/docs/versions.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ title: Versions

Now that you understand what makes the Eightshift Development Kit tick, here is a quick reminder about what library versions this documentation refers to.

[![docs-source](https://img.shields.io/badge/version--9.0.0-eightshift--boilerplate-red?style=for-the-badge&logo=)](https://github.com/infinum/eightshift-boilerplate)
[![docs-source](https://img.shields.io/badge/version--12.0.0-eightshift--boilerplate-red?style=for-the-badge&logo=)](https://github.com/infinum/eightshift-boilerplate)

[![docs-source](https://img.shields.io/badge/version--4.0.0-eightshift--boilerplate--plugin-important?style=for-the-badge&logo=)](https://github.com/infinum/eightshift-boilerplate)
[![docs-source](https://img.shields.io/badge/version--5.0.0-eightshift--boilerplate--plugin-important?style=for-the-badge&logo=)](https://github.com/infinum/eightshift-boilerplate)

[![docs-source](https://img.shields.io/badge/version--6.4.0-eightshift--libs-blue?style=for-the-badge&logo=)](https://github.com/infinum/eightshift-libs)
[![docs-source](https://img.shields.io/badge/version--8.0.0-eightshift--libs-blue?style=for-the-badge&logo=)](https://github.com/infinum/eightshift-libs)

[![docs-source](https://img.shields.io/badge/version--8.0.0-eightshift--frontend--libs-yellow?style=for-the-badge&logo=)](https://github.com/infinum/eightshift-frontend-libs)
[![docs-source](https://img.shields.io/badge/version--12.0.0-eightshift--frontend--libs-yellow?style=for-the-badge&logo=)](https://github.com/infinum/eightshift-frontend-libs)

0 comments on commit a2e3898

Please sign in to comment.