@grafana/plugin-docs-cli 0.0.10 → 0.0.11-canary.2611.25322408244.0
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/dist/server/server.js +4 -1
- package/package.json +3 -3
package/dist/server/server.js
CHANGED
|
@@ -108,7 +108,10 @@ async function startServer(options) {
|
|
|
108
108
|
res.status(404).send("File content not found");
|
|
109
109
|
return;
|
|
110
110
|
}
|
|
111
|
-
const parsed = parseMarkdown(fileContent
|
|
111
|
+
const parsed = parseMarkdown(fileContent, {
|
|
112
|
+
assetBaseUrl: "/",
|
|
113
|
+
file: page.file
|
|
114
|
+
});
|
|
112
115
|
const title = page.title || slug;
|
|
113
116
|
res.render("docs-layout", {
|
|
114
117
|
title,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@grafana/plugin-docs-cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.11-canary.2611.25322408244.0",
|
|
4
4
|
"description": "CLI tool for developing, validating and previewing Grafana plugin documentation locally.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": "./dist/bin/run.js",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"node": ">=24"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@grafana/plugin-docs-parser": "
|
|
48
|
+
"@grafana/plugin-docs-parser": "0.0.5-canary.2611.25322408244.0",
|
|
49
49
|
"chokidar": "^5.0.0",
|
|
50
50
|
"debug": "^4.3.7",
|
|
51
51
|
"ejs": "^5.0.0",
|
|
@@ -64,5 +64,5 @@
|
|
|
64
64
|
"@types/supertest": "^7.0.0",
|
|
65
65
|
"supertest": "^7.0.0"
|
|
66
66
|
},
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "8d1a525dd6712cdfa70c3fad9f678a9f7e06bb0d"
|
|
68
68
|
}
|