import { productName, productSlug } from 'data/metadata' import order from 'data/docs-navigation.js' import DocsPage from '@hashicorp/react-docs-page' import { generateStaticPaths, generateStaticProps, } from '@hashicorp/react-docs-page/server' import ConfigEntryReference from 'components/config-entry-reference' const subpath = 'docs' const additionalComponents = {ConfigEntryReference} export default function DocsLayout(props) { return ( ) } export async function getStaticPaths() { return generateStaticPaths(subpath) } export async function getStaticProps({ params }) { return generateStaticProps({ subpath, productName, params, additionalComponents }) }