PCSX2 website contents
Go to file
dependabot[bot] c489198a57
Some checks failed
Build Website / Check for PNGs (push) Has been cancelled
Cypress Tests / Chrome (push) Has been cancelled
Cypress Tests / Chrome | No Recording (push) Has been cancelled
Cypress Tests / Firefox (push) Has been cancelled
Cypress Tests / Firefox | No Recording (push) Has been cancelled
Build Website / Docusaurus Build (push) Has been cancelled
Update Compatibility Data / Update Compatibility Data (push) Has been cancelled
build(deps): bump the frontend-deps group across 1 directory with 9 updates (#361)
* build(deps): bump the frontend-deps group across 1 directory with 9 updates

Bumps the frontend-deps group with 9 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [@docusaurus/core](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus) | `3.5.2` | `3.6.1` |
| [@docusaurus/plugin-client-redirects](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-plugin-client-redirects) | `3.5.2` | `3.6.1` |
| [@docusaurus/preset-classic](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-preset-classic) | `3.5.2` | `3.6.1` |
| [framer-motion](https://github.com/framer/motion) | `11.11.9` | `11.11.17` |
| [next-themes](https://github.com/pacocoursey/next-themes) | `0.3.0` | `0.4.3` |
| [postcss](https://github.com/postcss/postcss) | `8.4.47` | `8.4.49` |
| [recharts](https://github.com/recharts/recharts) | `2.13.0` | `2.13.3` |
| [tailwindcss](https://github.com/tailwindlabs/tailwindcss) | `3.4.14` | `3.4.15` |
| [@docusaurus/module-type-aliases](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-module-type-aliases) | `3.5.2` | `3.6.1` |



Updates `@docusaurus/core` from 3.5.2 to 3.6.1
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/commits/v3.6.1/packages/docusaurus)

Updates `@docusaurus/plugin-client-redirects` from 3.5.2 to 3.6.1
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/commits/v3.6.1/packages/docusaurus-plugin-client-redirects)

Updates `@docusaurus/preset-classic` from 3.5.2 to 3.6.1
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/commits/v3.6.1/packages/docusaurus-preset-classic)

Updates `framer-motion` from 11.11.9 to 11.11.17
- [Changelog](https://github.com/motiondivision/motion/blob/main/CHANGELOG.md)
- [Commits](https://github.com/framer/motion/compare/v11.11.9...v11.11.17)

Updates `next-themes` from 0.3.0 to 0.4.3
- [Release notes](https://github.com/pacocoursey/next-themes/releases)
- [Commits](https://github.com/pacocoursey/next-themes/compare/v0.3.0...v0.4.3)

Updates `postcss` from 8.4.47 to 8.4.49
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.47...8.4.49)

Updates `recharts` from 2.13.0 to 2.13.3
- [Release notes](https://github.com/recharts/recharts/releases)
- [Changelog](https://github.com/recharts/recharts/blob/3.x/CHANGELOG.md)
- [Commits](https://github.com/recharts/recharts/compare/v2.13.0...v2.13.3)

Updates `tailwindcss` from 3.4.14 to 3.4.15
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/v3.4.15/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.4.14...v3.4.15)

Updates `@docusaurus/module-type-aliases` from 3.5.2 to 3.6.1
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/commits/v3.6.1/packages/docusaurus-module-type-aliases)

---
updated-dependencies:
- dependency-name: "@docusaurus/core"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: frontend-deps
- dependency-name: "@docusaurus/plugin-client-redirects"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: frontend-deps
- dependency-name: "@docusaurus/preset-classic"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: frontend-deps
- dependency-name: framer-motion
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: frontend-deps
- dependency-name: next-themes
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: frontend-deps
- dependency-name: postcss
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: frontend-deps
- dependency-name: recharts
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: frontend-deps
- dependency-name: tailwindcss
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: frontend-deps
- dependency-name: "@docusaurus/module-type-aliases"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: frontend-deps
...

Signed-off-by: dependabot[bot] <support@github.com>

* docu: enable faster builds

* docu: remove babel file

* deps: try updating them again?

* deps: enforce yarnv1

* deps: downgrade `glob`

* docu: disable `rspack` for now

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Wilding <xtvaser@gmail.com>
2024-11-15 21:25:52 -05:00
.github Updating dependencies, specifically NextUI (#358) 2024-11-15 20:32:20 -05:00
.vscode build(deps): bump the frontend-deps group with 19 updates (#321) 2024-05-29 21:52:36 -04:00
blog Docs: Update link to Nefarius's new DsHidMini site (#337) 2024-07-22 07:24:03 +07:00
docker tests: create some initial Cypress integration tests (#93) 2022-05-07 22:08:45 -04:00
docs Docs: Update ffmpeg download link (#359) 2024-11-06 13:48:20 +07:00
scripts build(deps): bump the frontend-deps group with 19 updates (#321) 2024-05-29 21:52:36 -04:00
src Updating dependencies, specifically NextUI (#358) 2024-11-15 20:32:20 -05:00
static 2.0 Release Blog (#283) 2024-07-13 04:36:18 +02:00
tests build(deps): bump the frontend-deps group with 19 updates (#321) 2024-05-29 21:52:36 -04:00
usage_docs Migrate from Hugo to Docusaurus, refresh the design of the site (#183) 2022-12-12 21:51:37 -05:00
util/mock-api Updating dependencies, specifically NextUI (#358) 2024-11-15 20:32:20 -05:00
.gitignore Revert "gitignore: ignore autogenerated yarn deps files (#298)" (#299) 2024-02-18 22:00:24 +07:00
.nojekyll miscellaneous cleanup 2022-01-19 02:39:59 -05:00
.prettierrc.yaml Migrate from Hugo to Docusaurus, refresh the design of the site (#183) 2022-12-12 21:51:37 -05:00
config.yaml Redirects: Create pcsx2.net/discord (#341) 2024-07-27 10:16:18 -04:00
docusaurus.config.js build(deps): bump the frontend-deps group across 1 directory with 9 updates (#361) 2024-11-15 21:25:52 -05:00
LICENSE deps: Add script to make manually vendoring dependencies not so manual (#34) 2022-02-06 22:19:27 -05:00
package.json build(deps): bump the frontend-deps group across 1 directory with 9 updates (#361) 2024-11-15 21:25:52 -05:00
postcss.config.js Updating dependencies, specifically NextUI (#358) 2024-11-15 20:32:20 -05:00
README.md mdx: remove space in image so that rss feed works (#295) 2024-02-05 12:40:35 +01:00
redirects.js Redirects: Create pcsx2.net/discord (#341) 2024-07-27 10:16:18 -04:00
sidebars.js Migrate from Hugo to Docusaurus, refresh the design of the site (#183) 2022-12-12 21:51:37 -05:00
tailwind.config.js Updating dependencies, specifically NextUI (#358) 2024-11-15 20:32:20 -05:00
yarn.lock build(deps): bump the frontend-deps group across 1 directory with 9 updates (#361) 2024-11-15 21:25:52 -05:00

PCSX2 Website

The main PCSX2 website is a statically generated website, leveraging Docusaurus.

Setup

Windows

Setup Scoop as per instructions at https://scoop.sh/.

Open Powershell and install the following.

scoop install git nodejs
npm install --global yarn

Navigate to your local git repository for the site and use the below to start the server.

To start the server you will need to be in your Github repository that contains the package.json.

yarn start # alternatively, you can use `npm run start`

Browse to http://localhost:8080/

Linux

TODO - but very similar just using your package manager of choice

Developing

  • The docusaurus documentation is very useful and has plenty of examples https://docusaurus.io/docs
  • Docusaurus uses React and JSX, seek out related resources for those if editing the frontend code

Making a new Article

Run the following to setup the boilerplate for a new article:

yarn new-article

The article will go into /blog/<year>/<title>

You should add an image to serve as a preview and title card respectively (if appropriate) by using the image: and titleImage: frontmatter field, for example:

---
title: ...
---
image: ./img/my-cool-thumbnail.webp
titleImage: ./img/my-cool-thumbnail.webp
---

titleImage assets currently needs to be stored in the static folder. No image path, whether in the frontMatter or in the article, should contain spaces.

Caveats if Migrating a Legacy Article

  • When running the command above, you should provide an alias that matches the relative URL from the old website. This will prevent legacy links from becoming dead. See existing articles that have been migrated for an example.

Builtin Component Documentation

See the following article