mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-23 11:38:48 +02:00
Merge branch 'main' into ozaki/showcase
This commit is contained in:
commit
1fb54b6c28
39 changed files with 3101 additions and 2195 deletions
|
@ -470,6 +470,14 @@ export default async function createConfigAsync() {
|
|||
} satisfies BlogOptions,
|
||||
pages: {
|
||||
remarkPlugins: [npm2yarn],
|
||||
editUrl: ({locale, pagesPath}) => {
|
||||
if (locale !== defaultLocale) {
|
||||
return `https://crowdin.com/project/docusaurus-v2/${locale}`;
|
||||
}
|
||||
return `https://github.com/facebook/docusaurus/edit/main/website/src/pages/${pagesPath}`;
|
||||
},
|
||||
showLastUpdateAuthor: true,
|
||||
showLastUpdateTime: true,
|
||||
} satisfies PageOptions,
|
||||
theme: {
|
||||
customCss: [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue