xml-links

This commit is contained in:
gilesb 2023-11-22 21:35:44 +00:00
parent 23b97a1322
commit 3d19717b2f
1 changed files with 29 additions and 19 deletions

View File

@ -28654,6 +28654,9 @@ var _default = exports["default"] = function _default() {
},
touch: function touch() {
return _touch(elements);
},
xml: function xml() {
return 'what the!!';
}
}] : []), _toConsumableArray(get({
elements: elements
@ -29027,12 +29030,12 @@ Object.defineProperty(exports, "CO", ({
return _global["default"];
}
}));
__webpack_unused_export__ = ({
Object.defineProperty(exports, "V9", ({
enumerable: true,
get: function get() {
return _objects.make;
}
});
}));
__webpack_unused_export__ = ({
enumerable: true,
get: function get() {
@ -30082,8 +30085,6 @@ const findDisplay = (line, link) => {
);
});
// EXTERNAL MODULE: ../../packages/ft-view-fields/build/index.js
var ft_view_fields_build = __nccwpck_require__(3204);
;// CONCATENATED MODULE: ./src/document/globals/objects/parameters.js
@ -30284,6 +30285,7 @@ var ft_view_fields_build = __nccwpck_require__(3204);
/* harmony default export */ const objects = (async ({
fileName,
dir,
myObjectFields,
myGlobalFields,
myDisplayFields,
global,
@ -30321,7 +30323,7 @@ var ft_view_fields_build = __nccwpck_require__(3204);
return external_fs_.promises.appendFile(
fileName,
`\n[xml](${'../'.repeat(fileName.split('/').length)}${global.file}#L${l + 1})\n`,
).then(l + 1);
).then(() => l + 1);
},
)
.then(
@ -30338,7 +30340,7 @@ var ft_view_fields_build = __nccwpck_require__(3204);
)
.then(
() => animated({
file: object.file,
file: global.file,
line: l,
fileName: `${dir}/${object.id}.md`,
object,
@ -30364,18 +30366,14 @@ var ft_view_fields_build = __nccwpck_require__(3204);
/* harmony default export */ const document_globals = (async ({
root,
displays,
globals,
myDisplayFields,
myGlobalFields,
myObjectFields,
}) => {
const myGlobalFields = (0,ft_view_fields_build/* global */.CO)({
displays,
globals,
});
await mkdir_if_new(`${root}/globals`);
await external_fs_.promises.appendFile(
`${root}/globals/README.md`,
@ -30383,7 +30381,6 @@ var ft_view_fields_build = __nccwpck_require__(3204);
);
await Promise.all(
globals.map(async (global) => {
console.log(global.file);
await external_fs_.promises.appendFile(
`${root}/globals/README.md`,
`* [${global.name}](./${global.name})\n`,
@ -30402,6 +30399,7 @@ var ft_view_fields_build = __nccwpck_require__(3204);
global,
myGlobalFields,
myDisplayFields,
myObjectFields,
displays,
});
await external_fs_.promises.appendFile(
@ -30412,6 +30410,8 @@ var ft_view_fields_build = __nccwpck_require__(3204);
);
});
// EXTERNAL MODULE: ../../packages/ft-view-fields/build/index.js
var ft_view_fields_build = __nccwpck_require__(3204);
;// CONCATENATED MODULE: ./src/document/index.js
@ -30429,6 +30429,14 @@ var ft_view_fields_build = __nccwpck_require__(3204);
displays,
globals,
});
const myGlobalFields = (0,ft_view_fields_build/* global */.CO)({
displays,
globals,
});
const myObjectFields = (0,ft_view_fields_build/* makeObject */.V9)({
displays,
globals,
});
await mkdir_if_new(root);
await remove_dir(root);
await external_fs_.promises.appendFile(
@ -30443,18 +30451,20 @@ var ft_view_fields_build = __nccwpck_require__(3204);
`${root}/README.md`,
'* [globals](globals)\n',
);
await document_globals({
root,
myDisplayFields,
myGlobalFields,
myObjectFields,
displays,
globals,
});
await document_displays({
root,
displays,
globals,
myDisplayFields,
});
await document_globals({
root,
myDisplayFields,
displays,
globals,
});
return {
displays,
globals,