Skip to content

Commit

Permalink
Merge pull request #2 from theohbrothers/docs/readme-fix-usage-command
Browse files Browse the repository at this point in the history
Docs (readme): Fix usage command
  • Loading branch information
leojonathanoh authored Nov 3, 2023
2 parents 2da0759 + 0a6234c commit 15ac0d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ Dockerized [pagefind](https://github.com/CloudCannon/pagefind).

## Usage

Mount the public directory into the container at /public.
Mount the public directory into the container at `/public`.

```sh
docker run --rm -it -v /path/to/public:/public docker-pagefind:1.0.3 --site public
docker run --rm -it -v $(pwd)/public:/public theohbrothers/docker-pagefind:1.0.3
```

## Development
Expand Down
4 changes: 2 additions & 2 deletions generate/templates/README.md.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ $(
)
## Usage
Mount the public directory into the container at `/public`.
Mount the public directory into the container at ``/public``.
``````sh
docker run --rm -it -v /path/to/public:/public docker-pagefind:$( $VARIANTS | % { $_['tag'] } | Select-Object -First 1 ) --site public
docker run --rm -it -v `$(pwd)/public:/public theohbrothers/docker-pagefind:$( $VARIANTS | % { $_['tag'] } | Select-Object -First 1 )
``````
Expand Down

0 comments on commit 15ac0d8

Please sign in to comment.