fix(create-docusaurus): Improve init templates blog setup + fix warnings (#10392)

This commit is contained in:
Sébastien Lorber 2024-08-12 15:59:03 +02:00 committed by GitHub
parent 471f0d4333
commit 547979a59f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 35 additions and 17 deletions

View file

@ -56,6 +56,10 @@ const config = {
// Remove this to remove the "edit this page" links.
editUrl:
'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
// Useful options to enforce blogging best practices
onInlineTags: 'warn',
onInlineAuthors: 'warn',
onUntruncatedBlogPosts: 'warn',
},
theme: {
customCss: './src/css/custom.css',