mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-10 15:47:23 +02:00
fix(v2): errornous default include in blog plugin
This commit is contained in:
parent
f0ff211c94
commit
6fd9253328
3 changed files with 3 additions and 4 deletions
|
@ -21,9 +21,9 @@ function fileToUrl(fileName) {
|
||||||
const DEFAULT_OPTIONS = {
|
const DEFAULT_OPTIONS = {
|
||||||
metadataKey: 'blogMetadata',
|
metadataKey: 'blogMetadata',
|
||||||
metadataFileName: 'blogMetadata.json',
|
metadataFileName: 'blogMetadata.json',
|
||||||
path: 'blog', // Path to data on filesystem.
|
path: 'blog', // Path to data on filesystem, relative to site dir.
|
||||||
routeBasePath: 'blog', // URL Route.
|
routeBasePath: 'blog', // URL Route.
|
||||||
include: ['*.md, *.mdx'], // Extensions to include.
|
include: ['*.md', '*.mdx'], // Extensions to include.
|
||||||
pageCount: 10, // How many entries per page.
|
pageCount: 10, // How many entries per page.
|
||||||
blogPageComponent: '@theme/BlogPage',
|
blogPageComponent: '@theme/BlogPage',
|
||||||
blogPostComponent: '@theme/BlogPost',
|
blogPostComponent: '@theme/BlogPost',
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "@docusaurus/plugin-content-blog",
|
"name": "@docusaurus/plugin-content-blog",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "Blog content plugin for Docusaurus",
|
"description": "Blog plugin for Docusaurus",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -33,7 +33,6 @@ module.exports = {
|
||||||
{
|
{
|
||||||
name: '@docusaurus/plugin-content-blog',
|
name: '@docusaurus/plugin-content-blog',
|
||||||
options: {
|
options: {
|
||||||
include: ['*.md', '*.mdx'],
|
|
||||||
path: '../website-1.x/blog',
|
path: '../website-1.x/blog',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue