-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feat/defer-js-init
- Loading branch information
Showing
76 changed files
with
2,044 additions
and
775 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,17 +11,17 @@ Pagefind is a static binary with no dynamic dependencies, so in most cases will | |
## Running via npx | ||
|
||
```bash | ||
npx pagefind --source "public" | ||
npx pagefind --site "public" | ||
``` | ||
|
||
Pagefind publishes a [wrapper package through npm](https://www.npmjs.com/package/pagefind), which is the easiest way to get started. This package will download the correct [binary of the latest release](https://github.com/CloudCannon/pagefind/releases) from GitHub for your platform and run it. | ||
|
||
Specific versions can be run by passing a version tag: | ||
|
||
```bash | ||
npx pagefind@latest --source "public" | ||
npx pagefind@latest --site "public" | ||
|
||
npx [email protected] --source "public" | ||
npx [email protected] --site "public" | ||
``` | ||
|
||
> Running Pagefind via npx will download the `pagefind_extended` release, which includes specialized support for indexing Chinese and Japanese pages. | ||
|
@@ -31,9 +31,9 @@ npx [email protected] --source "public" | |
If you prefer to install Pagefind yourself, you can download a [precompiled release from GitHub](https://github.com/CloudCannon/pagefind/releases) and run the binary directly: | ||
|
||
```bash | ||
./pagefind --source "public" | ||
./pagefind --site "public" | ||
# or | ||
./pagefind_extended --source "public" | ||
./pagefind_extended --site "public" | ||
``` | ||
|
||
Pagefind publishes two releases, `pagefind` and `pagefind_extended`. The extended release is a larger binary, but includes specialized support for indexing Chinese and Japanese pages. | ||
|
@@ -44,12 +44,12 @@ If you have [Rust and Cargo](https://doc.rust-lang.org/cargo/getting-started/ins | |
|
||
```bash | ||
cargo install pagefind | ||
pagefind --source "public" | ||
pagefind --site "public" | ||
``` | ||
|
||
To build and install the extended version of Pagefind: | ||
|
||
```bash | ||
cargo install pagefind --features extended | ||
pagefind --source "public" | ||
pagefind --site "public" | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.