import React from 'react' import { DocsThemeConfig } from 'nextra-theme-docs' import { useConfig } from 'nextra-theme-docs' const config: DocsThemeConfig = { logo: ( <> Prompt Engineering Guide ), i18n: [ { locale: 'en', text: 'English' }, { locale: 'zh', text: '中文' }, { locale: 'jp', text: '日本語'}, { locale: 'pt', text: 'Português' }, ], head: function UseHead() { const { title } = useConfig() return ( <> {title ? title + ' | Prompt Engineering Guide': 'Prompt Engineering Guide'} )}, project: { link: 'https://github.com/dair-ai/Prompt-Engineering-Guide', }, chat: { link: 'https://discord.gg/SKgkVT8BGJ', }, docsRepositoryBase: 'https://github.com/dair-ai/Prompt-Engineering-Guide/tree/main/', footer: { text: 'Copyright © 2023 DAIR.AI', }, } export default config