diff --git a/blog/2024-03-05-pixi-v8-launches.md b/blog/2024-03-05-pixi-v8-launches.md index ffeead02b..51e08ec4a 100644 --- a/blog/2024-03-05-pixi-v8-launches.md +++ b/blog/2024-03-05-pixi-v8-launches.md @@ -39,8 +39,8 @@ We're incredibly proud of PixiJS v8 and eager to share the improvements and new ## 🔗 Quick links - The new Docs for v8 can be found [here](https://pixijs.download/v8.0.0/docs/index.html) -- [Migration](8.x/guides/migrations/v8) -- [Examples](8.x/examples) +- [Migration](https://pixijs.com/8.x/guides/migrations/v8) +- [Examples](https://pixijs.com/8.x/examples) - [Open Games](https://github.com/pixijs/open-games) --- diff --git a/docs/pixi-version.json b/docs/pixi-version.json index 46c3ad0bd..7ba73a53b 100644 --- a/docs/pixi-version.json +++ b/docs/pixi-version.json @@ -1,10 +1,10 @@ { "versionLabel": "v8.x", - "version": "8.5.0", - "releaseNotes": "https://github.com/pixijs/pixijs/releases/tag/v8.5.0", - "build": "https://pixijs.download/v8.5.0/pixi.min.js", - "docs": "https://pixijs.download/v8.5.0/docs/index.html", - "npm": "8.5.0", + "version": "8.5.1", + "releaseNotes": "https://github.com/pixijs/pixijs/releases/tag/v8.5.1", + "build": "https://pixijs.download/v8.5.1/pixi.min.js", + "docs": "https://pixijs.download/v8.5.1/docs/index.html", + "npm": "8.5.1", "prerelease": false, "latest": true } \ No newline at end of file diff --git a/docusaurus.config.js b/docusaurus.config.js index 86324872e..9da809451 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -118,6 +118,13 @@ const config = { themeConfig: /** @type {import('@docusaurus/preset-classic').ThemeConfig} */ ({ + announcementBar: { + id: 'survey', + // eslint-disable-next-line max-len + content: `Help shape the future of PixiJS – Take our first-ever community survey!`, + backgroundColor: '#E72264', + textColor: '#fff', + }, navbar: { logo: { alt: 'PixiJS', diff --git a/pixi-versions.json b/pixi-versions.json index 412d3536c..9088604b8 100644 --- a/pixi-versions.json +++ b/pixi-versions.json @@ -12,11 +12,11 @@ }, { "versionLabel": "v8.x", - "version": "8.5.0", - "releaseNotes": "https://github.com/pixijs/pixijs/releases/tag/v8.5.0", - "build": "https://pixijs.download/v8.5.0/pixi.min.js", - "docs": "https://pixijs.download/v8.5.0/docs/index.html", - "npm": "8.5.0", + "version": "8.5.1", + "releaseNotes": "https://github.com/pixijs/pixijs/releases/tag/v8.5.1", + "build": "https://pixijs.download/v8.5.1/pixi.min.js", + "docs": "https://pixijs.download/v8.5.1/docs/index.html", + "npm": "8.5.1", "prerelease": false, "latest": true, "isCurrent": true diff --git a/src/tutorials/v8.0.0/gettingStarted/step1-content.md b/src/tutorials/v8.0.0/gettingStarted/step1-content.md index 10b2baa93..7045f2dc7 100644 --- a/src/tutorials/v8.0.0/gettingStarted/step1-content.md +++ b/src/tutorials/v8.0.0/gettingStarted/step1-content.md @@ -8,7 +8,7 @@ We will be using an asynchronous immediately invoked function expression ([IIFE] ## Application Setup -Let's create the application and initialize it within the the IIFE before appending the its canvas to the DOM. If you came from PixiJS v7 or below, the key differences to pay attention to is that application options are now passed in as an object parameter to the `init` call, and that it is asynchronous which should be awaited before proceeding to use the application. +Let's create the application and initialize it within the IIFE before appending its canvas to the DOM. If you came from PixiJS v7 or below, the key differences to pay attention to is that application options are now passed in as an object parameter to the `init` call, and that it is asynchronous which should be awaited before proceeding to use the application. ```javascript const app = new Application(); diff --git a/src/tutorials/v8.0.0/gettingStarted/step2-content.md b/src/tutorials/v8.0.0/gettingStarted/step2-content.md index b0a7af7b0..4147a0943 100644 --- a/src/tutorials/v8.0.0/gettingStarted/step2-content.md +++ b/src/tutorials/v8.0.0/gettingStarted/step2-content.md @@ -21,8 +21,8 @@ app.stage.addChild(bunny); Now let's set the Sprite's anchor and position it so that it's bang on at the center. ```javascript -bunny.anchor.set(0.5) +bunny.anchor.set(0.5); -bunny.x = app.screen.width / 2 -bunny.y = app.screen.height / 2 +bunny.x = app.screen.width / 2; +bunny.y = app.screen.height / 2; ```