PCSX2 website contents
Go to file
2024-02-18 22:00:24 +07:00
.github mdx: remove space in image so that rss feed works (#295) 2024-02-05 12:40:35 +01:00
.vscode Migrate from Hugo to Docusaurus, refresh the design of the site (#183) 2022-12-12 21:51:37 -05:00
blog mdx: remove space in image so that rss feed works (#295) 2024-02-05 12:40:35 +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 socials: add rss icon (#294) 2024-02-04 19:19:15 +01:00
static Revert "Update site logo with the remade one (#289)" (#290) 2024-02-03 16:02:23 +01: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 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 Migrate from Hugo to Docusaurus, refresh the design of the site (#183) 2022-12-12 21:51:37 -05:00
docusaurus.config.js socials: add rss icon (#294) 2024-02-04 19:19:15 +01: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 fuse.js from 6.6.2 to 7.0.0 (#286) 2024-02-03 20:04:54 +01:00
README.md mdx: remove space in image so that rss feed works (#295) 2024-02-05 12:40:35 +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 fuse.js from 6.6.2 to 7.0.0 (#286) 2024-02-03 20:04:54 +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 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