Use base path for domain.
Prepare requirements for Next to build the documentation.
Make docs use the latest (bleeding edge) of the components by importing them directly.
Implement Next.js MDX Separate the docs from the code and tests.