@docusaurus/plugin-content-pages 0.0.0-5913 → 0.0.0-5917
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/content.d.ts +1 -0
- package/lib/frontMatter.d.ts +1 -0
- package/lib/index.d.ts +1 -0
- package/lib/options.d.ts +1 -0
- package/lib/options.js +3 -3
- package/lib/routes.d.ts +1 -0
- package/package.json +7 -7
package/lib/content.d.ts
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
+
/// <reference path="../src/plugin-content-pages.d.ts" />
|
|
7
8
|
import type { LoadContext } from '@docusaurus/types';
|
|
8
9
|
import type { PagesContentPaths } from './types';
|
|
9
10
|
import type { PluginOptions, LoadedContent } from '@docusaurus/plugin-content-pages';
|
package/lib/frontMatter.d.ts
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
+
/// <reference path="../src/plugin-content-pages.d.ts" />
|
|
7
8
|
import type { PageFrontMatter } from '@docusaurus/plugin-content-pages';
|
|
8
9
|
export declare function validatePageFrontMatter(frontMatter: {
|
|
9
10
|
[key: string]: unknown;
|
package/lib/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
+
/// <reference path="../src/plugin-content-pages.d.ts" />
|
|
7
8
|
import type { LoadContext, Plugin } from '@docusaurus/types';
|
|
8
9
|
import type { PluginOptions, LoadedContent } from '@docusaurus/plugin-content-pages';
|
|
9
10
|
export default function pluginContentPages(context: LoadContext, options: PluginOptions): Plugin<LoadedContent | null>;
|
package/lib/options.d.ts
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
+
/// <reference path="../src/plugin-content-pages.d.ts" />
|
|
7
8
|
import type { OptionValidationContext } from '@docusaurus/types';
|
|
8
9
|
import type { PluginOptions, Options } from '@docusaurus/plugin-content-pages';
|
|
9
10
|
export declare const DEFAULT_OPTIONS: PluginOptions;
|
package/lib/options.js
CHANGED
|
@@ -10,9 +10,9 @@ exports.validateOptions = exports.DEFAULT_OPTIONS = void 0;
|
|
|
10
10
|
const utils_validation_1 = require("@docusaurus/utils-validation");
|
|
11
11
|
const utils_1 = require("@docusaurus/utils");
|
|
12
12
|
exports.DEFAULT_OPTIONS = {
|
|
13
|
-
path: 'src/pages',
|
|
14
|
-
routeBasePath: '/',
|
|
15
|
-
include: ['**/*.{js,jsx,ts,tsx,md,mdx}'],
|
|
13
|
+
path: 'src/pages', // Path to data on filesystem, relative to site dir.
|
|
14
|
+
routeBasePath: '/', // URL Route.
|
|
15
|
+
include: ['**/*.{js,jsx,ts,tsx,md,mdx}'], // Extensions to include.
|
|
16
16
|
exclude: utils_1.GlobExcludeDefault,
|
|
17
17
|
mdxPageComponent: '@theme/MDXPage',
|
|
18
18
|
remarkPlugins: [],
|
package/lib/routes.d.ts
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
+
/// <reference path="../src/plugin-content-pages.d.ts" />
|
|
7
8
|
import type { PluginContentLoadedActions, RouteConfig } from '@docusaurus/types';
|
|
8
9
|
import type { PluginOptions, LoadedContent } from '@docusaurus/plugin-content-pages';
|
|
9
10
|
type CreateAllRoutesParam = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docusaurus/plugin-content-pages",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-5917",
|
|
4
4
|
"description": "Pages plugin for Docusaurus.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "src/plugin-content-pages.d.ts",
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
},
|
|
19
19
|
"license": "MIT",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@docusaurus/core": "0.0.0-
|
|
22
|
-
"@docusaurus/mdx-loader": "0.0.0-
|
|
23
|
-
"@docusaurus/types": "0.0.0-
|
|
24
|
-
"@docusaurus/utils": "0.0.0-
|
|
25
|
-
"@docusaurus/utils-validation": "0.0.0-
|
|
21
|
+
"@docusaurus/core": "0.0.0-5917",
|
|
22
|
+
"@docusaurus/mdx-loader": "0.0.0-5917",
|
|
23
|
+
"@docusaurus/types": "0.0.0-5917",
|
|
24
|
+
"@docusaurus/utils": "0.0.0-5917",
|
|
25
|
+
"@docusaurus/utils-validation": "0.0.0-5917",
|
|
26
26
|
"fs-extra": "^11.1.1",
|
|
27
27
|
"tslib": "^2.6.0",
|
|
28
28
|
"webpack": "^5.88.1"
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
"engines": {
|
|
35
35
|
"node": ">=18.0"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "01a12610bcb9050a1e58d83fa4944b2ab2bca69f"
|
|
38
38
|
}
|