diff --git a/.DS_Store b/.DS_Store
deleted file mode 100644
index 767d1a0d4d..0000000000
Binary files a/.DS_Store and /dev/null differ
diff --git a/.gitignore b/.gitignore
index c959f47f8d..034d13f507 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,7 +1,3 @@
/site
.DS_Store
-**/.DS_Store
-.DS_Store
-docs/.DS_Store
-.DS_Store
-.venv
\ No newline at end of file
+.venv
diff --git a/.travis.yml b/.travis.yml
index dbc6a94094..e582ff7b4b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,5 +5,6 @@ install:
- pip install mkdocs
- pip install mkdocs-material
- pip install pymdown-extensions
+ - pip install pygments
script:
- mkdocs build
diff --git a/docs/.DS_Store b/docs/.DS_Store
deleted file mode 100644
index 70781c5b08..0000000000
Binary files a/docs/.DS_Store and /dev/null differ
diff --git a/docs/guides/install-gnu.md b/docs/guides/install-gnu.md
index 4de331d9ca..0105779543 100644
--- a/docs/guides/install-gnu.md
+++ b/docs/guides/install-gnu.md
@@ -1,136 +1,174 @@
-# Downloading, Installing and Updating RetroArch
+---
+title: Downloading, Installing and Updating RetroArch on GNU/Linux
+description: Instructions for setting up RetroArch on GNU/Linux systems.
+---
-
+# Installing RetroArch on Linux
-## GNU/Linux
+This page contains descriptions of several officially-supported methods of
+installing RetroArch on systems running the GNU/Linux kernel.
-### Flatpak
+
+
+---
+
+## Flatpak (suitable for most Linux distributions)
Flatpak is a distribution-agnostic packaging format with broad support
-throughout the Linux ecosystem. An official
-[RetroArch flatpak][retroarch-flatpak] is published in the Flathub repository,
-and can be installed in just three easy steps:
+throughout the Linux ecosystem. An official [RetroArch
+flatpak][retroarch-flatpak] is published in the Flathub repository, and can be
+installed in just three easy steps:
-#### Installation
+### Installation
1. Ensure that Flatpak is [enabled on your system][flatpak-setup] by opening the
terminal and confirming that the following command exits with no errors:
- ```sh
- flatpak --installations
- ```
+ ``` shell
+ flatpak --installations
+ ```
-1. Confirm that the Flathub repository is configured as a
- [flatpak remote][flatpak-remote], so that packages may be installed from it.
- You can examine the flatpak remotes currently enabled on your system with
- this terminal command (shown with default output):
+1. Confirm that the Flathub repository is configured as a [flatpak
+ remote][flatpak-remote], so that packages from it may be installed. You can
+ examine the flatpak remotes currently enabled on your system with this
+ terminal command (shown with default output):
- ```console
- $ flatpak remotes --columns=name,url,homepage
+ ``` shell-session hl_lines="4"
+ ra@libretro:~$ flatpak remotes --columns=name,url,homepage
- Name URL Homepage
- flathub https://dl.flathub.org/repo/ https://flathub.org/
- ```
+ Name URL Homepage
+ flathub https://dl.flathub.org/repo/ https://flathub.org/
+ ```
- If Flathub is not among the remotes shown, this command will add it to your
- system:
+ If Flathub is not among the remotes shown, this command will add it to your
+ system:
- ```sh
- sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
- ```
+ ``` shell
+ sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
+ ```
1. Finally, install the RetroArch Flatpak. You have the option of making it
available to only the current user, with this command:
- ```sh
- flatpak install -y --user --from https://dl.flathub.org/repo/appstream/org.libretro.RetroArch.flatpakref
- ```
+ ``` shell
+ flatpak install -y --user --from https://dl.flathub.org/repo/appstream/org.libretro.RetroArch.flatpakref
+ ```
- Or for all users with this command:
+ Or for all users with this command:
- ```sh
- sudo flatpak install -y --from https://dl.flathub.org/repo/appstream/org.libretro.RetroArch.flatpakref
- ```
+ ``` shell
+ sudo flatpak install -y --from https://dl.flathub.org/repo/appstream/org.libretro.RetroArch.flatpakref
+ ```
-#### Launching the Flatpak
+### Launching the Flatpak
RetroArch should now be listed in your app launcher and can also be executed
from the terminal with the command:
-```sh
+``` shell
flatpak run org.libretro.RetroArch
```
-#### Updates
+### Updates
You should keep RetroArch updated by running this command periodically from the
terminal:
-```sh
+``` shell
flatpak update -y --app org.libretro.RetroArch
```
-### Ubuntu-based
+## Ubuntu(-based)
-If you're using Ubuntu, an official [Ubuntu flavor][ubuntu-flavors], or one of
-the many Linux distributions based on Ubuntu (such as Linux Mint, Zorin OS, Pop!
-OS, elementary OS, etc.), you can install RetroArch and many of the most popular
-Libretro cores as native APT packages by simply enabling one (or both) of the
-two official Libretro [Personal Package Archives (PPAs)][help-ppas] hosted on
-[Launchpad](https://launchpad.net/~libretro), namely:
+Ubuntu provides RetroArch as a Debian [package in their official "universe"
+archive][ubuntu-package], which is maintained by the community with no promise
+of support or regular update schedule. Nevertheless, for the casual user of
+Ubuntu or a derivative distribution, it represents the simplest method for
+installing RetroArch. All that is required is to open a terminal and issue this
+single command:
-- [**Stable**][ppa-stable] (recommended), which includes only official releases
- (as announced on libretro.com / retroarch.com), and
-- [**Testing**][ppa-testing], which provides nightly builds of RetroArch and
- most Libretro cores that allow you to test new features as soon as they're
- added.
+``` shell
+sudo apt --upgrade --yes install retroarch
+```
-#### Installation
+### Personal Package Archives (PPAs)
-In order to add PPAs to your system's package sources, some tools from the
-official package repositories are needed. Open the terminal and run this command
-to ensure they are installed:
+In an effort to improve the experience of RetroArch users on Ubuntu, official
+[Ubuntu flavors][ubuntu-flavors], and all of the many Linux distributions based
+on Ubuntu (such as Linux Mint, Zorin OS, Pop! OS, elementary OS, etc.), the
+Libretro Team has long been committed to producing its own Debian packages as an
+alternative to the ones supplied by Ubuntu in the "universe" package archive.
+These packages are updated much faster to keep pace with each new RetroArch
+version, and compiled with a greater range of features than the Ubuntu package.
+In addition, Debian packages are created for the vast majority of popular
+Libretro cores, simplifying their installation and allowing them to be updated
+by the system package manager on the same schedule as all other package updates.
-```sh
-sudo apt -y install software-properties-common
-```
+These packages are built and distributed using the [Launchpad
+platform][launchpad-team] operated by Canonical itself (the company which
+distributes Ubuntu), and split into two channels called "Personal Package
+Archives" (PPAs) that each cater to a specific type of user. By simply [enabling
+one (or both) the PPAs][help-ppas] listed below, users can seamlessly replace
+the Ubuntu RetroArch package on their system with those provided by the Libretro
+team.
-One command is needed to add a PPA to your system's package sources. To add the
-[**Stable PPA**][ppa-stable], use:
+- [**Stable**][ppa-stable] (recommended) — includes only official releases
+ (as announced on libretro.com / retroarch.com)
-```sh
-sudo add-apt-repository -ysnP libretro/stable
-```
+- [**Testing**][ppa-testing] — builds of RetroArch and most Libretro cores from
+ the latest source code, for test new fixes and features as soon as they're
+ added
-Or to add the [**Testing PPA**][ppa-testing], use:
+### Installation
-```sh
-sudo add-apt-repository -ysnP libretro/testing
-```
+Follow these steps to enable the Libretro PPAs on your Ubuntu(-based) system.
-You can now install the RetroArch package from the PPAs with this command:
+1. In order to add PPAs to your system's package sources, some tools from the
+ official package repositories are needed. Open the terminal and run this
+ command to ensure they are installed:
-```sh
-sudo apt -Uy install retroarch
-```
+ ``` shell
+ sudo apt --update --yes install software-properties-common
+ ```
+
+1. Just a single command is needed to add a PPA to your system's package
+ sources.
+
+ - To add the [**Stable PPA**][ppa-stable], run this command in your
+ terminal:
+
+ ``` shell
+ sudo add-apt-repository --yes --no-update --ppa libretro/stable
+ ```
+
+ - Or to add the [**Testing PPA**][ppa-testing], run:
+
+ ``` shell
+ sudo add-apt-repository --yes --no-update --ppa libretro/testing
+ ```
+
+1. You can now install the RetroArch package from the PPAs with this command:
+
+ ``` shell
+ sudo apt --update --yes install retroarch
+ ```
+
+#### Verifying PPA package installation
-You can verify that the PPA package was installed rather than the one from the
-official distribution repositories with the `apt show` command (shown with
-expected output for the Testing PPA package):
+You can verify that the PPA package is installed (rather than the one from the
+official distribution repositories) with the `apt show retroarch` command (shown
+with expected output for the Testing PPA package):
-```console
-$ apt show retroarch
+``` shell-session hl_lines="14"
+ra@libretro:~$ apt show retroarch
Package: retroarch
-Version: 1.19.1+r202408170734~bf25bd9149-179~ubuntu24.04.1
+Version: {{ unit.stable }}+r202408170734~bf25bd9149-179~ubuntu24.04.1
Priority: optional
Section: games
Maintainer: Libretro Team
@@ -154,51 +192,91 @@ Description: Simple frontend for the libretro library
Notice: There is 1 additional record. Please use the '-a' switch to see it
```
-Look at the **`APT-Sources:`** line in the output. If one of the PPA packages is
-installed, its value will begin with
-`https://ppa.launchpadcontent.net/libretro/`.
+!!! tip "What to look for"
+ Look at the **`APT-Sources:`** line in the output. If one of the PPA
+ packages is installed, its value will begin with
+ `https://ppa.launchpadcontent.net/libretro/`.
-#### Updates
+### Updates
With this installation method, RetroArch updates will automatically be included
-with your systems regular package upgrades. However, you are always able to
-trigger an update specifically for RetroArch with the terminal command:
+with your system's regular package upgrades. However, you are always able to
+trigger an update specifically for RetroArch (if one is available) with the
+command:
-```sh
-sudo apt -y upgrade retroarch
+``` shell
+sudo apt --update --yes upgrade retroarch
```
-### Arch Linux-based
+## Arch Linux(-based)
-Arch Linux provides a [`retroarch`][arch-package] package for x86_64 systems in
-their official [Extra repository][arch-extra-repo]. You can install it by
+### Installation
+
+#### Official package
+
+Arch Linux provides a [**`retroarch`**][arch-package] package for x86_64 systems
+in their official [Extra repository][arch-extra-repo]. You can install it by
searching for RetroArch by name in a graphical package manager like
[Octopi][octopi], or from the terminal with the command:
-```sh
+``` shell
sudo pacman -S retroarch
```
-A "git" package named [`retroarch-git`][aur-git-package] which offers prerelease
-builds (similar to the Testing PPA described above) is also available on the
-[AUR][arch-aur]. As above, it can be installed from a package manager GUI or in
-the terminal using an "[AUR helper][aur-helpers]" like [`yay`][aur-yay], as in:
+#### Arch User Repository (AUR) package
-```sh
+A "git" package named [**`retroarch-git`**][aur-git-package] which offers
+prerelease builds (similar to the Testing PPA described above) is also available
+in the [AUR][arch-aur]. As above, it can be installed from a package manager GUI
+or in the terminal using an "[AUR helper][aur-helpers]" like [`yay`][aur-yay],
+as in:
+
+``` shell
yay retroarch-git
```
+!!! tip "Installing an AUR helper"
+ If you wish to install the AUR package but don't yet have an AUR helper
+ installed on your system, the following shell "one-liner" will download,
+ compile and install `yay` for you:
+
+ ``` shell
+ pacman -S --needed git base-devel && git clone https://aur.archlinux.org/yay-bin.git &&
+ cd yay-bin && makepkg -si
+ ```
+
+### Updates
+
+With this installation method, RetroArch updates will automatically be included
+with your system's regular package upgrades. However, you are always able to
+trigger an update specifically for RetroArch (if one is available) with the
+following commands.
+
+#### Official package
+
+``` shell
+pacman -Syyuu retroarch
+```
+
+#### AUR package
+
+``` shell
+yay -Syyuu retroarch-git
+```
+
[arch-aur]: https://aur.archlinux.org/ "Arch User Repository (AUR)"
-[arch-extra-repo]: https://wiki.archlinux.org/title/Official_repositories#extra
-[arch-package]: https://archlinux.org/packages/extra/x86_64/retroarch/
-[aur-git-package]: https://aur.archlinux.org/packages/retroarch-git
-[aur-helpers]: https://wiki.archlinux.org/title/AUR_helpers
-[aur-yay]: https://github.com/Jguer/yay
-[flatpak-remote]: https://docs.flatpak.org/en/latest/flatpak-command-reference.html#flatpak-remotes
-[flatpak-setup]: https://flatpak.org/setup/
-[help-ppas]: https://help.launchpad.net/Packaging/PPA/InstallingSoftware
-[octopi]: https://tintaescura.com/projects/octopi/
-[ppa-stable]: https://launchpad.net/~libretro/+archive/ubuntu/stable
-[ppa-testing]: https://launchpad.net/~libretro/+archive/ubuntu/testing
-[retroarch-flatpak]: https://flathub.org/apps/org.libretro.RetroArch
-[ubuntu-flavors]: https://ubuntu.com/desktop/flavours
+[arch-extra-repo]: https://wiki.archlinux.org/title/Official_repositories#extra "Official repositories - ArchWiki"
+[arch-package]: https://archlinux.org/packages/extra/x86_64/retroarch/ "Arch Linux - retroarch {{ unit.stable }}-1 (x86_64)"
+[aur-git-package]: https://aur.archlinux.org/packages/retroarch-git "AUR (en) - retroarch-git"
+[aur-helpers]: https://wiki.archlinux.org/title/AUR_helpers "AUR helpers - ArchWiki"
+[aur-yay]: https://github.com/Jguer/yay "Jguer/yay: Yet another Yogurt - An AUR Helper written in Go (GitHub)"
+[flatpak-remote]: https://docs.flatpak.org/en/latest/flatpak-command-reference.html#flatpak-remotes "Flatpak Command Reference - Flatpak documentation"
+[flatpak-setup]: https://flatpak.org/setup/ "Flatpak—the future of application distribution"
+[help-ppas]: https://help.launchpad.net/Packaging/PPA/InstallingSoftware "Packaging/PPA/Installing Software - Launchpad Help"
+[launchpad-team]: https://launchpad.net/~libretro "Libretro in Launchpad"
+[octopi]: https://tintaescura.com/projects/octopi/ "Octopi - Tinta escura"
+[ppa-stable]: https://launchpad.net/~libretro/+archive/ubuntu/stable "Libretro Stable : “Libretro” team"
+[ppa-testing]: https://launchpad.net/~libretro/+archive/ubuntu/testing "Libretro Testing/Nightly : “Libretro” team"
+[retroarch-flatpak]: https://flathub.org/apps/org.libretro.RetroArch "Install RetroArch on Linux | Flathub"
+[ubuntu-flavors]: https://ubuntu.com/desktop/flavours "Ubuntu flavours | Ubuntu"
+[ubuntu-package]: https://packages.ubuntu.com/search?keywords=retroarch&searchon=names "Ubuntu – Package Search Results -- retroarch"
diff --git a/docs/guides/navigating.md.backup b/docs/guides/navigating.md.backup
deleted file mode 100644
index 488331c914..0000000000
--- a/docs/guides/navigating.md.backup
+++ /dev/null
@@ -1,77 +0,0 @@
-# Navigating
-
-Navigating on RetroArch is as easy as you can imagine. Depending on the device you have, the control scheme is determined automatically. For example, if you are going to use it on a computer, the basic key combinations of the keyboard will apply. You move with the arrow keys and select with the *Enter* key, and you return with the *Backspace* key. If you plug a controller, you can also move with the D-Pad buttons.
-
-The default [GUI](GUI) for RetroArch is [Ozone](ozone.md). While the "skin" may differ on certain platforms, basic layout and navigation remains broadly the same.
-
-## PC
-
-By default the keyboard should be ready to use.
-
-Using the *left* and *right* arrow keys, you move to a different tab, each tab will relate to an aspect of the RetroArch experience (main menu for game loading, settings for settings etc.). Once the desired tab is selected, use the *up* and *down* arrow to move to an option.
-
-To advance in the menu press *Enter* (or *Return*). To go back to the previous menu push *Backspace*.
-
-Whilst in a game use the *F1* key to open the [Quick Menu](quick-menu.md).
-
-Pushing *Esc* twice will quit the program.
-
-### Main Menu
-
-![Ozone's Main Menu](../image/retroarch/ozone/first_run.webp)
-
-Welcome to the main menu. This is where you will launch games, download and update cores, and have access to freely available content. *Load Core*, *Load Content* and the *Online Updater* are the menu items you will probably be using the most.
-
-*See [Starting a Game](starting-a-game.md)*
-
-### Settings
-
-![Settings](../image/retroarch/ozone/settings.png)
-
-Here you will find all the options available to configure RetroArch, from Graphics, Input, Sound and everything else.
-
-### Favorites
-
-![Favorites](../image/retroarch/ozone/favorites.png)
-
-Favorites allow yous to maintain a short list of games for quick access. You can add content to this playlist from the [Quick Menu](quick-menu.md) or before launching it.
-
-### History
-
-![History](../image/retroarch/ozone/history.png)
-
-Recently launched content will be added to this Playlist. The content you ran last will be at the top.
-
-### Image, Music and Video
-
-These tabs will handle all your media. Images will contain any screenshots you've made.
-
-### Netplay
-
-RetroArch relies on peer-to-peer networking to reduce network latency and ensure the best possible experience. It allows multiplayer over the internet. The user can host or join a network gaming session, or use the Spectator mode to watch others play. RetroArch has a built-in netplay lobby.
-
-### Import content
-
-![import-content](../image/retroarch/ozone/import-content.png)
-
-Either you scan automatically, so that any content that matches the internal database will be added to Playlists, or you scan manually, not being dependent on the database so you can freely add your content to Playlists.
-
-## Mobile
-
-The mobile interface, [GLUI](glui.md), is much more minimalistic compared to the PC's interface. Touch is the default input, although depending on device other options may be available. There are three different tabs, which can be switched at the bottom of the menu.
-
-### Main Menu
-
-![GLUI's Main Menu](../image/retroarch/glui/glui-main.png)
-
-The main menu will be where you launch games, download and update cores, start or join netplay sessions and pretty much anything to do with gaming.
-
-*See [Starting a Game](starting-a-game.md)*
-
-### Playlists
-
-Handles anything to do with creating and maintaining playlists. It gives you scanning options to recognise your game collection. It also provides access to your images, music and videos.
-
-### Settings
-
-Here you will find all the options available to configure RetroArch, from Graphics, Input, Sound and everything else.
diff --git a/docs/guides/rgui_wallpaper_template.svg b/docs/guides/rgui_wallpaper_template.svg
index 7f8e6753b8..f08718ed14 100644
--- a/docs/guides/rgui_wallpaper_template.svg
+++ b/docs/guides/rgui_wallpaper_template.svg
@@ -1,95 +1,9 @@
-
-
-
-