@dogsbay/format-mkdocs 0.2.0-beta.137 → 0.2.0-beta.139
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/export/to-astro.js +2 -2
- package/package.json +5 -5
package/dist/export/to-astro.js
CHANGED
|
@@ -417,8 +417,8 @@ function tabsToAstro(node, ctx) {
|
|
|
417
417
|
if (tabs.length === 0)
|
|
418
418
|
return "";
|
|
419
419
|
const tabItems = tabs.map((tab, i) => {
|
|
420
|
-
const value = tab.props?.value || tab.props?.label || `tab-${i}`;
|
|
421
|
-
const label = tab.props?.label || tab.props?.value || `Tab ${i + 1}`;
|
|
420
|
+
const value = tab.props?.value || tab.props?.label || tab.props?.title || `tab-${i}`;
|
|
421
|
+
const label = tab.props?.label || tab.props?.title || tab.props?.value || `Tab ${i + 1}`;
|
|
422
422
|
return { value, label, node: tab };
|
|
423
423
|
});
|
|
424
424
|
const defaultValue = tabItems[0].value;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dogsbay/format-mkdocs",
|
|
3
|
-
"version": "0.2.0-beta.
|
|
3
|
+
"version": "0.2.0-beta.139",
|
|
4
4
|
"description": "MkDocs format plugin for Dogsbay — import/export MkDocs projects via TreeNode[]",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -46,10 +46,10 @@
|
|
|
46
46
|
"markdown-it-deflist": "^3.0.1",
|
|
47
47
|
"nunjucks": "^3.2.4",
|
|
48
48
|
"yaml": "^2.9.0",
|
|
49
|
-
"@dogsbay/autodoc-python": "0.2.0-beta.
|
|
50
|
-
"@dogsbay/
|
|
51
|
-
"@dogsbay/
|
|
52
|
-
"@dogsbay/
|
|
49
|
+
"@dogsbay/autodoc-python": "0.2.0-beta.139",
|
|
50
|
+
"@dogsbay/serialize-core": "0.2.0-beta.139",
|
|
51
|
+
"@dogsbay/types": "0.2.0-beta.139",
|
|
52
|
+
"@dogsbay/format-dogsbay-md": "0.2.0-beta.139"
|
|
53
53
|
},
|
|
54
54
|
"repository": {
|
|
55
55
|
"type": "git",
|