PCSX2 website contents
Go to file
Bobby Smith a9b73f22f9
Some checks failed
Build Website / Check for PNGs (push) Failing after 0s
Build Website / Docusaurus Build (push) Has been skipped
Cypress Tests / Chrome (push) Has been skipped
Cypress Tests / Chrome | No Recording (push) Failing after 26s
Cypress Tests / Firefox (push) Has been skipped
Cypress Tests / Firefox | No Recording (push) Failing after 0s
Update Compatibility Data / Update Compatibility Data (push) Has been cancelled
CLI: Add -raintegration to the list (#346)
2024-09-21 22:10:32 +07:00
.github Docs: Update link to Nefarius's new DsHidMini site (#337) 2024-07-22 07:24:03 +07: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 CLI: Add -raintegration to the list (#346) 2024-09-21 22:10:32 +07:00
scripts build(deps): bump the frontend-deps group with 19 updates (#321) 2024-05-29 21:52:36 -04:00
src 2.0 Release Blog (#283) 2024-07-13 04:36:18 +02: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
.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
babel.config.js 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 Redirects: Create pcsx2.net/discord (#341) 2024-07-27 10:16:18 -04:00
LICENSE deps: Add script to make manually vendoring dependencies not so manual (#34) 2022-02-06 22:19:27 -05:00
package.json Docs: Update link to Nefarius's new DsHidMini site (#337) 2024-07-22 07:24:03 +07: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
yarn.lock Docs: Update link to Nefarius's new DsHidMini site (#337) 2024-07-22 07:24:03 +07: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