Here is another little script for Linux users I came up with. It copies the online Libretro / RetroArch documentation and makes them available offline to browse and read.
Actually its just downloading and copying it with git
command. You can basically go into the directory and open the files and read them manually. The script itself will also list the files and categories with fzf
. Opening a file through the script will open it with the configured viewer (here default is Okular, because it can render Markdown files). You should also change the location in the script at local=
, to point where you want to download the docs. A “docs” subdirectory will be created automatically through git
command.
I name the script libretrodocs
(give it executable bit with chmod +x libretrodocs
) and put it into a directory that is in the $PATH
. So I can call the script from anywhere. Change the open='okular'
part in the beginning of the script, if you use a different viewer. Also make sure git
and fzf
programs are installed and available on your system.