@diplodoc/cli 4.34.1 → 4.34.2

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/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "author": "Yandex Data UI Team <data-ui@yandex-team.ru>",
4
4
  "description": "Make documentation using yfm-docs in Markdown and HTML formats",
5
5
  "license": "MIT",
6
- "version": "4.34.1",
6
+ "version": "4.34.2",
7
7
  "repository": {
8
8
  "type": "git",
9
9
  "url": "git@github.com:diplodoc-platform/cli.git"
@@ -42,9 +42,11 @@ export const enrichWithFrontMatter = async ({
42
42
  metadataVars,
43
43
  systemVars: addSystemMeta ? systemVars : undefined,
44
44
  additionalMetadata: {
45
- vcsPath: shouldAlwaysAddVCSPath
46
- ? resolveVCSPath(metadata, pathData.pathToFile)
47
- : undefined,
45
+ vcsPath:
46
+ metadata.vcsPath ??
47
+ (shouldAlwaysAddVCSPath
48
+ ? resolveVCSPath(metadata, pathData.pathToFile)
49
+ : undefined),
48
50
  ...vcsFrontMatter,
49
51
  },
50
52
  });