[Docs] Update static file serving section (#9062)

This block seemed redundant 

```
To serve static files from the root directory you can add a folder called `public` and reference those files from the root, e.g: `/robots.txt`.
```

The block above this already mentions the same thing:
```
Create a folder called `public` in your project root directory. From your code you can then reference those files starting from the baseURL `/`
```

We could add the `robots.txt` eg to the first block itself if necessary
This commit is contained in:
Nishant Singh 2019-10-13 22:48:10 +05:30 committed by Tim Neutkens
parent 000f385b6e
commit 09681cd597

View file

@ -286,8 +286,6 @@ function MyImage() {
export default MyImage
```
To serve static files from the root directory you can add a folder called `public` and reference those files from the root, e.g: `/robots.txt`.
_Note: Don't name the `public` directory anything else. The name can't be changed and is the only directory that Next.js uses for serving static assets._
### Dynamic Routing