@openpkg-ts/doc-generator 0.6.0 → 0.6.1
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/react-styled.js +9 -1
- package/package.json +1 -1
package/dist/react-styled.js
CHANGED
|
@@ -22667,6 +22667,14 @@ var KIND_LABELS = {
|
|
|
22667
22667
|
enum: "Enums",
|
|
22668
22668
|
variable: "Variables"
|
|
22669
22669
|
};
|
|
22670
|
+
var KIND_SLUGS = {
|
|
22671
|
+
function: "functions",
|
|
22672
|
+
class: "classes",
|
|
22673
|
+
interface: "interfaces",
|
|
22674
|
+
type: "types",
|
|
22675
|
+
enum: "enums",
|
|
22676
|
+
variable: "variables"
|
|
22677
|
+
};
|
|
22670
22678
|
function groupByKind(exports) {
|
|
22671
22679
|
const groups = new Map;
|
|
22672
22680
|
for (const exp of exports) {
|
|
@@ -22780,7 +22788,7 @@ function ExportIndexPage({
|
|
|
22780
22788
|
children: group.exports.map((exp) => /* @__PURE__ */ jsx13(ExportCard, {
|
|
22781
22789
|
name: exp.name,
|
|
22782
22790
|
description: exp.description,
|
|
22783
|
-
href: `${baseHref}/${group.kind}
|
|
22791
|
+
href: `${baseHref}/${KIND_SLUGS[group.kind]}/${exp.id}`,
|
|
22784
22792
|
kind: exp.kind
|
|
22785
22793
|
}, exp.id))
|
|
22786
22794
|
})
|