import selfHostingFunctionsCommonSections from '~/spec/common-self-hosting-functions-sections.json' import RefSectionHandler from '~/components/reference/RefSectionHandler' import { flattenSections } from '~/lib/helpers' import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths' import handleRefStaticProps from '~/lib/mdx/handleRefStaticProps' import { gen_v3 } from '~/lib/refGenerator/helpers' const sections = flattenSections(selfHostingFunctionsCommonSections) const libraryPath = '/self-hosting-functions' export default function SelfHostFunctionsReference(props) { return } export async function getStaticProps() { return handleRefStaticProps(sections, libraryPath) } export async function getStaticPaths() { return handleRefGetStaticPaths(sections) }