Skip to content

Commit

Permalink
updating docsusaurusu and updating migration
Browse files Browse the repository at this point in the history
  • Loading branch information
iruzevic committed Nov 6, 2023
1 parent 7f93143 commit a641cd0
Show file tree
Hide file tree
Showing 8 changed files with 4,999 additions and 2,724 deletions.
2 changes: 1 addition & 1 deletion website/docs/basics/helpers-php.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Render component/block partial.
- @param string $type Type of content block, component, variable, etc.
- @param string $parent Parent block/component name.
- @param string $name Name of the partial. It can be without extension so .php is used.
- @param array<string, mixed> $attributes Attributes that will be passed to partial.
- @param array $attributes Attributes that will be passed to partial.
- @param string $partialFolderName Partial folder name.
- @throws ComponentException When we're unable to find the partial.
- @return string Partial html.
Expand Down
2 changes: 1 addition & 1 deletion website/docs/legacy/v5/basics/helpers-javascript.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ Used to set and get cookie values.

Debounces the provided function. For more information, check [this blog post](https://davidwalsh.name/javascript-debounce-function).

* @param {function} func Provided function to apply debounce.
* @param func Provided function to apply debounce.
* @param {int} wait Wait time for debounce.

**Usage:**
Expand Down
18 changes: 18 additions & 0 deletions website/docs/migrations/10-11.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
id: 10-11
title: Version 10 to 11
---

This migration guide contains migration instructions for:

- [eightshift/boilerplate](https://github.com/infinum/eightshift-boilerplate/releases/tag/10.0.0) - **10+ --> 11.0.0**
- [eightshift/frontend-libs](https://github.com/infinum/eightshift-frontend-libs/releases/tag/8.6.2) - **8+ --> 9.0.0**
- [eightshift/libs](https://github.com/infinum/eightshift-libs/releases/tag/6.5.7) - **6+ --> 7.0.0**

### Required changes

*Coming soon*

### Optional changes

*Coming soon*
14 changes: 14 additions & 0 deletions website/docs/migrations/9-10.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
id: 9-10
title: Version 9 to 10
---

This migration guide contains migration instructions for:

- [eightshift/boilerplate](https://github.com/infinum/eightshift-boilerplate/releases/tag/10.0.0) - **9+ --> 10.0.0**
- [eightshift/frontend-libs](https://github.com/infinum/eightshift-frontend-libs/releases/tag/8.6.2) - **8.6.2**
- [eightshift/libs](https://github.com/infinum/eightshift-libs/releases/tag/6.5.7) - **6.5.7**

### Optional changes

- In this version we changed the way we use header and footer blocks using reusable blocks. There is no need to update your project with this changes.
7 changes: 4 additions & 3 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
const codeTheme = require('prism-react-renderer/themes/dracula');
const {themes} = require('prism-react-renderer');

const darkTheme = themes.dracula;

module.exports = {
title: 'Eightshift Development kit',
Expand All @@ -17,7 +19,6 @@ module.exports = {
}
],
themeConfig: {

navbar: {
logo: {
alt: 'Eightshift DevKit Logo',
Expand Down Expand Up @@ -108,7 +109,7 @@ module.exports = {
indexName: 'infinum_eightshift',
},
prism: {
theme: codeTheme,
theme: darkTheme,
additionalLanguages: ['php'],
},
colorMode: {
Expand Down
Loading

0 comments on commit a641cd0

Please sign in to comment.