import Layout from '../components/Layout' import SEO from '../components/SEO' import { getLua, LuaDoc } from '../utils/doc-utils' import { Link } from 'react-feather' export interface LuaProps { lua: LuaDoc[] } export default function Lua(props: LuaProps) { return (

Lua API

{props.lua.map((cs) => (
{cs.name}
))}
) } export async function getStaticProps() { const lua = getLua() return { props: { lua } } }