import React from "react"
import { useRouter } from "next/router"
import type { DocsThemeConfig } from "nextra-theme-docs"
const config: DocsThemeConfig = {
docsRepositoryBase: "https://github.com/lune-org/docs/blob/main",
useNextSeoProps() {
const { asPath } = useRouter()
if (asPath !== "/") {
return {
titleTemplate: "%s – Lune",
}
}
},
project: {
link: "https://github.com/filiptibell/lune",
},
footer: {
text: (
MPL-2.0 {new Date().getFullYear()} ©{" "}
Lune
),
},
logo: (
<>
>
),
}
export default config