rsnext/docs/basic-features
Kara b3f2b38844
Remove page-specific font example from docs (#34694)
The Font Optimization docs have an outdated example that recommends
adding fonts via `next/head`. This is an anti-pattern that Next.js
has already warned about through ESLint for a while (see
https://nextjs.org/docs/messages/no-page-custom-font) and is now
starting to warn about through the console because it won't work
well with streaming architecture.

This change removes the outdated example from the docs.
Fixes #34693



## Documentation / Examples

- [x] Make sure the linting passes by running `yarn lint`
2022-02-22 23:17:01 +00:00
..
data-fetching Add info on rendering an error page when using getServerSideProps (#34488) 2022-02-17 19:04:08 +00:00
built-in-css-support.md docs: fix typo in css-in-js page (#31244) 2021-11-10 15:45:20 +00:00
environment-variables.md Update Middleware docs to add version history. (#34302) 2022-02-13 22:46:30 +00:00
eslint.md Use relative path for example (#33565) 2022-01-26 12:41:14 +00:00
fast-refresh.md docs: minor text-copy cleanup (#33120) 2022-01-10 10:52:47 +00:00
font-optimization.md Remove page-specific font example from docs (#34694) 2022-02-22 23:17:01 +00:00
image-optimization.md Update multiple docs pages to follow Docs Content style guide (#33855) 2022-02-06 04:21:35 +00:00
layouts.md Changed all occurrences of etc to match (#34280) 2022-02-13 00:22:52 +00:00
pages.md Changed data fetching file name to overview to fix meta data title (#33232) 2022-01-27 09:14:14 -06:00
script.md Include mention of the onError Prop for next/script (#31945) 2021-12-15 22:38:01 -06:00
static-file-serving.md Update err.sh links to use nextjs.org/docs/messages instead (#23353) 2021-03-29 10:25:00 +02:00
supported-browsers-features.md Update supported-browsers-features.md (#28326) 2021-08-20 11:52:20 +00:00
typescript.md [docs] Mention SWC in TypeScript documentation. (#33801) 2022-01-30 17:30:02 +00:00