Skip to content

Commit

Permalink
docs: fixed broken links after binary changes
Browse files Browse the repository at this point in the history
  • Loading branch information
arctic-hen7 committed Jul 18, 2022
1 parent 74af4e8 commit fa99478
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions docs/0.4.x/en-US/getting-started/first-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ The third section is exactly the same as the previous, just without that `not(..

</details>

Next, we can get on with the app's actual code! Head over to `src/lib.rs` and put the following inside:
Next, we can get on with the app's actual code! Head over to `src/main.rs` and put the following inside:

```rust
{{#include ../../../examples/comprehensive/tiny/src/lib.rs}}
{{#include ../../../examples/comprehensive/tiny/src/main.rs}}
```

This is your entire first app! Note that most Perseus app's won't actually look like this, we've condensed everything into 17 lines of code for simplicity.
This is your entire first app! Note that most Perseus apps won't actually look like this, we've condensed everything into 17 lines of code for simplicity.

<details>
<summary>So that means something, does it?</summary>
Expand Down
4 changes: 2 additions & 2 deletions docs/0.4.x/en-US/tutorials/second-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,10 @@ Notably, an error page is defined with a closure that takes four arguments: a re

## Tying it all together

Now, we can bring everything together in `src/lib.rs`:
Now, we can bring everything together in `src/main.rs`:

```rust
{{#include ../../../examples/core/basic/src/lib.rs}}
{{#include ../../../examples/core/basic/src/main.rs}}
```

**Important:** replace `perseus_integration` here with `perseus_warp`! We use `perseus_integration` as an internal glue crate, and all code in these docs is sourced directly from the examples.
Expand Down
6 changes: 3 additions & 3 deletions docs/next/en-US/getting-started/first-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ The third section is exactly the same as the previous, just without that `not(..

</details>

Next, we can get on with the app's actual code! Head over to `src/lib.rs` and put the following inside:
Next, we can get on with the app's actual code! Head over to `src/main.rs` and put the following inside:

```rust
{{#include ../../../examples/comprehensive/tiny/src/lib.rs}}
{{#include ../../../examples/comprehensive/tiny/src/main.rs}}
```

This is your entire first app! Note that most Perseus app's won't actually look like this, we've condensed everything into 17 lines of code for simplicity.
This is your entire first app! Note that most Perseus apps won't actually look like this, we've condensed everything into 17 lines of code for simplicity.

<details>
<summary>So that means something, does it?</summary>
Expand Down
4 changes: 2 additions & 2 deletions docs/next/en-US/tutorials/second-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,10 @@ Notably, an error page is defined with a closure that takes four arguments: a re

## Tying it all together

Now, we can bring everything together in `src/lib.rs`:
Now, we can bring everything together in `src/main.rs`:

```rust
{{#include ../../../examples/core/basic/src/lib.rs}}
{{#include ../../../examples/core/basic/src/main.rs}}
```

**Important:** replace `perseus_integration` here with `perseus_warp`! We use `perseus_integration` as an internal glue crate, and all code in these docs is sourced directly from the examples.
Expand Down

0 comments on commit fa99478

Please sign in to comment.