question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[documentation] missing page config documentation

See original GitHub issue

Bug 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:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
AmazingTurtlecommented, Sep 6, 2020

@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

1reaction
leerobcommented, Feb 1, 2021

@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! 👍

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found