This is a repo of the RetroArch official document page.
Go to file
David Hedlund f16a6a6a8c
Update cli-intro.md
Some cores don't require a content filename passed as a command line argument, for example [ScummVM](https://docs.libretro.com/library/scummvm/), which has an inbuilt file browser.
2024-01-19 19:49:37 +01:00
.github Update main.yml 2022-07-24 00:11:58 +03:00
archive Image optimization pass 2021-11-08 22:08:10 +01:00
dist update 2021-08-30 13:52:46 +03:00
docs Update cli-intro.md 2024-01-19 19:49:37 +01:00
mkdocs_macros_plugin.egg-info update 2021-08-30 13:52:46 +03:00
typings Changes 2020-05-09 13:33:22 +03:00
.DS_Store Updated accessibility guide to mention Ozone change. 2020-06-08 08:41:29 -05:00
.editorconfig Fix incorrect editorconfig 2020-04-25 11:01:16 +01:00
.gitattributes organize development docs TOC / add git file format directives (#222) 2019-02-18 13:06:11 -06:00
.gitignore Update .gitignore 2023-12-17 23:10:48 +01:00
.travis.yml Revert "Update .travis.yml, mkdocs.yml: Fixes #44" 2019-05-30 19:01:14 +02:00
CNAME Create CNAME 2020-05-09 13:35:02 +03:00
deploy fix executable bit again 2018-05-01 08:09:37 -04:00
LICENSE Update 2022-06-14 22:57:48 +02:00
Makefile Initial commit 2018-02-23 10:11:21 +01:00
mkdocs.yml Create new entry for RetroArch Cloud Sync (first version) 2023-12-17 23:09:59 +01:00
README.md Update README.md 2023-06-09 09:07:21 +09:30

Contribute to the documentation

These docs are written in Markdown. If you need help with the syntax, use this guide. Mkdocs uses some Markdown extensions that you may have to familiarize with.

The documentation source is maintained via Git. For more info on how to use git, refer to Github's help page.

In order to propose improvements to a document:

  1. Clone the repo
  2. Make the changes and update your clone
  3. Follow the "Building the docs" section to render the documentation site locally
  4. Propose your changes using the button New Pull Request in the docs repo

There is a To-Do list for libretro/docs here and you can submit suggestions or issues regarding documentation at the libretro/docs issue tracker.

Building the docs

  1. Make sure you have Python and pip installed
    python --version
    pip --version
    

!!! Note "Building in Windows/msys2" If you are using the standard RetroArch msys2 environment, you will need to install python with the command pacman -S python. Next you will need to download the get-pip.py script from the pip bootstrap site. Finally, execute the script with the command python get-pip.py.

  1. Install MkDocs

    pip install mkdocs
    
  2. Install MkDocs-Material

    pip install mkdocs-material
    
  3. Install PyMdown Extensions

    pip install pymdown-extensions
    
  4. Install mkdocs-git-revision-date

    pip install mkdocs-git-revision-date-plugin
    
  5. Install mkdocs-macros

    pip install mkdocs-macros-plugin
    
  6. Build the site

    mkdocs build
    
  7. The documentation will be built to the site directory; preview any changes with MkDocs' built-in dev-server before submitting a pull request

    mkdocs serve
    

References

Adding a new core

These are the documents that should be added/updated when a new core is added to the libretro ecosystem.

  • Add the core to docs/library/ (Follow the latest core template. docs/meta/core-template.md)
  • Add the core to mkdocs.yml
  • Add the core to docs/meta/core-list.md
  • Add the core to docs/meta/see-also.md if it's related to another core in some way
  • Add the core to docs/development/licenses.md
  • Add the core to docs/guides/softpatching.md if it supports softpatching
  • Add the core to docs/guides/retroachievements.md if it supports cheevos
  • Add the core to docs/library/bios.md if it needs a BIOS