Skip to content

Commit

Permalink
docs: Fix grammatical issue Update README.md (#6044)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xsimka authored Dec 13, 2024
1 parent 0d82ddf commit 7d8d960
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ We also deploy updated storybook on each build. You can find it on https://hardh

There are two relatively independent processes in the build step:

1. Generating pages themselves. We get page paths directly from the files located in the content folder. Their paths are mapped to the page routes. Layout settings don't affect to page's existence.
1. Generating pages themselves. We get page paths directly from the files located in the content folder. Their paths are mapped to the page routes. Layout settings don't affect page existence.
2. Generating layouts and mapping layouts to pages. For that, we're checking which folders belong to what layout and assigning that layout to a page

Page paths are generated in the `getStaticPaths` functions in files of the `page` folder. The result of these functions is an array of page paths. Page props are generated with the `getStaticProps` function, which is executed once per page with a page path passed as an argument and returns all required page props.
Expand Down

0 comments on commit 7d8d960

Please sign in to comment.