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 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> |
||
---|---|---|
.github | ||
.vscode | ||
blog | ||
docker | ||
docs | ||
scripts | ||
src | ||
static | ||
tests | ||
usage_docs | ||
util/mock-api | ||
.gitignore | ||
.nojekyll | ||
.prettierrc.yaml | ||
config.yaml | ||
docusaurus.config.js | ||
LICENSE | ||
package.json | ||
postcss.config.js | ||
README.md | ||
redirects.js | ||
sidebars.js | ||
tailwind.config.js | ||
yarn.lock |
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.