@docusaurus/plugin-content-blog 3.10.1-canary-6591 → 3.10.1-canary-6596
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/assets/atom.css +7 -1
- package/assets/rss.css +7 -1
- package/lib/feed.js +2 -2
- package/package.json +10 -10
- package/src/feed.ts +2 -2
package/assets/atom.css
CHANGED
|
@@ -11,7 +11,13 @@ main {
|
|
|
11
11
|
margin: 2rem auto;
|
|
12
12
|
max-width: 800px;
|
|
13
13
|
/* stylelint-disable-next-line font-family-name-quotes */
|
|
14
|
-
font-family:
|
|
14
|
+
font-family:
|
|
15
|
+
system-ui,
|
|
16
|
+
-apple-system,
|
|
17
|
+
Segoe UI,
|
|
18
|
+
Roboto,
|
|
19
|
+
Ubuntu,
|
|
20
|
+
Cantarell;
|
|
15
21
|
}
|
|
16
22
|
|
|
17
23
|
.info {
|
package/assets/rss.css
CHANGED
|
@@ -11,7 +11,13 @@ main {
|
|
|
11
11
|
margin: 2rem auto;
|
|
12
12
|
max-width: 800px;
|
|
13
13
|
/* stylelint-disable-next-line font-family-name-quotes */
|
|
14
|
-
font-family:
|
|
14
|
+
font-family:
|
|
15
|
+
system-ui,
|
|
16
|
+
-apple-system,
|
|
17
|
+
Segoe UI,
|
|
18
|
+
Roboto,
|
|
19
|
+
Ubuntu,
|
|
20
|
+
Cantarell;
|
|
15
21
|
}
|
|
16
22
|
|
|
17
23
|
.info {
|
package/lib/feed.js
CHANGED
|
@@ -109,8 +109,8 @@ async function defaultCreateFeedItems({ blogPosts, siteConfig, outDir, }) {
|
|
|
109
109
|
async function resolveXsltFilePaths({ xsltFilePath, contentPaths, }) {
|
|
110
110
|
const xsltAbsolutePath = path_1.default.isAbsolute(xsltFilePath)
|
|
111
111
|
? xsltFilePath
|
|
112
|
-
: (await (0, utils_1.getDataFilePath)({ filePath: xsltFilePath, contentPaths })) ??
|
|
113
|
-
path_1.default.resolve(contentPaths.contentPath, xsltFilePath);
|
|
112
|
+
: ((await (0, utils_1.getDataFilePath)({ filePath: xsltFilePath, contentPaths })) ??
|
|
113
|
+
path_1.default.resolve(contentPaths.contentPath, xsltFilePath));
|
|
114
114
|
if (!(await fs_extra_1.default.pathExists(xsltAbsolutePath))) {
|
|
115
115
|
throw new Error(logger_1.default.interpolate `Blog feed XSLT file not found at path=${path_1.default.relative(process.cwd(), xsltAbsolutePath)}`);
|
|
116
116
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docusaurus/plugin-content-blog",
|
|
3
|
-
"version": "3.10.1-canary-
|
|
3
|
+
"version": "3.10.1-canary-6596",
|
|
4
4
|
"description": "Blog plugin for Docusaurus.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "src/plugin-content-blog.d.ts",
|
|
@@ -31,14 +31,14 @@
|
|
|
31
31
|
},
|
|
32
32
|
"license": "MIT",
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@docusaurus/core": "3.10.1-canary-
|
|
35
|
-
"@docusaurus/logger": "3.10.1-canary-
|
|
36
|
-
"@docusaurus/mdx-loader": "3.10.1-canary-
|
|
37
|
-
"@docusaurus/theme-common": "3.10.1-canary-
|
|
38
|
-
"@docusaurus/types": "3.10.1-canary-
|
|
39
|
-
"@docusaurus/utils": "3.10.1-canary-
|
|
40
|
-
"@docusaurus/utils-common": "3.10.1-canary-
|
|
41
|
-
"@docusaurus/utils-validation": "3.10.1-canary-
|
|
34
|
+
"@docusaurus/core": "3.10.1-canary-6596",
|
|
35
|
+
"@docusaurus/logger": "3.10.1-canary-6596",
|
|
36
|
+
"@docusaurus/mdx-loader": "3.10.1-canary-6596",
|
|
37
|
+
"@docusaurus/theme-common": "3.10.1-canary-6596",
|
|
38
|
+
"@docusaurus/types": "3.10.1-canary-6596",
|
|
39
|
+
"@docusaurus/utils": "3.10.1-canary-6596",
|
|
40
|
+
"@docusaurus/utils-common": "3.10.1-canary-6596",
|
|
41
|
+
"@docusaurus/utils-validation": "3.10.1-canary-6596",
|
|
42
42
|
"cheerio": "^1.2.0",
|
|
43
43
|
"combine-promises": "^1.1.0",
|
|
44
44
|
"feed": "^4.2.2",
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"@total-typescript/shoehorn": "^0.1.2",
|
|
64
64
|
"tree-node-cli": "^1.6.0"
|
|
65
65
|
},
|
|
66
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "b2bc2c7547fd5a3e58c3275da7cbdeeaaccaa94a"
|
|
67
67
|
}
|
package/src/feed.ts
CHANGED
|
@@ -196,8 +196,8 @@ async function resolveXsltFilePaths({
|
|
|
196
196
|
}) {
|
|
197
197
|
const xsltAbsolutePath: string = path.isAbsolute(xsltFilePath)
|
|
198
198
|
? xsltFilePath
|
|
199
|
-
: (await getDataFilePath({filePath: xsltFilePath, contentPaths})) ??
|
|
200
|
-
path.resolve(contentPaths.contentPath, xsltFilePath);
|
|
199
|
+
: ((await getDataFilePath({filePath: xsltFilePath, contentPaths})) ??
|
|
200
|
+
path.resolve(contentPaths.contentPath, xsltFilePath));
|
|
201
201
|
|
|
202
202
|
if (!(await fs.pathExists(xsltAbsolutePath))) {
|
|
203
203
|
throw new Error(
|