import { siteConfig } from 'site/site.config.mjs'
// List of authors
import { authors as allAuthors } from 'config/authors.mjs'
import { docUpdates } from 'site/prebuild/doc-updates.mjs'
// Components
import { PageLink } from 'shared/components/link.mjs'
import { TimeAgo } from 'shared/components/timeago/index.mjs'
// Hooks
import { useTranslation } from 'next-i18next'
import { EditIcon } from 'shared/components/icons.mjs'
const PersonList = ({ list }) =>
list ? (
{list.map((id) => (
-
{allAuthors[id] ? (
) : (
{id}
)}
))}
) : null
const CreditsList = ({ updates, frontmatter, locale, t }) => (
{updates.a?.length > 0 ? (
-
{t('authors')}:
) : null}
{frontmatter.maintainers && frontmatter.maintainers.length > 0 ? (
-
{t('maintainers')}:
) : null}
{locale !== 'en' && (
-
{t('translators')}:
{t('learnMore')}
)}
-
{t('lastUpdated')}:
)
export const MdxMetaData = ({ frontmatter, locale, slug }) => {
const { t } = useTranslation('docs')
const updates = docUpdates[slug] || {}
frontmatter.maintainers = ['joostdecock']
locale = 'fr'
/*
* FIXME
*
* The link to the translator status pages on this page links to
* next.freesewing.org because this content is not available on the current
* freesewing.org.
*/
return (
)
}