[documentation] missing page config documentation
See original GitHub issueBug report
Describe the bug
I know there is config
export for pages and api routes. They are partially described in api-middlewares#custom-config or in amp-support for example.
I was searching for documentation on that config
export but I couldn’t find it.
Also: is a typescript type available for the config
export?
To Reproduce
Look at the next.js docs and search for documetation on config
export for pages or api routes
Expected behavior
There is no such documentation on the config
export
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:10 (5 by maintainers)
Top Results From Across the Web
local option missing from config command description in docs ...
Issue Config command docs entry is missing --local option listed. It is only mentioned in Configuration page.
Read more >Frequently Asked Questions - Read the Docs
Frequently Asked Questions¶. My project isn't building correctly¶. First, you should check out the Builds tab of your project. That records all of...
Read more >git-config Documentation - Git
Opens an editor to modify the specified config file; either --system , --global , or repository (default). --[no-]includes. Respect include.* directives in ...
Read more >Configuration - MkDocs
A list of plugins (with optional configuration settings) to use when building the site. See the Plugins documentation for full details. If the...
Read more >Configuration - Sphinx documentation
The style sheet to use for HTML pages. A file of that name must exist either in Sphinx's static/ path, or in one...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@vuki656 doubt it, the docs are part of this repo, see https://github.com/vercel/next.js/blob/canary/docs/basic-features/pages.md for example
@AmazingTurtle the
config
object changes depending on where you’re using it from (e.g. amp). There shouldn’t be a single place listing all the config objects, because you need the context of where you’re using that value.As @lachlanjc, experimental values aren’t put into the documentation because they’re not stable. Once they’re stable, they will be added.
Thank you regardless! 👍