PCSX2 website contents
Go to file
2024-01-29 10:32:36 -05:00
.github build(deps): bump actions/setup-node from 3 to 4 (#272) 2023-12-12 00:22:39 +01:00
.vscode Migrate from Hugo to Docusaurus, refresh the design of the site (#183) 2022-12-12 21:51:37 -05:00
blog Q1 2022 Progress Report (#165) 2023-02-06 22:19:42 +01:00
docker tests: create some initial Cypress integration tests (#93) 2022-05-07 22:08:45 -04:00
docs Update system requirements (#281) 2024-01-13 21:34:20 +00:00
scripts Q1 2022 Progress Report (#165) 2023-02-06 22:19:42 +01:00
src Index: Disable the stable build download button (#284) 2024-01-29 10:32:36 -05:00
static flathub: add verifying token to static path (#236) 2023-06-21 20:29:30 -04:00
tests build(deps): bump @cypress/request and cypress in /tests (#254) 2023-09-06 18:39:29 +02:00
usage_docs Migrate from Hugo to Docusaurus, refresh the design of the site (#183) 2022-12-12 21:51:37 -05:00
.gitignore Migrate from Hugo to Docusaurus, refresh the design of the site (#183) 2022-12-12 21:51:37 -05: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 Migrate from Hugo to Docusaurus, refresh the design of the site (#183) 2022-12-12 21:51:37 -05:00
docusaurus.config.js Documentation Revamps: Part 1 - The Division (#248) 2023-09-03 18:36:23 -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 build(deps): bump clsx from 2.0.0 to 2.1.0 (#279) 2024-01-07 07:21:06 +01:00
README.md Q1 2022 Progress Report (#165) 2023-02-06 22:19:42 +01:00
redirects.js Migrate from Hugo to Docusaurus, refresh the design of the site (#183) 2022-12-12 21:51:37 -05: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 build(deps): bump follow-redirects from 1.15.2 to 1.15.4 (#280) 2024-01-22 05:12:41 +01: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 (if appropriate) by using the image: frontmatter field, for example:

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

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