mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-02 00:09:48 +02:00
fix(v2): use docusaurus v2 as peer dependency (#1319)
This commit is contained in:
parent
76596f0956
commit
b31d502684
11 changed files with 13 additions and 7 deletions
|
@ -25,8 +25,8 @@ const DEFAULT_OPTIONS = {
|
|||
routeBasePath: 'blog', // URL Route.
|
||||
include: ['*.md, *.mdx'], // Extensions to include.
|
||||
pageCount: 10, // How many entries per page.
|
||||
blogPageComponent: path.resolve(__dirname, './components/BlogPage'),
|
||||
blogPostComponent: path.resolve(__dirname, './components/BlogPost'),
|
||||
blogPageComponent: '@theme/BlogPage',
|
||||
blogPostComponent: '@theme/BlogPost',
|
||||
};
|
||||
|
||||
const TRUNCATE_MARKER = /<!--\s*truncate\s*-->/;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue