Skip to content

Commit

Permalink
Docs: update (#599)
Browse files Browse the repository at this point in the history
  • Loading branch information
emmercm authored Aug 23, 2023
1 parent 8d2f8e8 commit e29aa4d
Show file tree
Hide file tree
Showing 7 changed files with 44 additions and 16 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,14 @@ jobs:
with:
key: ${{ github.ref }}
path: .cache
- run: pip install mkdocs-material
- run: pip install mkdocs-git-revision-date-localized-plugin mkdocs-redirects mkdocs-htmlproofer-plugin mdx_truly_sane_lists
- run: |
pip install mkdocs-material
pip install \
mkdocs-exclude-search \
mkdocs-git-revision-date-localized-plugin \
mkdocs-redirects \
mkdocs-htmlproofer-plugin \
mdx_truly_sane_lists
- run: |
pip install pillow cairosvg
sudo apt-get install libcairo2-dev libfreetype6-dev libffi-dev libjpeg-dev libpng-dev libz-dev
Expand Down Expand Up @@ -71,8 +77,14 @@ jobs:
with:
key: ${{ github.ref }}
path: .cache
- run: pip install mkdocs-material
- run: pip install mkdocs-git-revision-date-localized-plugin mkdocs-redirects mkdocs-htmlproofer-plugin mdx_truly_sane_lists
- run: |
pip install mkdocs-material
pip install \
mkdocs-exclude-search \
mkdocs-git-revision-date-localized-plugin \
mkdocs-redirects \
mkdocs-htmlproofer-plugin \
mdx_truly_sane_lists
- run: |
pip install pillow cairosvg
sudo apt-get install libcairo2-dev libfreetype6-dev libffi-dev libjpeg-dev libpng-dev libz-dev
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<p align="center"><b>Pronounced "eager," <code>igir</code> is a video game ROM collection manager to help filter, sort, patch, archive, and report on collections on any OS.</b></p>

<p align="center">
<a href="https://github.com/emmercm/igir#readme"><img alt="CLI: Windows,macOS,Linux" src="https://img.shields.io/badge/CLI-Windows%2C%20macOS%2C%20Linux-lightgrey?logo=windows-terminal"></a>
<a href="https://igir.io/"><img alt="CLI: Windows,macOS,Linux" src="https://img.shields.io/badge/CLI-Windows%2C%20macOS%2C%20Linux-lightgrey?logo=windows-terminal"></a>
<a href="https://www.npmjs.com/package/igir"><img alt="npm: version" src="https://img.shields.io/npm/v/igir?color=%23cc3534&label=version&logo=npm&logoColor=white"></a>
<a href="https://www.npmjs.com/package/igir"><img alt="npm: downloads" src="https://img.shields.io/npm/dt/igir?color=%23cc3534&logo=npm&logoColor=white"></a>
<a href="https://github.com/emmercm/igir/releases"><img alt="GitHub: downloads" src="https://img.shields.io/github/downloads/emmercm/igir/total?color=%236e5494&logo=github&logoColor=white"></a>
Expand Down
2 changes: 1 addition & 1 deletion docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ If none of the above options work for you, [Docker](https://www.docker.com/) may
--volume "%cd%:\pwd" ^
--workdir "/pwd" ^
node:lts ^
npx igir@latest copy zip --dat "*.dat" --input ROMs/ --output ROMs-Sorted/ --dir-dat-name
npx igir@latest copy zip --dat "*.dat" --input ROMs\ --output ROMs-Sorted\ --dir-dat-name
```

=== ":simple-apple: macOS"
Expand Down
16 changes: 12 additions & 4 deletions docs/output/reporting.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,17 +60,25 @@ The report output filename supports a version of [Moment.js symbols](https://mom

See the [Moment.js docs](https://momentjs.com/docs/#/displaying/) for a complete list of tokens you can use.

!!! warning

The `%` character is used to denote replaceable variable names (such as `%USERPROFILE%` and `%TEMP%`) in Windows Batch scripting. You may need to "escape" `%` characters with a `^` if you experience problems. Example:

```text
--report-output ^%X.csv
```

Here are some example usages:

=== ":simple-windowsxp: Windows"

```batch
> igir.exe report --dat *.dat --input ROMs\ --report-output ".\report.csv"

> igir.exe report --dat *.dat --input ROMs/ --report-output "./report %dddd, %MMMM %Do %YYYY, %h:%mm:%ss %a.csv"
> igir.exe report --dat *.dat --input ROMs\ --report-output ".\report %dddd, %MMMM %Do %YYYY, %h:%mm:%ss %a.csv"
REM ./report Friday, April 14th 2023, 4:28:26 pm.csv

> igir.exe report --dat *.dat --input ROMs/ --report-output "/igir/%X.csv"
> igir.exe report --dat *.dat --input ROMs\ --report-output "igir\%X.csv"
REM /igir/1681515048.csv
```

Expand All @@ -82,7 +90,7 @@ Here are some example usages:
$ igir report --dat *.dat --input ROMs/ --report-output "./report %dddd, %MMMM %Do %YYYY, %h:%mm:%ss %a.csv"
# ./report Friday, April 14th 2023, 4:28:26 pm.csv

$ igir report --dat *.dat --input ROMs/ --report-output "/igir/%X.csv"
$ igir report --dat *.dat --input ROMs/ --report-output "igir\%X.csv"
# /igir/1681515048.csv
```

Expand All @@ -94,6 +102,6 @@ Here are some example usages:
$ igir report --dat *.dat --input ROMs/ --report-output "./report %dddd, %MMMM %Do %YYYY, %h:%mm:%ss %a.csv"
# ./report Friday, April 14th 2023, 4:28:26 pm.csv

$ igir report --dat *.dat --input ROMs/ --report-output "/igir/%X.csv"
$ igir report --dat *.dat --input ROMs/ --report-output "igir/%X.csv"
# /igir/1681515048.csv
```
2 changes: 1 addition & 1 deletion docs/usage/desktop/batocera.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Because Batocera uses RetroArch under the hood, the instructions are generally t

## ROMs

Batocera has a `roms` folder in the "userdata partition" at `/userdata/roms` that is used by default:
Batocera uses its own proprietary [ROM folder structure](https://wiki.batocera.org/systems), so `igir` has a replaceable `{batocera}` token to sort ROMs into the right place. See the [replaceable tokens page](../../output/tokens.md) for more information.

=== ":simple-linux: Batocera (Linux)"

Expand Down
4 changes: 2 additions & 2 deletions docs/usage/desktop/retroarch.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ If you want to store your ROMs in the RetroArch folder, you could co-locate them
```batch
igir copy zip test ^
--dat "No-Intro*.zip" ^
--input ROMs/ ^
--input ROMs\ ^
--output C:\RetroArch-Win64\roms ^
--dir-dat-name ^
--no-bios
Expand All @@ -78,7 +78,7 @@ If you want to store your ROMs in the RetroArch folder, you could co-locate them
```batch
igir copy zip test ^
--dat "No-Intro*.zip" ^
--input ROMs/ ^
--input ROMs\ ^
--output C:\RetroArch-Win32\roms ^
--dir-dat-name ^
--no-bios
Expand Down
14 changes: 11 additions & 3 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ theme:
- navigation.tabs.sticky
- navigation.indexes
- navigation.sections
- navigation.path
- navigation.instant
- navigation.instant.prefetch
- navigation.footer
- toc.follow
- toc.integrate
Expand All @@ -38,8 +40,9 @@ theme:
- content.tabs.link

nav:
- Home: index.md
- Documentation:
- Home:
- index.md
- overview.md
- installation.md
- commands.md
Expand Down Expand Up @@ -88,10 +91,15 @@ nav:
- Discuss ↗: https://github.com/emmercm/igir/discussions" target="_blank

plugins:
- search
- search:
lang: en
- exclude-search:
exclude:
- index.md
exclude_unreferenced: true
- social
- git-revision-date-localized:
enable_creation_date: true
enable_creation_date: false
- redirects:
redirect_maps:
'archives.md': 'input/reading-archives.md'
Expand Down

0 comments on commit e29aa4d

Please sign in to comment.